Forums

HTTPSConnectionPool(host='api.telegram.org', port=443) - (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection w ithout response')))

HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /BOT API/getUpdates?offset=330247185&timeout=20 (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection w ithout response')))

Dear Moderators

Hello everyone I always have this crash info from my python code which is telegram bot i have 2 account in pythonanywhere.com, 1 with free plan, 2 with 5$ plan each month, i runned telegram bot in each account and some time later they crashed at the same time not only 1 or 2 times. this hapening all the time at first i though that something wrong with my code but i cheked a lot of times asked from chatgpt, i did everything, my codes were correct. i get this crash 1-5 or more times in a day.

Something wrong with Telegram org? or with pythonanywhere.com i could not understand

Thanks for your answer

It looks like you're using a proxy with a paid account -- is that correct? If so, what is the proxy?

I dont know what proxy is it and how to use proxy i just write codes and run

Here are the proxy detail https://help.pythonanywhere.com/pages/403ForbiddenError/#proxy-details