postman-app-support icon indicating copy to clipboard operation
postman-app-support copied to clipboard

Postman does not support gRPC v1 server reflection

Open PDXKimani opened this issue 1 year ago • 6 comments

Is there an existing issue for this?

  • [X] I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

gRPC some time ago stabilized the reflection protocol. As part of this, a breaking change was made: the reflection protocol service path was changed from v1alpha to v1. Some gRPC frameworks have begun to pick up this change (e.g. https://github.com/hyperium/tonic/pull/1701), meaning that services built on those frameworks will serve reflection via the canonical v1 location. Postman is unable to use server reflection to derive protocols when interacting with such servers.

I believe the correct behavior would be to attempt to use the v1 canonical reflection service, then fall back to v1alpha if it is unavailable.

Steps To Reproduce

  1. Open a new gRPC request tab.
  2. Specify a url for a gRPC server running with v1 reflection.
  3. Open the method selector and choose "Use Service Reflection".
  4. Postman will fail to discover the protocols.

Screenshots or Videos

No response

Operating System

macOS

Postman Version

11.11.1

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

PDXKimani avatar Sep 04 '24 22:09 PDXKimani