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]: Error Creating controller #224

Open
kevin-support-bot bot opened this issue Jan 21, 2025 · 7 comments
Open

[Bug]: Error Creating controller #224

kevin-support-bot bot opened this issue Jan 21, 2025 · 7 comments

Comments

@kevin-support-bot
Copy link

All-Hands-AI#6376 Issue


@adish021203, Is docker desktop running?

@adish021203
Copy link

yes docker desktop is running

@SmartManoj
Copy link
Owner

SmartManoj commented Jan 21, 2025

Would you provide the console log?

Is there any error mentioned in the docker openhands-runtime container logs?

@adish021203
Copy link

Image
Image
Image
Image
Image

@SmartManoj
Copy link
Owner

If you click the openhands-runtime container, it will show the logs.

@adish021203
Copy link

adish021203 commented Jan 21, 2025

2025-01-21 10:26:57 /openhands/poetry/openhands-ai-5O4_aCHf-py3.12/lib/python3.12/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2:
2025-01-21 10:26:57 * 'fields' has been removed
2025-01-21 10:26:57   warnings.warn(message, UserWarning)
2025-01-21 10:27:15 INFO:     Started server process [9]
2025-01-21 10:27:15 INFO:     Waiting for application startup.
2025-01-21 10:27:24 /openhands/poetry/openhands-ai-5O4_aCHf-py3.12/lib/python3.12/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2:
2025-01-21 10:27:24 * 'fields' has been removed
2025-01-21 10:27:24   warnings.warn(message, UserWarning)
2025-01-21 10:28:41 ERROR:    Traceback (most recent call last):
2025-01-21 10:28:41   File "/openhands/poetry/openhands-ai-5O4_aCHf-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 693, in lifespan
2025-01-21 10:28:41     async with self.lifespan_context(app) as maybe_state:
2025-01-21 10:28:11 su - root -s /bin/bash << 'EOF'
2025-01-21 10:28:11 sudo chown -R root:root /openhands/.openvscode-server
2025-01-21 10:28:11 cd /workspace
2025-01-21 10:28:11 exec /openhands/.openvscode-server/bin/openvscode-server --host 0.0.0.0 --connection-token 4232aa7b-950b-4e1d-816f-8191d30be845 --port 47736
2025-01-21 10:28:11 EOF
2025-01-21 10:28:28 [I 2025-01-21 04:58:28.806 KernelGatewayApp] Writing Jupyter server cookie secret to /root/.local/share/jupyter/runtime/jupyter_cookie_secret
2025-01-21 10:28:28 [I 2025-01-21 04:58:28.814 KernelGatewayApp] Jupyter Kernel Gateway 3.0.1 is available at http://0.0.0.0:46723
2025-01-21 10:28:35 [I 2025-01-21 04:58:35.428 KernelGatewayApp] Kernel started: eaf90568-079e-450a-b799-191297d58c11
2025-01-21 10:28:35 [I 250121 04:58:35 web:2348] 201 POST /api/kernels (127.0.0.1) 6067.98ms
2025-01-21 10:28:35 [W 2025-01-21 04:58:35.752 KernelGatewayApp] No session ID specified
2025-01-21 10:28:41                ^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-21 10:28:41   File "/openhands/micromamba/envs/openhands/lib/python3.12/contextlib.py", line 210, in __aenter__
2025-01-21 10:28:41     return await anext(self.gen)
2025-01-21 10:28:44 Server bound to 0.0.0.0:47736 (IPv4)
2025-01-21 10:28:44 Extension host agent listening on 47736
2025-01-21 10:28:44 
2025-01-21 10:28:45 [I 250121 04:58:45 web:2348] 101 GET /api/kernels/eaf90568-079e-450a-b799-191297d58c11/channels (127.0.0.1) 9298.98ms
2025-01-21 10:28:45 [I 2025-01-21 04:58:45.050 KernelGatewayApp] Connecting to kernel eaf90568-079e-450a-b799-191297d58c11.
2025-01-21 10:28:45 [04:58:45] 
2025-01-21 10:28:45 
2025-01-21 10:28:45 
2025-01-21 10:28:45 
2025-01-21 10:28:45 
2025-01-21 10:28:46 Web UI available at http://localhost:47736?tkn=4232aa7b-950b-4e1d-816f-8191d30be845
2025-01-21 10:28:46 [04:58:46] Extension host agent started.
2025-01-21 10:28:46 [04:58:46] Started initializing default profile extensions in extensions installation folder. file:///root/.openvscode-server/extensions
2025-01-21 10:28:46 [04:58:46] Completed initializing default profile extensions in extensions installation folder. file:///root/.openvscode-server/extensions
2025-01-21 10:29:02 [I 2025-01-21 04:59:02.879 KernelGatewayApp] Starting buffering for eaf90568-079e-450a-b799-191297d58c11:33e8cb26-31523e249fd0df706d10542d
2025-01-21 10:28:41            ^^^^^^^^^^^^^^^^^^^^^
2025-01-21 10:28:41   File "/openhands/code/openhands/runtime/action_execution_server.py", line 457, in lifespan
2025-01-21 10:28:41     await client.ainit()
2025-01-21 10:28:41   File "/openhands/code/openhands/runtime/action_execution_server.py", line 125, in ainit
2025-01-21 10:28:41     await wait_all(
2025-01-21 10:28:41   File "/openhands/code/openhands/utils/async_utils.py", line 77, in wait_all
2025-01-21 10:28:41     raise asyncio.TimeoutError()
2025-01-21 10:28:41 TimeoutError
2025-01-21 10:28:41 
2025-01-21 10:28:41 ERROR:    Application startup failed. Exiting.
2025-01-21 10:28:46 04:58:46 - openhands:ERROR: browser_env.py:188 - Browser process did not terminate, forcefully terminating...

@SmartManoj
Copy link
Owner

SmartManoj commented Jan 21, 2025

> 2025-01-21 10:28:46 [04:58:46] Completed initializing default profile extensions in extensions installation folder. file:///root/.openvscode-server/extensions
> 2025-01-21 10:29:02 [I 2025-01-21 04:59:02.879 KernelGatewayApp] Starting buffering for eaf90568-079e-450a-b799-191297d58c11:33e8cb26-31523e249fd0df706d10542d
> 2025-01-21 10:28:41            ^^^^^^^^^^^^^^^^^^^^^

Are the logs jumbled in Docker Desktop itself?

@SmartManoj
Copy link
Owner

Would you run using :main version and check if the issue is resolved?

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