Allowing websocket for Document Server on Apache proxy

IIS, Apache
Post Reply
srivinay
Posts: 6
Joined: Mon Feb 27, 2017 4:20 pm

Allowing websocket for Document Server on Apache proxy

Post by srivinay » Tue Apr 04, 2017 2:05 pm

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?

Maxim
Posts: 1750
Joined: Tue Oct 11, 2016 2:34 pm

Re: Allowing websocket for Document Server on Apache proxy

Post by Maxim » Wed Apr 05, 2017 12:39 pm

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.

srivinay
Posts: 6
Joined: Mon Feb 27, 2017 4:20 pm

Re: Allowing websocket for Document Server on Apache proxy

Post by srivinay » Thu Apr 06, 2017 4:53 am

Thanks pal

Maxim
Posts: 1750
Joined: Tue Oct 11, 2016 2:34 pm

Re: Allowing websocket for Document Server on Apache proxy

Post by Maxim » Thu Apr 06, 2017 6:42 am

Hello srivinay!
You are always welcome!

Post Reply