[squid-users] Problems with websockets

Alex Rousskov rousskov at measurement-factory.com
Tue Jun 8 15:45:22 UTC 2021


On 6/8/21 11:36 AM, Alex Irmel Oviedo Solis wrote:
> Hello all, I'm having problems with squid 4.11 on RHEL 8.4. I was trying
> to access to whatsapp with no luck, but I'm currently to test with
> https://www.websocket.org/echo.html,  the errors in both cases are

> http.cc(723) processReplyHeader: HTTP Server RESPONSE:
> HTTP/1.1 400 WebSocket Upgrade Failure

Squid v4 does not fully support HTTP Upgrade (it drops it). You should
splice connections to websocket services or use
http_upgrade_request_protocols available in Squid v5.

HTH,

Alex.
P.S. Thank you for providing detailed triage information!


> My squid.conf is in https://paste.centos.org/view/b98e8510
> My cache.log is in https://paste.centos.org/view/a2b6ac81
> My access.lorg is in https://paste.centos.org/view/eef2180a


More information about the squid-users mailing list