You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Dmytro Kulyk (JIRA)" <ji...@apache.org> on 2019/03/05 12:43:00 UTC
[jira] [Created] (AIRFLOW-4015) GET dag_runs endpoint do not work
Dmytro Kulyk created AIRFLOW-4015:
-------------------------------------
Summary: GET dag_runs endpoint do not work
Key: AIRFLOW-4015
URL: https://issues.apache.org/jira/browse/AIRFLOW-4015
Project: Apache Airflow
Issue Type: Bug
Components: api
Affects Versions: 1.10.2
Reporter: Dmytro Kulyk
when i try to get dag_runs over experimental api it throws 405 response:
http://airflow01.cluster.prod:8080/api/experimental/dags/analytics_prod/dag_runs
{code}
curl http://airflow01.betlab.prod:8080/api/experimental/dags/analytics_prod/dag_runs -vvvvv
* Trying 192.168.48.163...
* TCP_NODELAY set
* Connected to airflow01.betlab.prod (192.168.48.163) port 8080 (#0)
> GET /api/experimental/dags/analytics_prod/dag_runs HTTP/1.1
> Host: airflow01.betlab.prod:8080
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 405 METHOD NOT ALLOWED
< Server: gunicorn/19.9.0
< Date: Tue, 05 Mar 2019 12:33:15 GMT
< Connection: close
< Content-Type: text/html
< Allow: POST, OPTIONS
< Content-Length: 178
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>405 Method Not Allowed</title>
<h1>Method Not Allowed</h1>
<p>The method is not allowed for the requested URL.</p>
* Closing connection 0
{code}
Howewer, other ones (GET:pools, GET:dags/<DAG_ID>/tasks, GET:test, POST:dags/<DAG_ID>/dag_runs, latest_runs) works perfectly
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)