-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Internal Server Error when attempting to download archive via API #17689
Comments
Also, please disregard that the post above says "MySQL" - it's actually MariaDB 10.5.13 running in another docker container. |
You should use .../archive/master.zip if you want zip file |
|
Oh, you probably meant adding |
Yes, add the extension name |
@lunny Thanks for the advice and quick bugfix! |
Gitea Version
1.15.6
Git Version
2.30.2
Operating System
Raspberry Pi OS + Docker
How are you running Gitea?
Running official docker image (tag:
1.15-linux-arm64
, id:d7e5e9d96a5d269120a579a887efeae1589afb8d92ba4c03fe61264548e9af7f
) on an up-to-date version of Raspberry Pi OS (based on Debian bullseye).TLS is handled by a Caddy reverse-proxy.
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
https://gist.github.com/jotoho/e4813169969a9d0a669cd86169de14e8
Description
I was attempting to learn how to use the API to download the files in a private repository and attempted using it with a public repo first to avoid needing to provide a token.
Unfortunately when I tried to access the archive for
master
via/api/swagger
or curl, my server threw back a "500 Internal Server Error" message.Screenshots
No response
The text was updated successfully, but these errors were encountered: