Replies: 1 comment
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apache Airflow version:
AIRFLOW_VERSION=1.10.12
Kubernetes version (if you are using kubernetes) (use
kubectl version
):NA
Environment:
What happened:
When REST API call takes a longer time (~2 mins in my example) to return response. Response validation in HttpHook class doesn't work (literally no trace in logs, after response.raise_for_status() call in check_response() method)
Same api call works fine when called with below python script
What you expected to happen:
It should fall in below
except block
in HttpHook, and Response message/text/code should be printedHow to reproduce it:
Create a DAG with HttpOperator and HttpSensor tasks. Call an API which returns response after delay (~2min). And Try to read the response object.
Anything else we need to know:
In all our environments this behaviour is consistently reproducible.
Beta Was this translation helpful? Give feedback.
All reactions