3
14
Fork
You've already forked yojo
5

failed to create Gitea client: user does not exist #25

Closed
opened 2025年12月28日 12:24:29 +01:00 by emersion · 9 comments

Created by bapt on 2023年12月15日 16:01:59

I just setup a yojo using the public instance to be for https://codeberg.org/mlmmj/mlmmj, but apparently it does not work, if now I go to: https://yojo.emersion.fr I got the following: failed to create Gitea client: user does not exist [uid: 0, name: , keyid: 0]

_Created by [bapt](https://todo.sr.ht/~bapt) on 2023年12月15日 16:01:59_ I just setup a yojo using the public instance to be for https://codeberg.org/mlmmj/mlmmj, but apparently it does not work, if now I go to: https://yojo.emersion.fr I got the following: failed to create Gitea client: user does not exist [uid: 0, name: , keyid: 0]
Author
Owner
Copy link

Created by emersion on 2023年12月15日 16:03:47

Hm, weird, I've been testing with Codeberg the whole time. Maybe something has changed in the meantime, I'll investigate.

_Created by [emersion](https://todo.sr.ht/~emersion) on 2023年12月15日 16:03:47_ Hm, weird, I've been testing with Codeberg the whole time. Maybe something has changed in the meantime, I'll investigate.
Author
Owner
Copy link

Created by bapt on 2023年12月15日 16:37:04

for what it's worth it was working a couple of hours ago when I did set it up, at least I have been able to select the repo, so it managed to connect to my codeberg account and list the reposotories.

_Created by [bapt](https://todo.sr.ht/~bapt) on 2023年12月15日 16:37:04_ for what it's worth it was working a couple of hours ago when I did set it up, at least I have been able to select the repo, so it managed to connect to my codeberg account and list the reposotories.
Author
Owner
Copy link

Created by emersion on 2023年12月18日 12:13:54

Ah, it seems like this happens when the gitea access token is invalid (e.g. expired).

_Created by [emersion](https://todo.sr.ht/~emersion) on 2023年12月18日 12:13:54_ Ah, it seems like this happens when the gitea access token is invalid (e.g. expired).
Author
Owner
Copy link

Created by emersion on 2023年12月18日 12:10:55

I tried reproducing (both on the public instance, and locally) but couldn't. I've upgraded the gitea library, can you try again?

_Created by [emersion](https://todo.sr.ht/~emersion) on 2023年12月18日 12:10:55_ I tried reproducing (both on the public instance, and locally) but couldn't. I've upgraded the gitea library, can you try again?
Author
Owner
Copy link

Created by emersion on 2023年12月19日 16:07:36

I don't think there's much to be done here, please re-open if you can reproduce again.

_Created by [emersion](https://todo.sr.ht/~emersion) on 2023年12月19日 16:07:36_ I don't think there's much to be done here, please re-open if you can reproduce again.
Author
Owner
Copy link

Created by emersion on 2023年12月19日 17:20:31

Hm, it seems like Gitea might refresh our token on re-login. We need to store the fresh token in that case.

_Created by [emersion](https://todo.sr.ht/~emersion) on 2023年12月19日 17:20:31_ Hm, it seems like Gitea might refresh our token on re-login. We need to store the fresh token in that case.
Author
Owner
Copy link

Created by emersion on 2023年12月19日 17:20:01

_Created by [emersion](https://todo.sr.ht/~emersion) on 2023年12月19日 17:20:01_
Author
Owner
Copy link

Created by emersion on 2023年12月20日 12:42:56

Should be fixed now that we store any fresh token on login.

_Created by [emersion](https://todo.sr.ht/~emersion) on 2023年12月20日 12:42:56_ Should be fixed now that we store any fresh token on login.
Author
Owner
Copy link

Created by bapt on 2023年12月20日 14:02:17

for what it is worth, I do confirm it works! Thanks a lot!

_Created by [bapt](https://todo.sr.ht/~bapt) on 2023年12月20日 14:02:17_ for what it is worth, I do confirm it works! Thanks a lot!
Sign in to join this conversation.
No Branch/Tag specified
master
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
emersion/yojo#25
Reference in a new issue
emersion/yojo
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?