WindowsAgentArena icon indicating copy to clipboard operation
WindowsAgentArena copied to clipboard

Connection Timeout Error on run.py Script when Executing Task File

Open eneflorian1 opened this issue 1 year ago • 3 comments

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.

eneflorian1 avatar Nov 02 '24 17:11 eneflorian1

Please open the browser with http://localhost:8006/ to connect to Windows and check whether the server console is correctly started.

rhmsd avatar Nov 06 '24 16:11 rhmsd

I have met this kind of problems. have you solved this problem?thanks

zqpresent avatar Apr 28 '25 09:04 zqpresent

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.

zqpresent avatar Apr 29 '25 04:04 zqpresent