You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ironankit525 (via GitHub)" <gi...@apache.org> on 2026/03/07 13:18:49 UTC
[I] Missing timeouts in HTTP requests across multiple providers [airflow]
Ironankit525 opened a new issue, #63033:
URL: https://github.com/apache/airflow/issues/63033
### Description
During a deep static analysis of the provider hooks, I found that numerous HTTP requests are made using the `requests` library without specifying a `timeout` parameter.
Making HTTP requests without a timeout can cause the executing thread (and consequently, the Airflow worker task) to hang indefinitely if the remote server takes too long to respond or drops packets without closing the connection. This can lead to resource starvation, 'zombie' tasks, and reduced pipeline reliability.
**Severity:** Medium/Critical (depending on network environment)
### Locations Found
* `providers/apache/druid/src/airflow/providers/apache/druid/hooks/druid.py`: `requests.get` (Line 168) and `requests.post` (Lines 145, 174)
* `providers/databricks/src/airflow/providers/databricks/utils/openlineage.py`: `requests.get` (Line 91)
* `providers/fab/src/airflow/providers/fab/auth_manager/security_manager/override.py`: `requests.get` (Lines 399, 2321)
* `providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/hooks/kubernetes.py`: `requests.get` (Line 781)
* `providers/google/src/airflow/providers/google/cloud/hooks/dataprep.py`: `requests.get` and `requests.post` (Lines 102, 120, 138, 152, 175, 201, 214, 235, 250, 265, 280)
### Proposed Fix
Enforce default timeouts (e.g., `timeout=30`) on all outbound `requests.get` and `requests.post` calls in provider hooks and utils, and/or parse standard timeout settings from connection extras where applicable.
If this issue is considered valid and acceptable by the maintainers, please assign it to me (@Ironankit525) and I would be happy to submit a PR to resolve it.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Missing timeouts in HTTP requests across multiple providers [airflow]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #63033:
URL: https://github.com/apache/airflow/issues/63033#issuecomment-4016513597
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Missing timeouts in HTTP requests across multiple providers [airflow]
Posted by "jroachgolf84 (via GitHub)" <gi...@apache.org>.
jroachgolf84 commented on issue #63033:
URL: https://github.com/apache/airflow/issues/63033#issuecomment-4016744513
@Ironankit525 - please feel free to open up a PR for this issue!
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Missing timeouts in HTTP requests across multiple providers [airflow]
Posted by "Ironankit525 (via GitHub)" <gi...@apache.org>.
Ironankit525 commented on issue #63033:
URL: https://github.com/apache/airflow/issues/63033#issuecomment-4016517326
I would like to work on this issue. Can you plz assign it to me?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Missing timeouts in HTTP requests across multiple providers [airflow]
Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck closed issue #63033: Missing timeouts in HTTP requests across multiple providers
URL: https://github.com/apache/airflow/issues/63033
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org