proxy websockets #211
Unanswered
prabirshrestha
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
It should be possible to proxy websocket connections. I don't understand why there's a router involved here, though. Why not just inline Additionally, why are you using a RustlsConnector when you're not making any upstream tls connections? You can just use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have create-react-app and have the proxy working for http, but for websockets it is failing.
https://github.com/prabirshrestha/objstor/tree/baace9364171f63a66f4826d65a092ba7216a147
I tried registering a wildcard route with
Router::new().get("*", spa())and the without usingspa()but I'm not able to proxy websocket connections. I get the following error.Is it possible to proxy websocket connections?
Beta Was this translation helpful? Give feedback.
All reactions