Skip to content

Serverless deployment code location errors: DagsterUserCodeUnreachableError: Could not reach user code server. gRPC Error code: UNAVAILABLE #22992

Discussion options

You must be logged in to vote

Solutions

  • Confirm long code load time and timeout by running Dagster locally
  • If your project is using dbt assets, something to check is if your code is generating a dbt manifest at run time, rather than at the recommended build time. See more in: Loading dbt models from a dbt project
  • Sometimes the root cause is sensor evaluations constantly timing out. See more in: #20021
  • More generally, we have a guide showing how to profile your code using py-spy. Another utility that is useful is memray

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by garethbrickman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: troubleshooting Related to debugging and error messages area: code-locations Related to Code Locations and Definitions Dagster+ Relates to Dagster paid plans
1 participant