Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

150
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda