<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.4.1</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">Clicking Refresh on the graph view of any DAG does not refresh the view, it just gets stuck refreshing forever.<br>
In the JS console, it displays the following error message on each refresh:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data
    N http://internal-airflow/static/dist/graph.c3f9b20b23ed9651c62a.js:2
    jQuery 7
    N http://internal-airflow/static/dist/graph.c3f9b20b23ed9651c62a.js:2
    R http://internal-airflow/static/dist/graph.c3f9b20b23ed9651c62a.js:2
    $/&lt; http://internal-airflow/static/dist/d3.min.js:1"><pre class="notranslate"><code class="notranslate">Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data
    N http://internal-airflow/static/dist/graph.c3f9b20b23ed9651c62a.js:2
    jQuery 7
    N http://internal-airflow/static/dist/graph.c3f9b20b23ed9651c62a.js:2
    R http://internal-airflow/static/dist/graph.c3f9b20b23ed9651c62a.js:2
    $/&lt; http://internal-airflow/static/dist/d3.min.js:1
</code></pre></div>
<p dir="auto">This happens even on a fresh DAG with no runs, even if the JSON returned by the request to <code class="notranslate">/object/task_instances?dag_id=test_dag&amp;execution_date=2022-10-20T11:17:22.870600+00:00</code> is empty, but also on normal DAGs.</p>
<p dir="auto">The container logs also show no problems, just that the GET-request was made.</p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto">Refresh the graph.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Create a DAG with one EmptyOperator, go to graph view, click refresh.</p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">CentOS 8</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto">apache-airflow-providers-databricks<br>
apache-airflow-providers-microsoft-azure</p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Docker-Compose</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto">Docker version 20.10.14, build a224086</p>
<p dir="auto">We use official image apache/airflow:2.4.1-python3.9 slightly extended with the above providers and a custom fix for the python package <code class="notranslate">thrift</code> used by the DatabricksOperator. It's a small fix just to make it work with our proxy.</p>
<h3 dir="auto">Anything else</h3>
<p dir="auto">We upgraded from 2.3.3 to 2.4.1, had no problems in 2.3.3.</p>
<p dir="auto">Tested with Firefox and Edge, both are the same. In Edge, the error message is <code class="notranslate">VM90:1 Uncaught SyntaxError: "[object Object]" is not valid JSON</code></p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul>
<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.4.1</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">After starting a DAG, the auto-refresh works in the grid view but not in the graph view.</p>
<p dir="auto">The top-right auto-refresh icon shows indefinitely that the page is refreshing but nothing happens.</p>
<p dir="auto">It is necessary to refresh the whole page to show the current status.</p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto">The auto-refresh should work and show the current status of the tasks.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Start a DAG in version 2.4.1.</p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Alpine on Kubernetes</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apache-airflow-providers-apache-hdfs==3.1.0
apache-airflow-providers-celery==3.0.0
apache-airflow-providers-cncf-kubernetes==4.4.0
apache-airflow-providers-common-sql==1.2.0
apache-airflow-providers-datadog==3.0.0
apache-airflow-providers-exasol==2.1.3
apache-airflow-providers-ftp==3.1.0
apache-airflow-providers-http==4.0.0
apache-airflow-providers-imap==3.0.0
apache-airflow-providers-jenkins==3.0.0
apache-airflow-providers-microsoft-mssql==3.2.1
apache-airflow-providers-odbc==3.1.2
apache-airflow-providers-oracle==3.1.0
apache-airflow-providers-postgres==5.0.0
apache-airflow-providers-redis==3.0.0
apache-airflow-providers-slack==5.1.0
apache-airflow-providers-sqlite==3.2.1
apache-airflow-providers-ssh==3.2.0"><pre class="notranslate"><code class="notranslate">apache-airflow-providers-apache-hdfs==3.1.0
apache-airflow-providers-celery==3.0.0
apache-airflow-providers-cncf-kubernetes==4.4.0
apache-airflow-providers-common-sql==1.2.0
apache-airflow-providers-datadog==3.0.0
apache-airflow-providers-exasol==2.1.3
apache-airflow-providers-ftp==3.1.0
apache-airflow-providers-http==4.0.0
apache-airflow-providers-imap==3.0.0
apache-airflow-providers-jenkins==3.0.0
apache-airflow-providers-microsoft-mssql==3.2.1
apache-airflow-providers-odbc==3.1.2
apache-airflow-providers-oracle==3.1.0
apache-airflow-providers-postgres==5.0.0
apache-airflow-providers-redis==3.0.0
apache-airflow-providers-slack==5.1.0
apache-airflow-providers-sqlite==3.2.1
apache-airflow-providers-ssh==3.2.0
</code></pre></div>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Other 3rd-party Helm chart</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Anything else</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul>