kong icon indicating copy to clipboard operation
kong copied to clipboard

Path cannot be set for grpc protocol

Open geritol opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Kong version ($ kong version)

3.2.2

Current Behavior

When I set path parameter for a service that has protocol grpc, I get the following:

    in '@entity':
      - in entry 1 of '@entity': failed conditional validation given value of field 'protocol'
    in 'path': value must be null

This was also encountered and reported as part of an other issue https://github.com/Kong/kong/issues/5848:

Also, when adding the grpc service, path parameter cannot be set - its only possible value is null

Expected Behavior

expecting path based stripping to work for grpc services too

Steps To Reproduce

create a service with follding settings:

  [...]
  protocol: grpc
  path: aaa

Anything else?

No response

geritol avatar Jul 24 '23 11:07 geritol

It seems that this is a known issue: https://github.com/Kong/kong/issues/5685 Maybe we will re-evaluate whether we should support this.

StarlightIbuki avatar Aug 31 '23 09:08 StarlightIbuki

We need to discuss this feature internally to see if this could be a new feature in later version like 3.6/3.7.

internal ticket: KAG-3281, however we currently do not have a detailed plan. Just record it internally for future scheduling considerations.

chobits avatar Dec 04 '23 03:12 chobits