reflection attempts failing due to usage of unsupported v1alpha method instead of the current v1 one
Describe the bug reflection attempts failing due to usage of unsupported v1alpha method instead of the current v1 one
To Reproduce Steps to reproduce the behavior:
- try to load the schema via reflection from any server using current and stable gRPC version
- nothing happens in the UI
- server has
Method not found: grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfoin logs
Expected behavior
a stable v1 instead of un-stable v1alpha reflection method should be used for fetching - see https://pkg.go.dev/google.golang.org/grpc/reflection/grpc_reflection_v1#pkg-constants
Environment (if possible, copy the information from the error dialog or the About menu):
- OS: Windows 11
- Kreya Version 1.18.0
Additional context see https://github.com/postmanlabs/postman-app-support/issues/13120 for basically the same problem
Thank you for opening this issue. Yes, some implementations have already switched over to the new reflection endpoint without providing the v1alpha anymore. We will fix this by trying both endpoints in the next release
We just released a beta version which includes support for the stable v1 reflection endpoint