-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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]: OH fails to join existing conversations after an unclean exit #6148
Comments
There is another problem: The port is obtained this way:
But the sandbox containers don't expose ports:
But checking the |
Another problem is that the containers are not restarted. Doing "docker start" fixes the problem. |
I confirmed this issue can be fixed with #6080 |
@kripper can you explain how you reproduce this. I tried this: |
I think this means there was no agent_state.pkl created, because it's saved when the controller closes normally. The /events are saved, of course. I'm not sure when metadata.json is saved. We recently solved an issue when the pickle doesn't exist (due to runtime errors etc, it can be missing)
I think conversation loading also should ideally not depend on the existence of this file? |
Previous issues were fixed applying #6114. But there is still present this one last issue, preventing to re-join conversations after an unclean exit or reboot of the box (I use to restart the OH container using Docker Desktop). It's not critical, but it's worth to report here for mental health. I can reproduce this bug consistently. It happens only the first time I execute If I interrupt Thus, this issue ocurrs only after OH was uncleanly terminated. This is the stacktrace that is generated after trying to join a conversation after the first
|
[EDIT] Skip this and go directly to #6148 (comment)
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
This happens because
join_conversation()
is not callingself.maybe_start_agent_loop
which starts the sandbox container, whenevent_stream
isTrue
:OpenHands Installation
Development workflow
OpenHands Version
main branch from 2025-01-08
Operating System
WSL on Windows
Logs, Errors, Screenshots, and Additional Context
.
The text was updated successfully, but these errors were encountered: