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

Octopilot fails to refresh app based auth #285

Open
GilUpstream opened this issue Nov 27, 2023 · 0 comments
Open

Octopilot fails to refresh app based auth #285

GilUpstream opened this issue Nov 27, 2023 · 0 comments

Comments

@GilUpstream
Copy link

Trying to use octopilot for some automation, but the app based auth method keeps failing with an failed to create github client: could not refresh installation id error.

level=error msg="Repository update failed" error="failed to clone repository XXXXX: failed to create github client: could not refresh installation id XXXXX's token: request &{Method:POST URL:https://api.github.com/app/installations/XXXXX/access_tokens Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Accept:[application/vnd.github.machine-man-preview+json application/vnd.github.machine-man-preview+json] Authorization:[Bearer XXXXX] Content-Type:[application/json]] Body:{Reader:} GetBody:0x6cc960 ContentLength:5

Have double checked app perms, generated a fresh key and pem file, and haven't had any success. Are there other things I coupld be missing in setting up the app based auth?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant