OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Server not available

Open aymen5507 opened this issue 1 year ago • 5 comments

aymen5507 avatar Mar 31 '24 12:03 aymen5507

After running the code annd local server I get OpenDevin but this error appears in the browser: ERROR: Failed connection to server. Please ensure the server is reachable at ws://localhost:3000/ws.

aymen5507 avatar Mar 31 '24 12:03 aymen5507

Did you start Docker? Can you please check in the terminal if the server is running on port 3000 or not?

ASQUAREEE avatar Mar 31 '24 13:03 ASQUAREEE

@aymen5507 we'll need more info here. Can you respond with:

  • The commands you ran to start the app
  • The environment/config variables you used (redacting your API keys)
  • Everything output from uvicorn after running that command and starting the frontend
  • A screenshot of the /ws item in the network tab of your browser's console (CMD+Shift+C or CTRL+Shift+C ususally)

rbren avatar Mar 31 '24 14:03 rbren

See also: https://github.com/OpenDevin/OpenDevin/issues/344

rbren avatar Mar 31 '24 14:03 rbren

i get the same error when i open the frontend everything seems to work, i dont get any error logs but when I open the server it says this error, and i tried the trouble shooting in #344 but it still shows everything working in the terminal logs but it isn't

davtin19 avatar Mar 31 '24 20:03 davtin19

@davtin19 feel free to open a new issue with all the information here: https://github.com/OpenDevin/OpenDevin/issues/441#issuecomment-2028786569

rbren avatar Apr 01 '24 14:04 rbren