-
Notifications
You must be signed in to change notification settings - Fork 815
Description
What version of gRPC and what language are you using?
Grpc.AspNetCore.Server 2.49.0
Grpc.Net.Client 2.49.0
I've also tried
Grpc.AspNetCore.Server 2.50.0-dev202211150802
Grpc.Net.Client 2.50.0-dev202211150802
What operating system (Linux, Windows,...) and version?
Microsoft Windows NT 10.0.19044.0
What runtime / compiler are you using (e.g. .NET Core SDK version dotnet --info)
VS 2022 17.4.0
.NET SDK 7.0.100
Runtime Microsoft.WindowsDesktop.App 7.0.0
What did you do?
I've recently updated a solution to .NET 7 and deployed it.
When I start the Kestrel hosted service, and then launch the WinForms client, everything works as expected.
When I then close the WinForms client, and open it again, it hangs.
What did you expect to see?
The client connects to the service, when launched the second time as well.
What did you see instead?
When launched a second time, the client hangs.
Looking at the client logs, the last entry was:
Subchannel id '1' creating stream for...
so it is missing
Serialized 'System.Byte[]' to 19 byte message... and all the other logs from the first successful client launch.
The server logs does not contain any entries for the client's second launch.
Please find attached client and service logs.
Anything else we should know about your project / environment?
I can only reproduce this when deployed. Locally it works fine.
Any ideas why the serialization and the rest of the calls does not happen in this case?
