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]: GITHUB_TOKEN wiped from settings #7559

Open
1 task done
enyst opened this issue Mar 27, 2025 · 3 comments
Open
1 task done

[Bug]: GITHUB_TOKEN wiped from settings #7559

enyst opened this issue Mar 27, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@enyst
Copy link
Collaborator

enyst commented Mar 27, 2025

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

On the local instance, I had a GITHUB_TOKEN set in settings. I thought it wasn't bothering anyone. 😅

Then the GITHUB_TOKEN vanished. It's no longer saved in settings.json:
"secrets_store":{"provider_tokens":{}}

I'm not sure what happened. I didn't mess with it nor with any settings today.

FWIW right before I noticed this, my local instance was unable to load a conversation (possibly relatively large, browser obs), repeatedly closing websocket due to close_delay or something similar. Probably unrelated. 😂

Actually... 🤔 , it was hitting this: (agent_session)
Waited too long for initialization to finish before closing session

OpenHands Installation

Development workflow

OpenHands Version

main

Operating System

MacOS

Logs, Errors, Screenshots, and Additional Context

No response

@enyst enyst added the bug Something isn't working label Mar 27, 2025
@mamoodi
Copy link
Collaborator

mamoodi commented Mar 27, 2025

@malhotra5 some changes around github tokens recently.

@malhotra5
Copy link
Contributor

malhotra5 commented Mar 27, 2025

Hmm super weird, I'm unable to repo

I'll keep digging into this!

EDIT: A recent change is that if you click "Reset to defaults" in settings, it wipes your github token as well. Probably not the cause of this issue, but would be nice to rule out that possibility just in case

@enyst
Copy link
Collaborator Author

enyst commented Mar 27, 2025

EDIT: A recent change is that if you click "Reset to defaults" in settings, it wipes your github token as well. Probably not the cause of this issue, but would be nice to rule out that possibility just in case

I'm innocent! Well, of that one, anyway. I hadn't even opened settings window to see it locally yet.

Also, I'd note that LLM key and other things were still saved. Only github got lost. 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants