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]: When websocket disconnects, status bar says "Agent is Stopped", even if the agent is still running #5817

Open
1 task done
rbren opened this issue Dec 26, 2024 · 2 comments · May be fixed by #5819
Open
1 task done
Labels
bug Something isn't working fix-me Attempt to fix this issue with OpenHands

Comments

@rbren
Copy link
Collaborator

rbren commented Dec 26, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

  • kick off a session
  • kill the websocket in your browser (might need to write some JS to make this happen)
  • FE says "agent has stopped"
  • Backend logs show the agent continues to run, at least for a while. Agent will continue running indefinitely if another browser keeps a second websocket open

If the websocket disconnects, the status should say e.g. "Disconnected, trying to reconnect..." instead of claiming it knows what the agent is doing

OpenHands Installation

Docker command in README

OpenHands Version

main

Operating System

None

Logs, Errors, Screenshots, and Additional Context

No response

@rbren rbren added bug Something isn't working fix-me Attempt to fix this issue with OpenHands labels Dec 26, 2024
@openhands-agent
Copy link
Contributor

OpenHands started fixing the issue! You can monitor the progress here.

@openhands-agent
Copy link
Contributor

A potential fix has been generated and a draft PR #5819 has been created. Please review the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix-me Attempt to fix this issue with OpenHands
Projects
None yet
2 participants