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

[Fix]: Many refresh token 404 errors #5913

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

malhotra5
Copy link
Contributor

@malhotra5 malhotra5 commented Dec 30, 2024

End-user friendly description of the problem this fixes or functionality that this introduces

  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions

I think the refresh errors are occurring because the ghToken headers in the axios api calls don't mount in time. The error seen is

No GitHub token provided when /authenticate is called when the user returns after many hours


Link of any specific issues this addresses
#5812


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:28ad5a3-nikolaik   --name openhands-app-28ad5a3   docker.all-hands.dev/all-hands-ai/openhands:28ad5a3

@malhotra5 malhotra5 marked this pull request as draft December 30, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant