I’m having a weird personal access token issue. I ...
# questions
w
I’m having a weird personal access token issue. I generated a new (classic) personal access token for GitHub (since my old one had expired). I added it to OpenHands, but the agent is not able to push to the repo I am working on or to make a PR. When I try to push the changes from the terminal within the OpenHands interface, I get the following message:
Copy code
$ git push -u origin security/update-js-libraries
remote: Permission to dmort27/pycomparator.git denied to dmort27.
fatal: unable to access 'https://github.com/dmort27/pycomparator.git/': The requested URL returned error: 403
Is this a frequent issue? Is this a GitHub problem or an OpenHands problem? The token was very permissive and should allow pushing to the repo. Any ideas regarding how to fix this?
g
I think this might be related to https://github.com/All-Hands-AI/OpenHands-Cloud/issues/131 It's a high priority we are working on cc: @purple-thailand-64770
p
Yes, this issue is in our cycle and we hope to have it done by EOW!
🙌 1
w
Are you using OpenHands Cloud or the open source version?
as a quick fix: you may want to just paste your token into the chat window to give it to the agent
if the conversation was started before you rotated the token, it won't get updated automatically
w
I was using the open source version.
I’ll try the fix