'Add single comment' and 'Start review' 404 error #6106

Closed
opened 2025-11-02 06:45:17 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @EniacMlezi on GitHub (Oct 7, 2020).

  • Gitea version (or commit ref):
    1.12.5

  • Git version:
    2.28.0.windows.1

  • Operating system:

  • Database (use [x]):

    • PostgreSQL
    • MySQL
    • MSSQL
    • [x ] SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

When reviewing a PR, both the 'Add single comment' and 'Start review' buttons ask me to reauthenticate and subsequently show a 404 error. The URL format it redirects to is: domain/ORG/REPO/pulls/3/files#ZgotmplZ/files/reviews/comments. I can't find relevant logs with level set to trace.

Might be unrelated; but after writing a comment, the Preview tab shows up as empty.
...

Screenshots

Originally created by @EniacMlezi on GitHub (Oct 7, 2020). - Gitea version (or commit ref): 1.12.5 - Git version: 2.28.0.windows.1 - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description When reviewing a PR, both the 'Add single comment' and 'Start review' buttons ask me to reauthenticate and subsequently show a 404 error. The URL format it redirects to is: domain/ORG/REPO/pulls/3/files#ZgotmplZ/files/reviews/comments. I can't find relevant logs with level set to trace. Might be unrelated; but after writing a comment, the Preview tab shows up as empty. ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
Author
Owner

@EniacMlezi commented on GitHub (Oct 9, 2020):

My ROOT_URL was missing a trailing forward slash.
Was: http://[domain]:3000
Had to be: http://[domain]:3000/

@EniacMlezi commented on GitHub (Oct 9, 2020): My ROOT_URL was missing a trailing forward slash. Was: http://[domain]:3000 Had to be: http://[domain]:3000/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6106