Hi,
I am integrating currently gRPC C# into a program which uses several third party libraries.
Thus it is also forced to use x86/32 bit.
When calling even a trivial server implementation I receive "Received RST_STREAM with error code 8".
The full stack can be found below.
The used Nuget packages for gRPC are
<package id="Google.Protobuf" version="3.2.0" targetFramework="net461" />
<package id="Grpc.Core" version="1.1.0" targetFramework="net461" />
<package id="System.Interactive.Async" version="3.1.1" targetFramework="net461" />
Could you point me into a direction to debug the issue?
I tried set
[Environment]::SetEnvironmentVariable("GRPC_TRACE", "all", "User")
[Environment]::SetEnvironmentVariable("GRPC_VERBOSITY", "DEBUG", "User)
but it did not help.
The stack trace is...
Grpc.Core.RpcException was unhandled
Message=Status(StatusCode=Cancelled, Detail="Received RST_STREAM with error code 8")
Source=mscorlib
StackTrace:
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Grpc.Core.Internal.AsyncCall`2.UnaryCall(TRequest msg)
bei Grpc.Core.Calls.BlockingUnaryCall[TRequest,TResponse](CallInvocationDetails`2 call, TRequest req)
bei Grpc.Core.DefaultCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
bei Grpc.Core.Internal.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
bei ServiceDefinitionClient.Logout(LogoutRequest request, CallOptions options) in ServiceDefinitionGrpc.cs:Zeile 287.
bei Logout(LogoutRequest request, Metadata headers, Nullable`1 deadline, CancellationToken cancellationToken) in C:\Users\Dell\Documents\GitHub\ServiceDefinitionGrpc.cs:Zeile 283.
bei Program.Main(String[] args) in Program.cs:Zeile 17.
bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()