-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
error GetAccessTokenBySHA access token does not exist #11945
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
Comments
We're having that exact same issue with version 1.12.3 when pushing via HTTP ... Any updates on this? |
Ignore this -there is a mistake in the logging - these should not be being logged. I'll have a PR up imminently to fix the logging here. |
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Jul 31, 2020
Fix go-gitea#11945 Signed-off-by: Andrew Thornton <[email protected]>
Great @zeripath! Thanks! |
techknowlogick
added a commit
that referenced
this issue
Aug 1, 2020
* Fix incorrect logging in oauth2.go Fix #11945 Signed-off-by: Andrew Thornton <[email protected]> * Handle ErrAlreadyInQueue in stats indexer Fix #12380 Signed-off-by: Andrew Thornton <[email protected]> * Fixes type in error message of indexer Add the missing character in the error message. Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Lieven Hollevoet <[email protected]>
techknowlogick
added a commit
to techknowlogick/gitea
that referenced
this issue
Aug 4, 2020
* Fix incorrect logging in oauth2.go Fix go-gitea#11945 Signed-off-by: Andrew Thornton <[email protected]> * Handle ErrAlreadyInQueue in stats indexer Fix go-gitea#12380 Signed-off-by: Andrew Thornton <[email protected]> * Fixes type in error message of indexer Add the missing character in the error message. Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Lieven Hollevoet <[email protected]>
lunny
pushed a commit
that referenced
this issue
Aug 4, 2020
) * Fix incorrect logging in oauth2.go Fix #11945 Signed-off-by: Andrew Thornton <[email protected]> * Handle ErrAlreadyInQueue in stats indexer Fix #12380 Signed-off-by: Andrew Thornton <[email protected]> * Fixes type in error message of indexer Add the missing character in the error message. Co-authored-by: techknowlogick <[email protected]> Co-authored-by: Lieven Hollevoet <[email protected]> Co-authored-by: zeripath <[email protected]> Co-authored-by: Lieven Hollevoet <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[x]
):Description
if gitea is accessed by ssh it logs errors for GetAccessTokenBySHA
Gitea is configured with a single ldap authentication source. Oauth2 is disabled in app.ini.
Each access via ssh logs two errors. Tested with different users from different hosts and different repositories. Tested from localhost. The sha hash is always the same.
Error does not happen if accessed via http.
Tracelog
The text was updated successfully, but these errors were encountered: