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
My sample project is "GrpcServiceSample" which use ASP.NET Core gRPC service to host grpc server.
The GrpcClient can connect this grpc sample (run with "dotnet run"), and invoke method.
But when I run GrpcServiceSample in Dapr with this command "dapr run --app-id grpcsample --app-port 5001 --protocol grpc -- dotnet run", I got above error.
And I modified DaprClient to invoke my grpc sample, it also reports error when run in Dapr with this command "dapr run --app-id client -- dotnet run"
@yaron2
After disable TLS for grpc server, and run it with "dapr run --app-id grpcsample --app-port 5000 --protocol grpc -- dotnet run", it's working.
See my latest commit: heavenwing/dapr-dotnet-sdk@50809c4
But I think that it is still a bug because of unsupporting TLS.
In what area(s)?
/area runtime
What version of Dapr?
version 0.9.0 commit 6babe85-dirty
Expected Behavior
Dapr runtime should connect app which be developed by ASP.NET Core gRPC service
Actual Behavior
Got error: level=warning msg="failed to open grpc channel to app: error establishing connection to app grpc on port 5001: context deadline exceeded"
And client report "app channel is not initialized"
Steps to Reproduce the Problem
I added a grpc sample into dotnet-sdk in here (https://github.com/heavenwing/dapr-dotnet-sdk/tree/grpcsample)
My sample project is "GrpcServiceSample" which use ASP.NET Core gRPC service to host grpc server.
The GrpcClient can connect this grpc sample (run with "dotnet run"), and invoke method.
But when I run GrpcServiceSample in Dapr with this command "dapr run --app-id grpcsample --app-port 5001 --protocol grpc -- dotnet run", I got above error.
And I modified DaprClient to invoke my grpc sample, it also reports error when run in Dapr with this command "dapr run --app-id client -- dotnet run"
whole log info in this log file
dapr grpc sample.log
Release Note
RELEASE NOTE: Added ability for Dapr to use a non-secure SSL connection when communicating with the app
The text was updated successfully, but these errors were encountered: