Reverse Web Socket Proxy: Connection closed before receiving a handshake response

#1
I had set up a web socket application on the back-end server, and connected with the front-end by LSWS Reverse Web Socket Proxy.
BTW, it closes the ws connection and shows:
Connection closed before receiving a handshake response.

My 1000.xml configuration:
XML:
<?xml version="1.0" encoding="UTF-8"?>
<virtualHostConfig>
  <vhssl>
    <keyFile>/etc/letsencrypt/live/alphakkutu.me/privkey.pem</keyFile>
    <certFile>/etc/letsencrypt/live/alphakkutu.me/fullchain.pem</certFile>
  </vhssl>
  <websocketList>
    <websocket>
      <uri>/</uri>
      <address>[url]:1060</address>
    </websocket>
  </websocketList>
</virtualHostConfig>
My httpd_config.xml's virtual Host part:
XML:
    <virtualHost>
      <name>1000</name>
      <vhRoot>$VH_ROOT</vhRoot>
      <configFile>$SERVER_ROOT/conf/ws/$VH_NAME.xml</configFile>
      <allowSymbolLink>1</allowSymbolLink>
      <enableScript>1</enableScript>
      <restrained>1</restrained>
      <maxKeepAliveReq>1000</maxKeepAliveReq>
      <staticReqPerSec>50</staticReqPerSec>
      <dynReqPerSec>5</dynReqPerSec>
      <outBandwidth>100K</outBandwidth>
      <inBandwidth>20K</inBandwidth>
    </virtualHost>
Please help me with this.
 
Last edited by a moderator:

NiteWave

Administrator
#2
Code:
     <address>[url]:1060</address>
what "url" mean? it should be a IP address, e.g., "127.0.0.1"
 
Last edited by a moderator:
Top