Re: WebSocket in Privoxy
ZzZombo <[email protected]> Tue, 21 Mar 2023 16:10:50 +0800
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <[email protected]> |
When I used to use Privoxy, I had to make sure it doesn't attempt to buffer or modify the "body" of the tunnel in any way, shape or form. Then it started to proxy WS connections correctly. You have to remove pretty much all filtering rules for them, interestingly this used to happen even if you do not decipher TLS, but such rules were active for such secure connection. On 21.03.2023 14:37, Fabian Keil wrote: > Marek Küthe <[email protected]> wrote on 2023-03-20 at 21:48:11: > >> I am trying to use a web application which uses WebSockets. As a >> browser I use Firefox ESR. Privoxy is running locally on my computer >> and Firefox is set to send requests to Privoxy. Now I have tried >> something around and found that the web application works without >> problems if no proxy is configured. When Privoxy is configured, it >> stops at `Connection is being established.`. Then after some time the >> web application sometimes reports WebSocket error `1006` (no error >> text). The web application does not use HTTPS / TLS and therefore >> `ws://` and not `wss://`. Firefox itself outputs `Firefox cannot >> connect to the server at ws://lg.reseau.mk16.de/ws.` in the developer >> console. >> >> Is this due to Privoxy? If yes, is there a workaround? Is it possible >> to forward WebSocket connections one-to-one or similar? >> >> I hope I am right here at the Mailling list. I would be glad about an >> answer! > Which Privoxy version do you use? > > Please provide a log excerpt created with the debug settings > listed at [0] that shows the problems. > > To create a WebSocket through Privoxy, Firefox should use > a CONNECT request to open a tunnel. If Privoxy isn't configured > to block or intercept this, this is expected to work. > > We currently have not tests for WebSockets, though, so it's > conceivable that there is a regression. > > Fabian > > [0] <https://www.privoxy.org/user-manual/contact.html> > > _______________________________________________ > Privoxy-users mailing list > [email protected] > https://lists.privoxy.org/mailman/listinfo/privoxy-users _______________________________________________ Privoxy-users mailing list [email protected] https://lists.privoxy.org/mailman/listinfo/privoxy-users
OpenPGP_signature
(application/pgp-signature, 665 B) - not displayed