Page 1 of 1

Allowing websocket for Document Server on Apache proxy

PostPosted: Tue Apr 04, 2017 2:05 pm
by srivinay
Hi,

We have been trying to make our Document Server work behind an Apache Proxy server. We faced an error stating "WebSocket connection to 'wss://document-server/doc/-731460377/c/244/okvazqnd/websocket' failed: Error during WebSocket handshake: Unexpected response code: 400".
As a work around we used " ProxyPassMatch "^/(.*\websocket)$" "ws://document-server/$1" " and it started working.
Is websocket the correct and only identifier for ws traffic?

Re: Allowing websocket for Document Server on Apache proxy

PostPosted: Wed Apr 05, 2017 12:39 pm
by Maxim
Hello srivinay!
I cannot say about Apache, we use nginx...but for Document Server the websocket in URL is correct and only identifier for ws traffic.

Re: Allowing websocket for Document Server on Apache proxy

PostPosted: Thu Apr 06, 2017 4:53 am
by srivinay
Thanks pal

Re: Allowing websocket for Document Server on Apache proxy

PostPosted: Thu Apr 06, 2017 6:42 am
by Maxim
Hello srivinay!
You are always welcome!