Sep-21-2020, 02:13 PM
Hello,
so I have this error on deployment, I don't know if it's due to the constraints of my deployment server (pythonanywhere) or if it's related to something else.
My code works locally, but when I put it in my distant server and run it, it fails with a ClientConnectionError "Cannot connect to host [api_host]:443 ssl:default [Connect call failed ('api_ip', 443)]" where api_host/api_ip of another distant host I'm trying to contact with my code.
The exception is thrown from .local/lib/python3.8/site-packages/aiohttp/connector.py in _wrap_create_connection, line 943.
Is this a limitation of pythonanywhere regarding concurrent network calls ? (it works without the concurrent version). Or a python version problem ? Or something else ?
Please help me figuring out what's wrong,
Thx
so I have this error on deployment, I don't know if it's due to the constraints of my deployment server (pythonanywhere) or if it's related to something else.
My code works locally, but when I put it in my distant server and run it, it fails with a ClientConnectionError "Cannot connect to host [api_host]:443 ssl:default [Connect call failed ('api_ip', 443)]" where api_host/api_ip of another distant host I'm trying to contact with my code.
The exception is thrown from .local/lib/python3.8/site-packages/aiohttp/connector.py in _wrap_create_connection, line 943.
Is this a limitation of pythonanywhere regarding concurrent network calls ? (it works without the concurrent version). Or a python version problem ? Or something else ?
Please help me figuring out what's wrong,
Thx