Error Exception When Requesting Helix

I noticed when running my Python code that it would randomly fail, usually after a couple hundred or even thousands of attempts. After letting it run all night I used a debugger to find I got the following exception:

HTTPSConnectionPool(host=‘api.twitch.tv’, port=443): Max retries exceeded with url: /helix/streams?user_login=scarra (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x05295DF0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed’))

I’m wondering if this was an outage on twitch’s part. If so I’ll just fix it with a try and except. If this is my fault somehow please let me know how to fix it!

That looks like a issue your side

No issues here.

There may be issues if you or your server reside in Germany, or Poland. Germany has issues quite often.

Also consider using Google DNS instead of whatever your server/ISP is providing

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.