[BUG] ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 502 Bad Gateway') #722
Replies: 4 comments
-
This is another type of error that I observe |
Beta Was this translation helpful? Give feedback.
-
Is this happening because I am multi-threading and Instagrapi uses python requests. Is it like using something like asyncIO improves such issues. |
Beta Was this translation helpful? Give feedback.
-
@ItzmeSwapy your proxy provider says "Tunnel connection failed: 502 Bad Gateway", can you write your question to it? My provider works fine |
Beta Was this translation helpful? Give feedback.
-
Your proxy might not accept multiple connection at the same time |
Beta Was this translation helpful? Give feedback.
-
ProxyError HTTPSConnectionPool(host='i.instagram.com', port=443): Max retries exceeded with url: /api/v1/feed/timeline/ (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 502 Bad Gateway')))
Can you please elaborate what causes this issue. If it's proxy issue what exactly can I do to resolve this with my proxy provider as this issue arises only when multi-threading is done.
Beta Was this translation helpful? Give feedback.
All reactions