dailymotion-oss / octopilot

Automate your Gitops workflow, by automatically creating/merging GitHub Pull Requests

Home Page:https://dailymotion-oss.github.io/octopilot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Octopilot fails to refresh app based auth

GilUpstream opened this issue · comments

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?