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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gateway] Websocket subprotocol isn't forwarded to the endpoint #8324
Comments
gaetanmaisse
added a commit
to gravitee-io/gravitee-connector-http
that referenced
this issue
Aug 17, 2022
gaetanmaisse
added a commit
to gravitee-io/gravitee-connector-http
that referenced
this issue
Aug 17, 2022
gaetanmaisse
added a commit
to gravitee-io/gravitee-api-management
that referenced
this issue
Aug 17, 2022
gaetanmaisse
added a commit
to gravitee-io/gravitee-api-management
that referenced
this issue
Aug 17, 2022
Tested on 3.15.x, it looks ok, subprotocol is now handled. But it appears that connecting to WS server behind a redirection isn't easy... it's working with Postman but wasn't able to connect using |
gaetanmaisse
added a commit
to gravitee-io/gravitee-api-management
that referenced
this issue
Sep 1, 2022
gaetanmaisse
added a commit
to gravitee-io/gravitee-api-management
that referenced
this issue
Sep 1, 2022
marcambier
pushed a commit
to gravitee-io/gravitee-api-management
that referenced
this issue
Sep 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃挜 Describe the bug
Websocket subprotocol isn't forwarded to the endpoint causing a 502 error when trying to connect.
馃寗 To Reproduce
Steps to reproduce the behaviour:
yarn && yarn start
, it will start the WS server on:ws://localhost:4000/graphql
ws://localhost:4000/graphql
, set the headerSec-WebSocket-Protocol: graphql-transport-ws
and send the following message (within 3s otherwise you will be disconnected):You will receive:
gravitee.yml
of the gateway:ws://localhost:4000/graphql
as a backend endpoint3.
Error: Unexpected server response: 502
馃寛 Expected behaviour
Unable to connect,
graphql-transport-ws
protocol isn't forwardCurrent behaviour
The connection should be ok
馃敆 Dependencies
Also related to #8228
The text was updated successfully, but these errors were encountered: