Skip to content
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

Network Error when opening a closed project #30901

Closed
kerem0comert opened this issue May 8, 2024 · 3 comments · Fixed by #30387
Closed

Network Error when opening a closed project #30901

kerem0comert opened this issue May 8, 2024 · 3 comments · Fixed by #30387
Labels
Milestone

Comments

@kerem0comert
Copy link

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

networkerror

Git Version

No response

Operating System

Linux

How are you running Gitea?

Using one of the downloads

Database

None

@wxiaoguang
Copy link
Contributor

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"

@lunny lunny added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label May 8, 2024
@yp05327
Copy link
Contributor

yp05327 commented May 8, 2024

I think this is fixed by #30387, only org/individual project will got this error.
maybe we need to backport it to 1.21

@yp05327 yp05327 removed the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label May 8, 2024
@wxiaoguang
Copy link
Contributor

only org/individual project will got this error.

Good catch, it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants