Hi guys, I've got this error while running my python aiogram script on PythonAnywhere bash:
TelegramNetworkError: HTTP Client says - ClientConnectorError: Cannot connect to host api.telegram.org:443 ssl:default [None]
OSError: Multiple exceptions: [Errno 101] Network is unreachable, [Errno 111] Connect call failed ('***.***.***.****', 443)
It seems like there's a connection problem.
I reached out to this webpage:
https://help.pythonanywhere.com/pages/403ForbiddenError/
So following the instructions, I made sure that "api.telegram.org" indeed shows up in the allowlist.
The question I might ask, since aiogram relies on aiohttp, is whether I should manually configure in the python script to use the proxy?
import os
os.environ['HTTPS_PROXY'] = 'http://proxy.server:3128'
Or could it be a problem of lack of SSL support that only paid accounts have? Does using that proxy make my app less secure (since it bypasses the SSL issue?)
Thanks!