Skip to content

Octopilot fails to refresh app based auth #285

@GilUpstream

Description

@GilUpstream

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions