Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

151
Vistas
Can not set ProxyWebsocketIdleTimeout

I have a websocket proxy with httpd. I get the connection to the websocket but if the user does nothing for 60 seconds the connection gets terminated. I want to change this by setting "ProxyWebsocketIdleTimeout 120".

access.log:

my ip - - [01/Aug/2021:14:42:07 +0200] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36" my ip - - [01/Aug/2021:14:42:27 +0200] "-" 408 - "-" "-" my ip - - [01/Aug/2021:14:42:08 +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"

What I tried: change httpd.config
TimeOut 600
ProxyTimeout 120
KeepAlive On
KeepAliveTimeout 600

What I want to try: ProxyWebsocketIdleTimeout 120

apachectl configtest

AH00526: Syntax error on line 16 of /etc/httpd/conf/httpd-le-ssl.conf: Invalid command 'ProxyWebsocketIdleTimeout', perhaps misspelled or defined by a module not included in the server configuration

httpd -M | grep wstunnel

proxy_wstunnel_module (shared)

a2enmod mod_proxy_wstunnel

ERROR: Module mod_proxy_wstunnel does not exist!

ls /etc/httpd/modules | grep wstunnel

mod_proxy_wstunnel.so

httpd -v

Server version: Apache/2.4.48 (Unix) Server built: May 28 2021 16:40:47

How to activate ProxyWebsocketIdleTimeout?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

ProxyWebsocketIdleTimeout is only available in version 2.5 or greater. You must upgrade your apache version (that you inform that is 2.4.48).

Reference: https://httpd.apache.org/docs/trunk/mod/mod_proxy_wstunnel.html

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda