[GH-ISSUE #277] Failed to update mirror repository - Gitea #1995

Open
opened 2026-05-03 02:57:19 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @mike-m24 on GitHub (Apr 29, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/277

Originally assigned to: @arunavo4 on GitHub.

Hi, I've found on Gitea System notices a lot of

Failed to update mirror repository

remote: Invalid username or token. Password authentication is not supported for Git operations.

fatal: Authentication failed

However I added all of the necessary permissions for Classic PAT Token, I'm able to ls-remote the repositories from the server as well.

On gitea-mirror I see that every import and mirror sync is sucessfull and now I don't know what the issue is anymore. On Gitea I see every repository that has been mirrored and new PR's but those messages in system notices are confusing me at the moment.

Originally created by @mike-m24 on GitHub (Apr 29, 2026). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/277 Originally assigned to: @arunavo4 on GitHub. Hi, I've found on Gitea System notices a lot of > Failed to update mirror repository > remote: Invalid username or token. Password authentication is not supported for Git operations. > fatal: Authentication failed However I added all of the necessary permissions for Classic PAT Token, I'm able to ls-remote the repositories from the server as well. On gitea-mirror I see that every import and mirror sync is sucessfull and now I don't know what the issue is anymore. On Gitea I see every repository that has been mirrored and new PR's but those messages in system notices are confusing me at the moment.
Author
Owner

@arunavo4 commented on GitHub (Apr 30, 2026):

Will look into it

<!-- gh-comment-id:4350198022 --> @arunavo4 commented on GitHub (Apr 30, 2026): Will look into it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea-mirror#1995