Error on /:/timeline through reverse proxy

Server Version#: 1.19.1.2701
Player Version#:

Hello,

I experiencing actually an error about websockets and reverse proxy.

[Sun Apr 26 11:59:06.952803 2020] [proxy_http:error] [pid 12504:tid 140377415726848] (70014)End of file found: [client :40910] AH01102: error reading status line from remote server localhost:32400, referer: https://app.plex.tv/tv-webos
[Sun Apr 26 11:59:06.952870 2020] [proxy:error] [pid 12504:tid 140377415726848] [client :40910] AH00898: Error reading from remote server returned by /:/timeline, referer: https://app.plex.tv/tv-webos
[Sun Apr 26 13:24:49.534382 2020] [proxy:error] [pid 12455:tid 140377432512256] (110)Connection timed out: [client :39062] AH03307: ap_proxy_transfer_between_connections: error on sock - ap_pass_brigade

I don’t know what that mean and how to solve this

My vhost is

<VirtualHost *:80>

  ServerName plex.domain.com
  ServerAlias haswell.home
  ServerAdmin admin@domain.com

  # On redirige tout le monde vers le site en SSL
  RewriteEngine On
  RewriteCond %{HTTPS} off
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

</VirtualHost>

<VirtualHost *:443>

  SSLEngine on

  ServerName plex.domain.com
  ServerAlias haswell.home
  ServerAdmin admin@domain.com

  SSLProxyEngine on
  SSLProxyCheckPeerCN Off
  SSLProxyCheckPeerName Off
  SSLProxyVerify none
  ProxyRequests Off
  ProxyPreserveHost On

  #LetsEncrypt
  SSLCertificateFile /etc/letsencrypt/live/domain.com/fullchain.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/domain.com/privkey.pem

  ProxyPass / https://localhost:32400/
  ProxyPassReverse / https://localhost:32400/
  ProxyPass /:/ wss://localhost:32400/:/
  ProxyPassReverse /:/ wss://localhost:32400/:/

  <Location /:/websockets/notifications>
      ProxyPass wss://localhost:32400/:/websockets/notifications
      ProxyPassReverse wss://localhost:32400/:/websockets/notifications
  </Location>

  <Proxy *>
    Require all granted
  </Proxy>

  RewriteEngine on
  RewriteCond %{REQUEST_URI} !^/web
  RewriteCond %{HTTP:X-Plex-Device} ^$
  RewriteRule ^/$ /web/$1 [R,L]

    ErrorLog ${APACHE_LOG_DIR}/plex.error.log
    CustomLog ${APACHE_LOG_DIR}/plex.access.log combined

</VirtualHost>

Mods enabled are rewrite, ssl, proxy, proxy_http and proxy_wstunnel
Server version: Apache/2.4.38 (Debian)

This problem seems appear on WebTV and Edge/IE

Any idea on how to correct that ?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.