Hi,
die Verbindung zwischen dem Client und Server wird nach einer Minute getrennt wenn keine daten geschickt werden.
Setup:
- Virtueller Server (VPS 200 G8)
- Betriebssystem 5.13.5-arch1-1
- Server Apache/2.4.48
httpd config:
Code
TimeOut 600
ProxyTimeout 120
KeepAlive On
KeepAliveTimeout 600
<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot /srv/http
ServerName http://www.modern-durak.com
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/www.modern-durak.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.modern-durak.com/privkey.pem
<Directory /srv/http>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
SSLProxyEngine on
ProxyRequests Off
ProxyPass /wss/ wss://modern-durak.com:55555 retry=120 keepalive=On timeout=9999 ttl=9999
ProxyPassReverse /wss/ wss://modern-durak.com:55555 retry=120
ErrorLog /var/log/httpd/error.log
CustomLog /var/log/httpd/access.log combined
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
Alles anzeigen
Logs:
httpd:
cat /var/log/httpd/access.log:
"meine ip" - - [04/Aug/2021:19:28:21 +0200] "GET /wss/ HTTP/1.1" 408 - "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36"
Mein Serverprogramm log:
echo Exception: stream truncated
Was muss ich tun damit die Verbindung nicht getrennt wird wenn 1 minute lang keine Daten geschickt werden?