-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add timeout + error handling to dbt deps
requests to hub site
#2195
Comments
What happens if you literally unplug the network cable (or turn off the wifi) in the middle of dbt running? |
@jrandrews it depends on what you run! I'm seeing:
For a I think the bigger failure mode here is when the remote keeps the connection open but never returns any data. A timeout on these requests would help there. |
(#2195) Added timeout to registry download call
automatic commit by git-black, original commits: 1c60882
Describe the bug
We've seen a couple of reports of dbt hanging when connecting to the hub site (note the timestamps):
The dbt process was, somehow, alive for these 16+ hours and the process needed to be terminated manually to get it to exit. Let's:
Steps To Reproduce
This one is super tough to reproduce. No reliable repro case at the moment.
The output of
dbt --version
:This was most recently replicated on dbt v0.15.0
The operating system you're using:
This was replicated in dbt Cloud
The output of
python --version
:This was replicated in dbt Cloud
The text was updated successfully, but these errors were encountered: