Hi spinning up a working Dagster `1.3.14` project ...
# ask-community
m
Hi spinning up a working Dagster
1.3.14
project on the newly released
1.4.0
version locally, and am unable to get it working. The error when firing up dagit is:
Copy code
DagsterUserCodeUnreachableError: User code server request timed out due to taking longer than 60 seconds to complete.
Full stack trace in thread ๐Ÿงต Python 3.9 Project loads assets from 2 dbt projects
Copy code
2023-07-21 14:06:27 +0000 - dagster.builtin - INFO - Executing command: dbt --no-use-colors --log-format json ls --project-dir /dagster/de-dbt-prep --profiles-dir /tmp/.dbt --select fqn:* --output json
2023-07-21 14:06:33 +0000 - dagster.builtin - INFO - dbt exited with return code 0
2023-07-21 14:07:07 +0000 - dagster.code_server - INFO - Started Dagster code server for package moo in process 9
/usr/local/lib/python3.9/site-packages/dagster/_core/workspace/context.py:610: UserWarning: Error loading repository location moo:dagster._core.errors.DagsterUserCodeUnreachableError: User code server request timed out due to taking longer than 60 seconds to complete.

Stack Trace:
  File "/usr/local/lib/python3.9/site-packages/dagster/_core/workspace/context.py", line 593, in _load_location
    location = GrpcServerCodeLocation(
  File "/usr/local/lib/python3.9/site-packages/dagster/_core/host_representation/code_location.py", line 624, in __init__
    self._external_repositories_data = sync_get_streaming_external_repositories_data_grpc(
  File "/usr/local/lib/python3.9/site-packages/dagster/_api/snapshot_repository.py", line 25, in sync_get_streaming_external_repositories_data_grpc
    external_repository_chunks = list(
  File "/usr/local/lib/python3.9/site-packages/dagster/_grpc/client.py", line 346, in streaming_external_repository
    for res in self._streaming_query(
  File "/usr/local/lib/python3.9/site-packages/dagster/_grpc/client.py", line 184, in _streaming_query
    self._raise_grpc_exception(
  File "/usr/local/lib/python3.9/site-packages/dagster/_grpc/client.py", line 135, in _raise_grpc_exception
    raise DagsterUserCodeUnreachableError(

The above exception was caused by the following exception:
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
        status = StatusCode.DEADLINE_EXCEEDED
        details = "Deadline Exceeded"
        debug_error_string = "UNKNOWN:Deadline Exceeded {grpc_status:4, created_time:"2023-07-21T14:08:07.389330659+00:00"}"
>

Stack Trace:
  File "/usr/local/lib/python3.9/site-packages/dagster/_grpc/client.py", line 180, in _streaming_query
    yield from self._get_streaming_response(
  File "/usr/local/lib/python3.9/site-packages/dagster/_grpc/client.py", line 169, in _get_streaming_response
    yield from getattr(stub, method)(request, metadata=self._metadata, timeout=timeout)
  File "/usr/local/lib/python3.9/site-packages/grpc/_channel.py", line 475, in __next__
    return self._next()
  File "/usr/local/lib/python3.9/site-packages/grpc/_channel.py", line 881, in _next
    raise self

  warnings.warn(
2023-07-21 14:08:07 +0000 - dagit - INFO - Serving dagster-webserver on <http://0.0.0.0:3000> in process 1

  Telemetry:
r
๐Ÿ‘ 1
m
Hi Rex, thanks for highlighting this
r
For now, pin to 1.3.14 until the fix is released. Thanks!
๐Ÿ‘ 1