Fly deployment fails to authenticate with GitHub

From deployment’s “Setup and pull from git repository”-stage:

remote: Invalid username or token. Password authentication is not supported for Git operations.
fatal: Authentication failed for 'https://github.com/[username]/[repo].git/'
unsuccessful command 'git -c protocol.version=2 fetch origin [redacted]'

Sometimes the deployment fails from this, sometimes it says the user cancelled it, and sometimes it doesn’t fail and remains running despite not doing anything

Also, when the deployment page is loaded, there is also an error asking to log in with GitHub SSO due to outdated token, even if you just logged in with it several times or even reinstalled the fly.io app to your GitHub account.

This occurs intermittently and for unknown but varying duration each time.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.