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

Intermittent authentication failures #1784

Open
MartinLoeper opened this issue Dec 7, 2024 · 0 comments
Open

Intermittent authentication failures #1784

MartinLoeper opened this issue Dec 7, 2024 · 0 comments
Labels
auth-issue An issue authenticating to a host

Comments

@MartinLoeper
Copy link

Version

2.6.0

Operating system

Linux

OS version or distribution

NixOS 24.11

Git hosting provider(s)

Other - please describe below

Other hosting provider

gitea via oidc

(Azure DevOps only) What format is your remote URL?

None

Can you access the remote repository directly in the browser?

Yes, I can access the repository

Expected behavior

GCM should execute my git command without failing

e.g. git push -> exit code 0

Actual behavior

My git command fails and only succeeds when I retry it.
This issue is intermittent, i.e. it probably is related to OIDC token refresh or libsecret.

❯ git push
remote: Verify
fatal: Authentication failed for 'https://XXXXXXX'
❯ git push
Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 12 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 628 bytes | 628.00 KiB/s, done.
Total 6 (delta 3), reused 0 (delta 0), pack-reused 0 (from 0)
remote: . Processing 1 references
remote: Processed 1 references in total
To XXXXXX
   8c477eb..55b2799  main -> main

Logs

I will attach some logs as soon as I run into the error again

@MartinLoeper MartinLoeper added the auth-issue An issue authenticating to a host label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth-issue An issue authenticating to a host
Projects
None yet
Development

No branches or pull requests

1 participant