https://dagster.io/ logo
#ask-community
Title
# ask-community
t

Tobias Pankrath

03/03/2023, 12:57 PM
My runs fail to start with a
DagsterUserCodeUnreachableError
(full error message in thread). Is there any way to debug this?
Copy code
dagster._core.errors.DagsterUserCodeUnreachableError: Could not reach user code server. gRPC Error code: UNKNOWN

  File "/home/bcr88/space/repos/dagster-playground/.venv/lib/python3.8/site-packages/dagster/_core/instance/__init__.py", line 2032, in launch_run
    self.run_launcher.launch_run(LaunchRunContext(dagster_run=run, workspace=workspace))
  File "/home/bcr88/space/repos/dagster-playground/.venv/lib/python3.8/site-packages/dagster/_core/launcher/default_run_launcher.py", line 121, in launch_run
    DefaultRunLauncher.launch_run_from_grpc_client(
  File "/home/bcr88/space/repos/dagster-playground/.venv/lib/python3.8/site-packages/dagster/_core/launcher/default_run_launcher.py", line 79, in launch_run_from_grpc_client
    grpc_client.start_run(
  File "/home/bcr88/space/repos/dagster-playground/.venv/lib/python3.8/site-packages/dagster/_grpc/client.py", line 469, in start_run
    res = self._query(
  File "/home/bcr88/space/repos/dagster-playground/.venv/lib/python3.8/site-packages/dagster/_grpc/client.py", line 159, in _query
    self._raise_grpc_exception(
  File "/home/bcr88/space/repos/dagster-playground/.venv/lib/python3.8/site-packages/dagster/_grpc/client.py", line 142, in _raise_grpc_exception
    raise DagsterUserCodeUnreachableError(

The above exception was caused by the following exception:
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "Exception calling application: [Errno 5] Input/output error"
debug_error_string = "{"created":"@1677848183.151409461","description":"Error received from peer unix:/tmp/tmp9j31njku","file":"src/core/lib/surface/call.cc","file_line":966,"grpc_message":"Exception calling application: [Errno 5] Input/output error","grpc_status":2}"
>

  File "/home/bcr88/space/repos/dagster-playground/.venv/lib/python3.8/site-packages/dagster/_grpc/client.py", line 157, in _query
    return self._get_response(method, request=request_type(**kwargs), timeout=timeout)
  File "/home/bcr88/space/repos/dagster-playground/.venv/lib/python3.8/site-packages/dagster/_grpc/client.py", line 132, in _get_response
    return getattr(stub, method)(request, metadata=self._metadata, timeout=timeout)
  File "/home/bcr88/space/repos/dagster-playground/.venv/lib/python3.8/site-packages/grpc/_channel.py", line 946, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/home/bcr88/space/repos/dagster-playground/.venv/lib/python3.8/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
d

daniel

03/03/2023, 10:30 PM
Hi Tobias, are you running your own grpc server here? Or is this just when running Dagster locally? Any more information you can share about how we might reproduce the problem?
t

Tobias Pankrath

03/06/2023, 7:37 AM
I am doing
dagster dev
in my playground repository
21 Views