Python Forum
Python error on pythonanywhere
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python error on pythonanywhere
#1
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
Reply


Messages In This Thread
Python error on pythonanywhere - by lukee - Sep-21-2020, 02:13 PM
RE: Python error on pythonanywhere - by buran - Sep-21-2020, 02:19 PM
RE: Python error on pythonanywhere - by lukee - Sep-21-2020, 02:25 PM
RE: Python error on pythonanywhere - by mlieqo - Sep-21-2020, 06:48 PM
RE: Python error on pythonanywhere - by lukee - Sep-21-2020, 07:22 PM
RE: Python error on pythonanywhere - by lukee - Sep-22-2020, 02:00 AM
RE: Python error on pythonanywhere - by buran - Sep-22-2020, 05:28 AM
RE: Python error on pythonanywhere - by lukee - Sep-23-2020, 01:37 AM
RE: Python error on pythonanywhere - by lukee - Sep-27-2020, 11:10 PM
RE: Python error on pythonanywhere - by lukee - Sep-29-2020, 11:00 PM
RE: Python error on pythonanywhere - by lukee - Oct-01-2020, 06:15 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020