Connection with websocket via apache not established

I configured httpd.conf for websockets, I can’t establish a connection, I get a “status line for reading errors from the remote server” The following are the errors and configuration.

Configuration

<Location /socket.io/> 
ProxyPass http://172.27.38.93:9090/socket.io/
ProxyPassReverse http://172.27.38.93:9090/socket.io/ 
</Location> 
<Location /socket.io/1/websocket> 
ProxyPass ws://172.27.38.93:9090/socket.io/1/websocket 
ProxyPassReverse ws://172.27.38.93:9090/socket.io/1/websocket 
</Location> 

Error.log

[pue 7342: tid 47546562103616] (20014) Internal error: [client 10.20.136.193DUC2095] AH01102: status line of reading errors from the remote server 172.27.38.93: 9090 [Tue Feb 04 22: 04: 05.675183 2014] [proxy: error ] [pid 7342: tid 47546562103616] [client 10.20.136.193DUC2095] AH00898: Error reading from the remote server returned by /socket.io/1/websocket/vTkhURqnBJdwnFRjbOt7

Pls tell me what need fix.

+4
source share

Source: https://habr.com/ru/post/1525442/


All Articles