-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
GraphQL - Subscription WebSocket doesn't support secure connection #13547
Comments
Hi @winterstefan, the way of you did this is correct, we can connect via |
Hi @MarcosSpessatto, thank you for you quick reply! Cool to hear that I found a suitable way of handling this issue. I personally am totally fine with that solution, since GraphQL seems to be rarely used at the moment. 👍 Just for clarification |
@winterstefan We can add a little example in the docs. |
for the sake of completeness See https://github.com/RocketChat/docs/pull/1150 for docs |
Hi @winterstefan, We are planning to remove the support for GrapgQL on the next release and work a new implementation later. Are you using the GraphQL API in production? Can you please give us your opinion on the issue? |
Hey guys,
this might not be a bug at all, so I'm using the
Custom issue template
for it. This issue is strongly connected with #13546 - please have a look at this for further details.https
, nohttp
available). So my WebSocket shall be secured, too (ws
versuswss
).ws://chat.my.example.com:3100
) I'm getting informed that an unsecure WebSocket connection cannot be established when running in SSL mode.wss
, the socket rejects my request completely.While browsing through the Rocket.Chat code, I cannot spot the part where
wss
is used / activated.As a work-around, I added a
WebSocket Reverse Proxy
to the nginx config:With that, I managed to successfully establish a WebSocket connection to
wss://my.example.com/websocket-example
(getting a correctconnection_ack
).Is there any native way for enabling the WebSocket secure mode? Could we add a simple config param (e.g. for the Rocket.Chat admin UI, like the default port) to activate this?
The text was updated successfully, but these errors were encountered: