Apache ReverseProxy Timeout obwohl Ziel erreichbar
Hallo,
ich bin umgezogen und habe meinen Server ins neue Netzwerk gebracht. Aus der IP 192.168.0.254 wurde jetzt die 192.168.2.254. Vorgestern hat alles funktioniert mit dem Apache-Proxy und nachdem der Sever knapp 1 Tag nicht am Netzwerk war, funktioniert auf einmal nichts mehr. Egal was ich einstelle kommt der Timeout immer nach genau 300 Sekunden:
Meine Config:
Die Logfile (LogLevel debug) sieht so aus:
Hat jemand eine Idee an was das liegen kann, dass Apache den Context nicht liefert? Der interne Server ist natürlich erreichbar.
Gruß Martin
Nachtrag:
Dieses Verhalten passiert bei allen Proxy's (3 insgesamt). Der Apache läuft auf dem Host und die Proxy's als VM in Proxmox. Das Netz ist aber das gleiche. Nur die Anfrage kommt über einen VPN und somit aus einem anderen Netz. Apache hört aber auf 0.0.0.0
ich bin umgezogen und habe meinen Server ins neue Netzwerk gebracht. Aus der IP 192.168.0.254 wurde jetzt die 192.168.2.254. Vorgestern hat alles funktioniert mit dem Apache-Proxy und nachdem der Sever knapp 1 Tag nicht am Netzwerk war, funktioniert auf einmal nichts mehr. Egal was ich einstelle kommt der Timeout immer nach genau 300 Sekunden:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request
Reason: Error reading from remote server
Meine Config:
<VirtualHost *:80>
ServerAlias ha.*
ServerAdmin root@localhost
ProxyRequests off
ProxyPreserveHost on
RewriteEngine on
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC,OR]
RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
RewriteRule .* "ws://192.168.2.200:8123%{REQUEST_URI}" [P,QSA,L]
ProxyPass "/" "http://192.168.2.200:8123/" retry=1 acquire=3000 timeout=10 Keepalive=On connectiontimeout=10
ProxyPassReverse "/" "http://192.168.2.200:8123/"
CustomLog "/var/log/apache2/ws.log" combined
ErrorLog "/var/log/apache2/ws_error.log"
</VirtualHost>
Die Logfile (LogLevel debug) sieht so aus:
[Mon Jun 09 11:06:44.884297 2025] [authz_core:debug] [pid 1379:tid 1379] mod_authz_core.c(815): [client 123.456.789.111:0] AH01626: authorization result of Require all granted: granted
[Mon Jun 09 11:06:44.884374 2025] [authz_core:debug] [pid 1379:tid 1379] mod_authz_core.c(815): [client 123.456.789.111:0] AH01626: authorization result of <RequireAny>: granted
[Mon Jun 09 11:06:44.884412 2025] [proxy:debug] [pid 1379:tid 1379] mod_proxy.c(1465): [client 123.456.789.111:0] AH01143: Running scheme http handler (attempt 0)
[Mon Jun 09 11:06:44.884425 2025] [proxy:debug] [pid 1379:tid 1379] proxy_util.c(2797): AH00942: http: has acquired connection for (192.168.2.200:8123)
[Mon Jun 09 11:06:44.884438 2025] [proxy:debug] [pid 1379:tid 1379] proxy_util.c(3242): [client 123.456.789.111:0] AH00944: connecting http://192.168.2.200:8123/dashboard-startseite/0 to 192.168.2.200:8123
[Mon Jun 09 11:06:44.884455 2025] [proxy:debug] [pid 1379:tid 1379] proxy_util.c(3450): [client 123.456.789.111:0] AH00947: connecting /dashboard-startseite/0 to 192.168.2.200:8123 (192.168.2.200:8123)
[Mon Jun 09 11:06:44.886183 2025] [proxy:debug] [pid 1379:tid 1379] proxy_util.c(2813): AH00943: http: has released connection for (192.168.2.200:8123)
Hat jemand eine Idee an was das liegen kann, dass Apache den Context nicht liefert? Der interne Server ist natürlich erreichbar.
Gruß Martin
Nachtrag:
Dieses Verhalten passiert bei allen Proxy's (3 insgesamt). Der Apache läuft auf dem Host und die Proxy's als VM in Proxmox. Das Netz ist aber das gleiche. Nur die Anfrage kommt über einen VPN und somit aus einem anderen Netz. Apache hört aber auf 0.0.0.0
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 673268
Url: https://administrator.de/forum/apache-reverse-proxy-timeout-fehler-673268.html
Ausgedruckt am: 11.06.2025 um 05:06 Uhr
9 Kommentare
Neuester Kommentar