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]: "Runtime failed to return execute_action" on command timeout #5927

Closed
1 task done
neubig opened this issue Dec 30, 2024 · 2 comments
Closed
1 task done

[Bug]: "Runtime failed to return execute_action" on command timeout #5927

neubig opened this issue Dec 30, 2024 · 2 comments
Labels
bug Something isn't working severity:medium Affecting multiple users

Comments

@neubig
Copy link
Contributor

neubig commented Dec 30, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

This is a very frequent error that I have found on the OpenHands online app, but I suspect it will affect any case where we're using the remote runtime in general. Basically what happens is that OpenHands runs a command that will take a while, and we get the following error in the UI: Runtime failed to return execute_action before the requested timeout of 120s and the agent stops until I send further input:

Screenshot 2024-12-31 at 5 42 00 AM

Note that this is not the expected behavior when a command times out, instead the command should be interrupted with a timeout, and the agent should be able to recover from this:

def _interrupt_bash(

This is a pretty big blocker that prevents the agent from working autonomously.

OpenHands Installation

app.all-hands.dev

OpenHands Version

No response

Operating System

None

Logs, Errors, Screenshots, and Additional Context

No response

@neubig neubig added bug Something isn't working severity:medium Affecting multiple users labels Dec 30, 2024
@neubig neubig changed the title [Bug]: "Runtime failed to return execute_action" [Bug]: "Runtime failed to return execute_action" on command timeout Dec 30, 2024
@enyst
Copy link
Collaborator

enyst commented Dec 30, 2024

@neubig Sorry, are we sure this isn't a duplicate of

@neubig
Copy link
Contributor Author

neubig commented Dec 30, 2024

Hah, it is, sorry. For some reason I didn't remember that I actually opened this before. Closing.

@neubig neubig closed this as not planned Won't fix, can't repro, duplicate, stale Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working severity:medium Affecting multiple users
Projects
None yet
Development

No branches or pull requests

2 participants