简体   繁体   中英

(twitter) Authentication failure! timeout: Net::OpenTimeout, execution expired

So I have a ruby on rails app hosted on heroku thats uses the Twitter API to send out tweets. Lately the tweets havent been going out, Looking at my logs I see:

(twitter) Authentication failure! timeout: Net::OpenTimeout, execution expired

What is causing this? How can I fix it?

When I bring my dynos down to 0 and then back up to 1 , essentially restarting the app the error goes away. But I cant be doing this multiple times a day.

Twitter was blacklisting some AWS IPs which Heroku are using.

Heroku have been talking to Twitter about a way to resolve this and I understand this is now solved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM