Connection Timeout Error on run.py Script when Executing Task File
I encountered a timeout error when running the run.py script with the task1.json file. The script attempts to connect to a local server (IP 20.20.20.21, port 5000), but it fails to establish the connection, resulting in the following error:
$ python3 run.py --task-file task1.json Waiting for the server to start... Failed to get hello: HTTPConnectionPool(host='20.20.20.21', port=5000): Max retries exceeded with url: /probe (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fcf4c41c5e0>, 'Connection to 20.20.20.21 timed out. (connect timeout=7)')) Retrying...
I tried waiting and retrying the process, but the issue persists. I would appreciate any assistance in understanding possible causes and recommended solutions for this timeout error.
Kind Regards.
Please open the browser with http://localhost:8006/ to connect to Windows and check whether the server console is correctly started.
I have met this kind of problems. have you solved this problem?thanks
I think that one possible reason for this kind of phenomenon is that you have executed your run.py in your local environment instead of your docker containers, you can try "ping 20.20.20.21" in your terminal where you execute the run.py and see what happens. if you enter the container where the vm works,and "ping 20.20.20.21",you can find that this ipv4 address is accessible.