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
Right now we have to introduce some delay in clients so that a grpc port is assigned to daprd before the client tries to make a connection. The logic to handle this issue needs to be handled in the sdk instead.
Logs for this issue when delay is not introduced in client:
$ dapr run --app-id=rustapp --grpc-port 3500 cargo run -- --example client
ℹ️ Starting Dapr with id rustapp. HTTP Port: 38035. gRPC Port: 3500
== APP == Error: TransportError
The text was updated successfully, but these errors were encountered:
On a R-Pi4. I have bumped this to 5 secs and still get the error:
== APP == Compiling dapr v0.6.0 (/home/pi/dapr-throughput/rust-sdk)
== APP == Finished dev [unoptimized + debuginfo] target(s) in 21.27s
== APP == Running target/debug/examples/publisher
== APP == Error: TransportError
Perhaps it needs to retry with backoff rather than just delay for an arbitrary amount of time.
I think the connection also needs to retry when dapr is restarted. I noticed a problem where my app would no longer connect back to dapr and I would have to restart it.
This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted) or other activity occurs. Thank you for your contributions.
Right now we have to introduce some delay in clients so that a grpc port is assigned to daprd before the client tries to make a connection. The logic to handle this issue needs to be handled in the sdk instead.
Logs for this issue when delay is not introduced in client:
The text was updated successfully, but these errors were encountered: