You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this is too much to ask. My code does not work with error the connection to the server was already shutdown and I could not figure out how to fix.
let uds = tarpc::serde_transport::unix::connect(&cli.uds,Bincode::default).await.expect("Could not connect to the socket, maybe server is not running.");let client = CdlMsgClient::new(client::Config::default(), uds).spawn();
The client error:
2025-06-26T09:05:11.411180Z[Etc/Unknown] INFO tarpc::client: client.rs:615 Shutdown: read half closed, so shutting down.
2025-06-26T09:05:11.411474Z[Etc/Unknown] INFO tarpc::client: client.rs:122 RPC; rpc.deadline=2025-06-26T09:05:21.411389319Z otel.kind="client" otel.name=CdlMsg.list
Error:
0: the connection to the server was already shutdown
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sorry if this is too much to ask. My code does not work with error
the connection to the server was already shutdown
and I could not figure out how to fix.The server code:
The client code:
The client error:
Beta Was this translation helpful? Give feedback.
All reactions