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
Errors on /api/v1/user/repos #4565
Comments
@duckbrain MayBe You Need give token or Basic Auth Like This |
It looks like it's a bug. I found that the panic was happening because of a So I did some querying of the database
As you can see, where two forks in the database. The IDs for both of their The Kimai fork was mine and I didn't need it, so I deleted it through the Gogs interface, but left the ldss fork alone. The endpoint is now working. @unknwon Is it expected that |
Patch has pushed to fix this issue, please test on |
Yep. That did the trick. Thanks Unknwon! |
log/gogs.log
): https://gist.github.com/duckbrain/f0825b84e038aab18c1637390bc71757Description
While trying to use Gogs with Drone 0.7 or manually using the path that Drone is trying to access.
I get a variety of responses. I get either a 403 or a 500 response code and I get either a blank response or the following JSON:
I am logged into the browser and accessing the URL from the browser. It does seem that
/api/v1/user
does work correctly. Restarting Gogs will sometimes make the JSON response come back until it goes back to the empty responses. I believe the switch coincides with the panics in the log.It does not seem that changing
REQUIRE_SIGNIN_VIEW
makes any difference.The text was updated successfully, but these errors were encountered: