Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error when I have gRPC client and server on different platform

45 views
Skip to first unread message

pratheeksha padav

unread,
Jan 16, 2025, 9:52:50 AMJan 16
to grpc.io
Hi Team,

I am new to gRPC and am seeking help to connect to a gRPC server which is on a Linux machine and is implemented using RUST. I have implemented the client in c# .Net Core

For creating the client, I have followed the example for creating a gRPC client and server on visual studio.

Below is the error I get at var reply = await client.HelloAsync(request);

Grpc.Core.RpcException: 'Status(StatusCode="Unavailable", Detail="Error starting gRPC call. HttpRequestException: An error occurred while sending the request. IOException: The response ended prematurely.", DebugException="System.Net.Http.HttpRequestException: An error occurred while sending the request.")'

I have port forwarding enabled.

Any help is appreciated. 

Daz Wilkin

unread,
Jan 17, 2025, 7:49:19 PMJan 17
to grpc.io
Are you able to connect to the gRPC server (a) from the host on which you're running the gRPC server? (b) from the host on which you're running the gRPC client using a known-good gRPC client such as gRPCurl?

Reply all
Reply to author
Forward
0 new messages