Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postman does not support gRPC v1 server reflection #13120

Open
1 task done
PDXKimani opened this issue Sep 4, 2024 · 1 comment
Open
1 task done

Postman does not support gRPC v1 server reflection #13120

PDXKimani opened this issue Sep 4, 2024 · 1 comment
Labels
bug product/api-client protocol/grpc Issues related to the gRPC protocol experience in Postman

Comments

@PDXKimani
Copy link

PDXKimani commented Sep 4, 2024

Is there an existing issue for this?

  • 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. hyperium/tonic#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

@DSchau DSchau added protocol/grpc Issues related to the gRPC protocol experience in Postman product/api-client labels Sep 4, 2024
@appurva21
Copy link
Member

Thanks @PDXKimani for writing in!

I can recreate the issue with servers that only use the v1 reflection protocol. We'll look into this and share an update once the fix is out.

@appurva21 appurva21 added the bug label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug product/api-client protocol/grpc Issues related to the gRPC protocol experience in Postman
Projects
None yet
Development

No branches or pull requests

3 participants