Our trueAnthem Twitter application (https://dev.twitter.com/apps/5373544/show) running on a Digital Ocean VPS at IP address 220.127.116.11 began experiencing connection timeouts making Twitter API calls early this morning.
“Error:Get https://api.twitter.com/1.1/statuses/show.json?id=431451679406706688: dial tcp 18.104.22.168:443: connection timed out”
We can no longer ping Twitter IP addresses from this server but we can ping Facebook IP addresses.
PING facebook.com (22.214.171.124) 56(84) bytes of data.
64 bytes from edge-star-shv-13-frc1.facebook.com (126.96.36.199): icmp_req=1 ttl=84 time=22.2 ms
64 bytes from edge-star-shv-13-frc1.facebook.com (188.8.131.52): icmp_req=2 ttl=83 time=20.8 ms
64 bytes from edge-star-shv-13-frc1.facebook.com (184.108.40.206): icmp_req=3 ttl=84 time=24.2 ms
— facebook.com ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 20.854/22.475/24.287/1.408 ms
We have temporarily moved our application to Heroku and it is able to access the Twitter API without issue.
Our IP address, 220.127.116.11, appears to have been blacklisted by Twitter.
Why has this happened and what must we do to get our IP address un-blacklisted?