Gitea v1.21.6 loads loads repository main page infinitely #12536

Closed
opened 2025-11-02 10:13:13 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @achikhv on GitHub (Feb 26, 2024).

Description

After upgrade from 1.21.5 to 1.21.6 repository's main page can not be loaded anymore. Browser shows loading indicator infinitely and never completes page rendering.

I can still open URI for any other tab in repo's main page. E.g. /LersUchet/LersUchet/issues, /LersUchet/LersUchet/pulls, etc. The problem is only with main page (Code tab).

Also there is some problem with stopping windows service after upgrade to 1.21.6. Stopping 1.21.6 service takes significantly more time that 1.21.5. It happens only if repo's main page was requested. If it was not then stopping service is as fast as in prior releases.

Downgrading to 1.21.5 fixes this issue.

Looks like some action required to load repos main page prevents service from stopping correctly.

Logs shows this line:

2024/02/26 12:57:20 ...eb/routing/logger.go:68:func1() [W] router: slow      GET /LersUchet/LersUchet for [192.168.1.112:57696]:0, elapsed 3425.6ms @ repo/middlewares.go:17(repo.SetEditorconfigIfExists)

And I never see router: completed for this URI.

Gitea Version

1.21.6

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.43.0

Operating System

Windows

How are you running Gitea?

Self hosted windows service. Binary is downloaded here: gitea-1.21.6-windows-4.0-amd64.exe

Database

MSSQL

Originally created by @achikhv on GitHub (Feb 26, 2024). ### Description After upgrade from 1.21.5 to 1.21.6 repository's main page can not be loaded anymore. Browser shows loading indicator infinitely and never completes page rendering. I can still open URI for any other tab in repo's main page. E.g. `/LersUchet/LersUchet/issues`, `/LersUchet/LersUchet/pulls`, etc. The problem is only with main page (Code tab). Also there is some problem with stopping windows service after upgrade to 1.21.6. Stopping 1.21.6 service takes significantly more time that 1.21.5. It happens only if repo's main page was requested. If it was not then stopping service is as fast as in prior releases. Downgrading to 1.21.5 fixes this issue. Looks like some action required to load repos main page prevents service from stopping correctly. Logs shows this line: ``` 2024/02/26 12:57:20 ...eb/routing/logger.go:68:func1() [W] router: slow GET /LersUchet/LersUchet for [192.168.1.112:57696]:0, elapsed 3425.6ms @ repo/middlewares.go:17(repo.SetEditorconfigIfExists) ``` And I never see `router: completed` for this URI. ### Gitea Version 1.21.6 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.43.0 ### Operating System Windows ### How are you running Gitea? Self hosted windows service. Binary is downloaded here: [gitea-1.21.6-windows-4.0-amd64.exe](https://github.com/go-gitea/gitea/releases/download/v1.21.6/gitea-1.21.6-windows-4.0-amd64.exe) ### Database MSSQL
GiteaMirror added the type/bug label 2025-11-02 10:13:13 -06:00
Author
Owner

@achikhv commented on GitHub (Feb 26, 2024):

Seems like it is duplicate for #29402. Will close and track issue there.

@achikhv commented on GitHub (Feb 26, 2024): Seems like it is duplicate for #29402. Will close and track issue there.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12536