grpcurl reflection in IIS(express) error "server closed the stream without sending trailers"
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Describe the bug
aspnetcore grpc reflection doesn't seem to work correctly on IIS/IISexpress:
PS > grpcurl localhost:44324 list
Failed to list services: rpc error: code = Internal desc = server closed the stream without sending trailers
### Expected Behavior
PS > grpcurl localhost:44324 list
grpc.reflection.v1alpha.ServerReflection
...
### Steps To Reproduce
Create a .NET 8 grpc service with reflection enabled and run it in IISexpress. This will fail as described above. Running the https profile works fine. Same issue on Server 2022+IIS.
### Exceptions (if any)
_No response_
### .NET Version
9.0.100-rc.2.24474.11
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.