Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='host.docker.internal', port=38950): Max retries exceeded with url: /alive (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7300d8787f80>, 'Connection to host.docker.internal timed out. (connect timeout=None)')) #105

Open
kevin-support-bot bot opened this issue Nov 25, 2024 · 2 comments

Comments

@kevin-support-bot
Copy link

All-Hands-AI#5249 Issue


@AbuOmair1012 Is there any error mentioned in the docker container logs?

@AbuOmair1012
Copy link

All-Hands-AI#5249 Issue

@AbuOmair1012 Is there any error mentioned in the docker container logs?

Hi Kevin I am pasting my log

~$ sudo docker logs -f --until=2s openhands-runtime-6e2f4fcc-74a6-4077-b14b-ead18a531999
INFO: Started server process [8]
INFO: Waiting for application startup.
su - root -s /bin/bash << 'EOF'
sudo chown -R root:root /openhands/.openvscode-server
cd /workspace
exec /openhands/.openvscode-server/bin/openvscode-server --host 0.0.0.0 --connection-token 0e1e04d7-3c9a-4a07-98a8-7fc1d5228981 --port 36150
EOF
[I 2024-11-25 06:34:50.113 KernelGatewayApp] Writing Jupyter server cookie secret to /root/.local/share/jupyter/runtime/jupyter_cookie_secret
[I 2024-11-25 06:34:50.117 KernelGatewayApp] Jupyter Kernel Gateway 3.0.1 is available at http://0.0.0.0:46168
[I 2024-11-25 06:34:52.736 KernelGatewayApp] Kernel started: 557082c7-475a-47e5-8b82-db9ffdf53ff3
[I 241125 06:34:52 web:2348] 201 POST /api/kernels (127.0.0.1) 2452.62ms
[W 2024-11-25 06:34:52.744 KernelGatewayApp] No session ID specified
[I 241125 06:34:53 web:2348] 101 GET /api/kernels/557082c7-475a-47e5-8b82-db9ffdf53ff3/channels (127.0.0.1) 1027.79ms
[I 2024-11-25 06:34:53.770 KernelGatewayApp] Connecting to kernel 557082c7-475a-47e5-8b82-db9ffdf53ff3.
Server bound to 0.0.0.0:36150 (IPv4)
Extension host agent listening on 36150

[06:34:54]

Web UI available at http://localhost:36150?tkn=0e1e04d7-3c9a-4a07-98a8-7fc1d5228981
[06:34:54] Extension host agent started.
[06:34:54] Started initializing default profile extensions in extensions installation folder. file:///root/.openvscode-server/extensions
[06:34:54] Completed initializing default profile extensions in extensions installation folder. file:///root/.openvscode-server/extensions
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:36149 (Press CTRL+C to quit)

@SmartManoj
Copy link
Owner

SmartManoj commented Nov 25, 2024

Is http://localhost:36149/ accessible in your browser?

Could you add -e SANDBOX_USE_HOST_NETWORK=true \ to the docker command and check if it works again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants