-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Proxy configuration not used for websocket connections #10743
Comments
Do you mean the WebSocket global? |
I have configured the environment variables as described here: https://deno.land/manual/linking_to_external_code/proxies#proxies Then I try to create a WebSocket connection (to an endpoint only accessible via proxy):
|
I noticed this missing proxy support also recently with the (Web Standard) WebSocket client of deno: https://doc.deno.land/builtin/stable#WebSocket So probably this issue is not (yet) about the WebSocket server in "deno_std/ws". |
@kitsonk should this issue be moved again to denoland/deno? |
Currently the websocket library tungstenite doesn't support proxies, would have to wait for issue snapview/tungstenite-rs#177 to be resolved. technically they use tokio_tungstenite however that's just a wrapper around tungstenite to make it async. |
We do not use |
Proxy configuration provided via environment variables seems not be used for websocket connections. This would however be very useful, especially in corporate environments where a proxy is in place.
The text was updated successfully, but these errors were encountered: