Re: WebSocket in Privoxy
Marek Küthe <[email protected]> Tue, 21 Mar 2023 12:42:46 +0100
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <20230321124246.57e424e3@parrot> |
On Tue, 21 Mar 2023 07:37:26 +0100 Fabian Keil <[email protected]> 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? ``` $privoxy --version Privoxy version 3.0.32 (https://www.privoxy.org/) ``` > > Please provide a log excerpt created with the debug settings > listed at [0] that shows the problems. There are several debug settings on the page. I just used all `debug` under section 11.1. I attached the log. > > 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> -- Marek Küthe [email protected] er/ihm he/him _______________________________________________ Privoxy-users mailing list [email protected] https://lists.privoxy.org/mailman/listinfo/privoxy-users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmqKBWfzrPNg7whIBfoaRRmmRCMcFAmQZmDYACgkQfoaRRmmR CMefPQ/9HUegKcM8KgOPNehk4eDupFP+NU+44VVMFKQkEbbdCKbN40vVLfAtGQrF kah8VebmF7nL4aa7lT20yo48tSAeScY1JSWwSNxPYrxvUT3Q5nbfODoRYFpfVbKW t4RKQiJBjNP9vUdAd+dEXx2Q1gBqdjfeF7wSALIQwSuwRIztzdske1sgrTYkHWcW ug850aapK0Kf0qozRpGMnexQ2MB4xHiT/MY7C6wwJS75PWa/NF2k9cye8JPqTDAC b3hH9rkVPmWnO6u46SOXCmd/Gcc9Z6geDfvGGI6QTPOJvHHBOfIjgPHtmkDML2jJ Zn+nglO92MYN1F5tFrb+7vJjo+sjs4M3ZGLeMpKTE5my4s2YXTuJYgypdSS2wYUk LNHF96RPxn7iXh6EIso3I95u2UuKaJar8UQrYXRHiE3WS5vgDL3dNTwy/KFLl6QW xSLC/d0/EmH5rLZ38jBjNqtijKrPiadBPCltZ2Zdk9eu4zPHpqXopDukRqPOnWoz Qvt0727Lmsmc7A2vuP2ZcCcPNDU8y6FPBn8ySfsyVSeext5TpPAJDnZf1EBKUhrB MPvDaXNOoVNTo9lsvPFuwMUkO5ujSZTCv5AYe8iwmtj/VvhZa/mOIhi25PxGaGy8 HNFpA1ZUfB68fNZJKaPjMu7C1ZjOwCkivhV9N9/4lYxwjSSsmvM= =BW3K -----END PGP SIGNATURE-----