I tracked down the problem to the frontend making OpenHands server requests (e.g. /ws, /api/options/models) to localhost:3001 instead of localhost:3000.
The code for getting the OpenHands server (getValidFallbackHost) changed recently in https://github.com/All-Hands-AI/OpenHands/pull/4413/files, which also set up a proxy to forward these requests from localhost:3000 to localhost:3001. That forwarding doesn't seem to be working for me, though I don't know why (I'm not familiar with Vite configuration).
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
I tried following the development guide in https://github.com/All-Hands-AI/OpenHands/blob/main/Development.md but after the
make run
step and visiting http://localhost:3001 the app was unable to select a model or start tasks using the agent.I tracked down the problem to the frontend making OpenHands server requests (e.g.
/ws
,/api/options/models
) to localhost:3001 instead of localhost:3000.The code for getting the OpenHands server (getValidFallbackHost) changed recently in https://github.com/All-Hands-AI/OpenHands/pull/4413/files, which also set up a proxy to forward these requests from localhost:3000 to localhost:3001. That forwarding doesn't seem to be working for me, though I don't know why (I'm not familiar with Vite configuration).
OpenHands Installation
Development workflow
OpenHands Version
No response
Operating System
MacOS
Logs, Errors, Screenshots, and Additional Context
No response