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

Improve troubleshooting for 500 and other server errors #8016

Open
guillep2k opened this issue Aug 28, 2019 · 2 comments
Open

Improve troubleshooting for 500 and other server errors #8016

guillep2k opened this issue Aug 28, 2019 · 2 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@guillep2k
Copy link
Member

  • Gitea version (or commit ref):
  • Git version: 1.9.2

Description

Currently, when the server encounters a serious problem, the "500 Server Error" page is sent to the user. The page contains very little information about how to troubleshoot or how to report the problem properly, so users keep filling in issues with "Server Error 500 when attempting XXX", and all kinds of unrelated problems get grouped together under the same entry.

image

I propose reducing the size of the 500 and adding a section to the error page with instructions that help the user provide a better report. For example (just for opening the discussion) something along these lines:


Please notice that this error code is generic and does not reflect your specific problem. What can you do?

  • Contact your site administrator and try to find information relevant to your problem in Gitea logs. That information should be more relevant to troubleshoot the issue.
  • If logs do not contain enough information, please enable more detailed logging (e.g. debug) and try to reproduce the problem again.
  • If you are sure this is Gitea bug, please search for issue on GitHub and open new issue if necessary. To better your changes that your problem is properly addressed, please avoid using titles like "server 500 error" which are generic and not useful for identifying your problem.

Quick and dirty edit:

image

@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Aug 28, 2019
@lafriks
Copy link
Member

lafriks commented Aug 28, 2019

Reporting issue description would should be added as in past we had bad experience for this as users who used public service running Gitea started to report unrelated issues

@guillep2k
Copy link
Member Author

Reporting issue description would should be added as in past we had bad experience for this as users who used public service running Gitea started to report unrelated issues

I didn't know that.

Perhaps the main part of my proposal is to make sure the user is aware that 500 is non-descriptive. The reporting part can be left out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

3 participants