aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host stackoverflow.com:443 ssl:default [Connect call failed (‘151.101.193.69’, 443)]
first solution Referring to the help from the forum, I added trust_env = True when creating the client and now everything works. Explanation: Free accounts on PythonAnywhere must use a proxy to connect to the public internet, but aiohttp, by default, does not connect to a proxy accessible from an environment variable. Link to aiohttp … Read more