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 the error message displayed when there is a webserver error #36570

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions airflow/www/templates/airflow/traceback.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,24 @@
<h1> Ooops! </h1>
<div>
<pre>
Something bad has happened.
Something bad has happened. For security reasons detailed information about the error is not logged.

Airflow is used by many users, and it is very likely that others had similar problems and you can easily find
a solution to your problem.
* You should check your webserver logs and retrieve details of this error.

Consider following these steps:
* When you get the logs, it might explain the reasons, you should also Look for similar issues using:

* gather the relevant information (detailed logs with errors, reproduction steps, details of your deployment)

* find similar issues using:
* <b><a href="https://github.com/apache/airflow/discussions">GitHub Discussions</a></b>
* <b><a href="https://github.com/apache/airflow/issues">GitHub Issues</a></b>
* <b><a href="https://stackoverflow.com/questions/tagged/airflow">Stack Overflow</a></b>
* the usual search engine you use on a daily basis

All those resources might help you to find a solution to your problem.

* if you run Airflow on a Managed Service, consider opening an issue using the service support channels

* if you tried and have difficulty with diagnosing and fixing the problem yourself, consider creating a <b><a href="https://github.com/apache/airflow/issues/new/choose">bug report</a></b>.
Make sure however, to include all relevant details and results of your investigation so far.
* only after you tried it all, and have difficulty with diagnosing and fixing the problem yourself,
get the logs with errors, describe results of your investigation so far, and consider creating a
<b><a href="https://github.com/apache/airflow/issues/new/choose">bug report</a></b> including this information.

Python version: {{ python_version }}
Airflow version: {{ airflow_version }}
Expand Down