Skip to content
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

[ADAP-949] [Bug] dbt docs generate timeout #971

Closed
2 tasks done
dongchris opened this issue Oct 17, 2023 · 9 comments
Closed
2 tasks done

[ADAP-949] [Bug] dbt docs generate timeout #971

dongchris opened this issue Oct 17, 2023 · 9 comments
Assignees
Labels
triage:product type:bug Something isn't working

Comments

@dongchris
Copy link

Is this a new bug in dbt-bigquery?

  • I believe this is a new bug in dbt-bigquery
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

Getting a timeout error when running dbt docs generate after 600 seconds (10 mins)

Profiles.yml - job_execution_timeout_seconds: 21000

on dbt 1.6.6

slack thread - https://getdbt.slack.com/archives/C99SNSRTK/p1695856526889609

23:22:20 Encountered an error while generating catalog: Runtime Error

  | Deadline of 600.0s exceeded while calling target function, last exception: 500 Error encountered during execution. Retrying may solve the problem.

Expected Behavior

I expect dbt docs generate to complete successfully without no time out

Steps To Reproduce

dbt docs generate

Relevant log output

No response

Environment

- OS:
- Python: 3.8
- dbt-core: 1.6.6
- dbt-bigquery: 1.6.6

Additional Context

No response

@dongchris dongchris added type:bug Something isn't working triage:product labels Oct 17, 2023
@github-actions github-actions bot changed the title [Bug] dbt docs generate timeout [ADAP-949] [Bug] dbt docs generate timeout Oct 17, 2023
@dbeatty10
Copy link
Contributor

Thanks for opening this @dongchris !

I just read your most recent comment in Slack here:

hmm just retried it and it worked. seems like its instability with Google BQ API library perhaps

So I'm going to close this as resolved. But just let us know if you are still having problems, and we can re-open this.

@dbeatty10 dbeatty10 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 2023
@dataders
Copy link
Contributor

re-opening per @dongchris's request in Slack. looking at #902, perhaps the BQ client has a baked in 600 second timeout if a timeout larger than 600 is provided?

@dongchris
Copy link
Author

re-opening per @dongchris's request in Slack. looking at #902, perhaps the BQ client has a baked in 600 second timeout if a timeout larger than 600 is provided?

Can you point to where the bq client code is?
Relevant stack overflow thread https://stackoverflow.com/questions/75475875/timeout-error-when-writing-large-amounts-of-data-to-big-query

@dbeatty10
Copy link
Contributor

@dongchris some of the frequently-used client code is here:

I didn't research if dbt docs generate is hitting those particular locations or not though.

Copy link
Contributor

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

@github-actions github-actions bot added the Stale label Apr 24, 2024
@dataders
Copy link
Contributor

dataders commented Apr 24, 2024

This is related to #263 and #577. There actually may be a path to solve this with the recent update to the BQ python client library

@dataders dataders removed the Stale label Apr 24, 2024
Copy link
Contributor

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

@github-actions github-actions bot added the Stale label Oct 22, 2024
@amychen1776
Copy link

@dongchris are you still experiencing this?
@dataders do you see any more indications of this?

@amychen1776
Copy link

Closing this for now due to lack of response.

@amychen1776 amychen1776 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage:product type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants