All-Hands-AI / OpenHands

🙌 OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
33.13k stars 3.79k forks source link

[Bug]: Development guide instructions not working #4490

Open bhackett1024 opened 2 days ago

bhackett1024 commented 2 days ago

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

mamoodi commented 1 day ago

Hmm I can't reproduce this issue. Couple of things: