deathsec / instagram-py

MIT License
323 stars 113 forks source link

Unable to send request to instagram #30

Open analjesus opened 4 years ago

analjesus commented 4 years ago

Select your issue type: (check at least one)

fatal error:: unable to send request to instagram :: SOCKSHTTPSConnectionPool(host='i.instagram.com', port=443): Max retries exceeded with url: /api/v1/accounts/login/ (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSHTTPSConnection object at 0x7fdf41aa9ad0>: Failed to establish a new connection: Connection closed unexpectedly'))

Occurs consistently after around 100 tries

I am sure this would be an easy fix, just need to know where to look in the script.

amori-angel commented 1 year ago

I have the same problem. Is there a solution to fix it?

amori-angel commented 1 year ago

Started @ 2022-11-27 22:02:51.625003 fatal error:: SOCKSHTTPSConnectionPool(host='i.instagram.com', port=443): Max retries exceeded with url: /api/v1/si/fetch_headers/?challenge_type=signup&guid=33f34ae418af4835b7c8dd858e064937 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSHTTPSConnection object at 0xb592b490>: Failed to establish a new connection: [Errno -2] Name or service not known'))