Stuck at Waiting for runtime to start...
I followed all the steps mentioned in development.md to set up the project. However, when I try to start the project It get stuck at (Waiting for runtime to start) no error in logs, Here the UI part
Logs: INFO: 127.0.0.1:49748 - "GET /locales/en/translation.json HTTP/1.1" 200 OK INFO: 127.0.0.1:49748 - "GET /api/options/config HTTP/1.1" 200 OK INFO: 127.0.0.1:49748 - "GET /api/options/config HTTP/1.1" 200 OK INFO: 127.0.0.1:49754 - "GET /api/conversations/4995db3f0a2649ecbf70a5379996756f HTTP/1.1" 200 OK INFO: ('127.0.0.1', 49760) - "WebSocket /socket.io/?latest_event_id=-1&conversation_id=4995db3f0a2649ecbf70a5379996756f&providers_set=&session_api_key=null&EIO=4&transport=websocket" [accepted] INFO: connection open INFO: 127.0.0.1:49754 - "GET /api/settings HTTP/1.1" 200 OK 07:52:43 - openhands:INFO: listen_socket.py:82 - sio:connect: z06ZxRxijYyZRYRrAAAF 07:52:43 - openhands:INFO: standalone_conversation_manager.py:123 - join_conversation:4995db3f0a2649ecbf70a5379996756f:z06ZxRxijYyZRYRrAAAF 07:52:43 - openhands:INFO: standalone_conversation_manager.py:249 - maybe_start_agent_loop:4995db3f0a2649ecbf70a5379996756f 07:52:43 - openhands:INFO: listen_socket.py:123 - Connected to conversation 4995db3f0a2649ecbf70a5379996756f with connection_id z06ZxRxijYyZRYRrAAAF. Replaying event stream... 07:52:43 - openhands:INFO: listen_socket.py:147 - Finished replaying event stream for conversation 4995db3f0a2649ecbf70a5379996756f INFO: 127.0.0.1:34972 - "GET /api/options/config HTTP/1.1" 200 OK INFO: 127.0.0.1:34986 - "GET /api/conversations/4995db3f0a2649ecbf70a5379996756f HTTP/1.1" 200 OK INFO: 127.0.0.1:34982 - "GET /api/settings HTTP/1.1" 200 OK
Are you running the latest main?
It is 2 commits behind the current main branch.
commit e208bffadeae6effc370f4015e21d17e8ab6b79a (HEAD -> main, origin/main, origin/HEAD) Author: Graham Neubig [email protected] Date: Wed May 28 18:40:57 2025 -0400
Fix localization issue with hardcoded English strings (#8736)
Co-authored-by: openhands <[email protected]>
I have faced the same issue with 0.39
Restarting of OpenHands fixes the issue. What I noticed is that Runtime wasn't running even after refreshing the page. Once OpenHands is restarted, it could create runtimes again.
@iSevenDays Hey thanks it worked for me!
I hit this issue a couple of times as well on 0.43 local setup (Ubuntu 24.04), but with a "Connection reset by peer" error eventually displayed on the terminal. Restarting didn't fix it immediately. I also started VS Code, then it worked on the next restart. Not sure if that's plausibly related given the sandbox architecture, or if I just got lucky.
met same issue with 0.49, restart openhands not work for me, how can I fix this
I hit the same issue with the lastest version(0.49) .
@zhong1221 and @Hustrookies are you able to open new issues with your information please? The OS you are running, how you are running OpenHands and any additional info will be helpful.