gitea
gitea copied to clipboard
Network Error when opening a closed project
Description
Hi,
I have a closed project that I want to open - however when I click on the Open
button I get a Network Error
message as seen in the screenshot and the project does not open. When I look at the error logs from the browser console I see:
error when doRequest SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Any ideas why this could be the case?
Gitea Version
1.21.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
No response
Operating System
Linux
How are you running Gitea?
Using one of the downloads
Database
None
I did a quick test with docker, I can not reproduce the problem.
Do you see any related error logs in gitea's log and reverse proxy's log?
version: "3"
services:
server:
image: gitea/gitea:1.21.5
container_name: gitea-1.21
volumes:
- ./gitea:/data
ports:
- "3001:3000"
- "3021:22"
I think this is fixed by #30387, only org/individual project will got this error. maybe we need to backport it to 1.21
only org/individual project will got this error.
Good catch, it is.