pushpaksol opened a new issue #16292:
URL: https://github.com/apache/airflow/issues/16292


   When Airflow SimpleHttpOperator is executed with number of jobs the 
connection gets aborted at exact 5 minutes.
   with exception from pyopenssl:
   **OSError: (104,'ECONNRESET')**
   and connection error from http_hook.py > sessions.py > adapters.py 
   **requests.exceptions.connectionError: ('Connection aborted.', 
OSError("(104, 'ECONNRESET')",))**
   
   According to [Source 
Code](https://airflow.readthedocs.io/en/1.9.0/_modules/http_hook.html#HttpHook 
) extra_options take dict values where
   **_timeout (float or tuple)_ – (optional) How long to wait for the server to 
send data before giving up, as a float, or a (connect timeout, read timeout) 
tuple.**
   
   Even I have used **extra_options = {'timeout':600.0}** 
   as in 
[SimpleHttpOperator](https://airflow.readthedocs.io/en/1.9.0/code.html?highlight=requests#airflow.operators.SimpleHttpOperator)
   
   even tried passing **execution_timeout = timedelta(minutes=10)** 
   (execution timeout parameter is available for all operators)
   which I think any of above options must extend timeout setting to 10 mins, 
but it doesn't work.
   
   I don't know what's going wrong there. or how should I change this default 
timeout of 5 mins to 10 mins when running Airflow SimpleHttpOperator
   
   _Originally posted by @pushpaksol in 
https://github.com/apache/airflow/discussions/16281_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to