[
https://issues.apache.org/jira/browse/AIRFLOW-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Potiuk updated AIRFLOW-1161:
----------------------------------
Labels: gsoc gsoc2020 mentor (was: )
> HttpHook shall be configurable to non-status errors
> ---------------------------------------------------
>
> Key: AIRFLOW-1161
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1161
> Project: Apache Airflow
> Issue Type: Improvement
> Reporter: Deo
> Priority: Major
> Labels: gsoc, gsoc2020, mentor
>
> When using HttpSensor, which underlying would use HttpHook to perform the
> request. If the target service is down, which refused the connection, the
> task would fail immediately.
> would be great if this behaviour is configurable, so the sensor would keep
> sensoring until the service is up again.
> traceback of the error:
> [2017-04-29 02:00:31,248] {base_task_runner.py:95} INFO - Subtask:
> requests.exceptions.ConnectionError: HTTPConnectionPool(host='xxxx',
> port=123): Max retries exceeded with url: /xxxx (Caused by
> NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
> object at 0x7f94b64b44e0>: Failed to establish a new connection: [Errno 111]
> Connection refused',))
--
This message was sent by Atlassian Jira
(v8.3.4#803005)