HTTP 500 ERROR on issues. #1765

Closed
opened 2025-11-02 04:12:38 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @Kasi-R on GitHub (May 7, 2018).

  • Gitea version (or commit ref): 1.3.3 (Updated to 1.4.1, bug is still apparent)
  • Git version: 2.11.0
  • Operating system: Linux 64bit, Debian 9.
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Clicking User/Repository/Issues caused a HTTP 500 ERROR. We think this happened because the user who created the issue deleted his account and recreated it under the same name. Tried recreating the bug at https://try.gitea but no luck.

/usr/local/go/src/net/http/server.go:2619 (0x6d5ad3)
/usr/local/go/src/net/http/server.go:1801 (0x6d1ccc)
/usr/local/go/src/runtime/asm_amd64.s:2337 (0x45fc40)
[Macaron] 2018-05-07 19:02:31: Completed /USER/REPO/issues 500 Internal Server Error in 60.707623ms

Screenshots

Originally created by @Kasi-R on GitHub (May 7, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.3.3 (Updated to 1.4.1, bug is still apparent) - Git version: 2.11.0 - Operating system: Linux 64bit, Debian 9. - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: ## Description Clicking User/Repository/Issues caused a HTTP 500 ERROR. We think this happened because the user who created the issue deleted his account and recreated it under the same name. Tried recreating the bug at https://try.gitea but no luck. ```/usr/local/go/src/net/http/server.go:1918 (0x6d2df3) /usr/local/go/src/net/http/server.go:2619 (0x6d5ad3) /usr/local/go/src/net/http/server.go:1801 (0x6d1ccc) /usr/local/go/src/runtime/asm_amd64.s:2337 (0x45fc40) [Macaron] 2018-05-07 19:02:31: Completed /USER/REPO/issues 500 Internal Server Error in 60.707623ms ``` ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the issue/staleissue/duplicate labels 2025-11-02 04:12:38 -06:00
Author
Owner

@lunny commented on GitHub (May 7, 2018):

the log is not detailed.

@lunny commented on GitHub (May 7, 2018): the log is not detailed.
Author
Owner

@MacLake commented on GitHub (Oct 12, 2018):

We also get a 500 every time when we add an issue or a comment to an issue on Gitea. Neverteless Gitea does what it should before showing a 500.

We use SQLite (tried to switch to PostgreSQL with migrating the existing db, but that didn’t work out) on Debian Stretch.

@MacLake commented on GitHub (Oct 12, 2018): We also get a 500 every time when we add an issue or a comment to an issue on Gitea. Neverteless Gitea does what it should before showing a 500. We use SQLite (tried to switch to PostgreSQL with migrating the existing db, but that didn’t work out) on Debian Stretch.
Author
Owner

@lunny commented on GitHub (Oct 12, 2018):

SQLite has an known database lock problem when multiple peoples are using it.

@lunny commented on GitHub (Oct 12, 2018): SQLite has an known database lock problem when multiple peoples are using it.
Author
Owner

@lafriks commented on GitHub (Oct 12, 2018):

probable duplicate of sqlite locking issue

@lafriks commented on GitHub (Oct 12, 2018): probable duplicate of sqlite locking issue
Author
Owner

@stale[bot] commented on GitHub (Jan 7, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 7, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@biju-ps commented on GitHub (Mar 13, 2019):

We also have the same issue. Getting 500 error everytime when creating /update issues. Very few developers is using this repo. So no question of simultaneous every time
On Sqlite and Ubuntu 18.04 .

@biju-ps commented on GitHub (Mar 13, 2019): We also have the same issue. Getting 500 error everytime when creating /update issues. Very few developers is using this repo. So no question of simultaneous every time On Sqlite and Ubuntu 18.04 .
Author
Owner

@zeripath commented on GitHub (Mar 13, 2019):

@biju-ps Your screenshots posted on an alternative issue show that you're using 1.6.1 which is not only very old but contains a serious security vulnerability. Multiple issues have been fixed since that release including several fixes for potential causes for your issue. Please update to 1.7.4 and consider opening a new issue if you can replicate on 1.7.4 - however please provide logs and preferably a simple way to replicate your issue.

@zeripath commented on GitHub (Mar 13, 2019): @biju-ps Your screenshots posted on an alternative issue show that you're using 1.6.1 which is not only very old but contains a serious security vulnerability. Multiple issues have been fixed since that release including several fixes for potential causes for your issue. Please update to 1.7.4 and consider opening a new issue if you can replicate on 1.7.4 - however please provide logs and preferably a simple way to replicate your issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1765