Hello dev team,
I have setup a CODE instance. But due to the network limit, the instance can’t create a websocket link from the client webbrowser. So is it possible or a way to change the connection protocal from websocket to https for the data exchanging. Thanks
This is possible to do, richdocumentscode at GitHub - CollaboraOnline/richdocumentscode: Built-in CODE Server app does this because PHP can’t do server-side websockets. But it was never a first class citizen, so we don’t recommend using it outside a test environment.
Websockets are used ~everywhere, just tell the ones who think they should not be used that it’s not a reasonable requirement.
Hi Vmikols,
Thanks for your reply.
Is there any start arguement or configuration in coolwsd.xml to control the method of the main connection instead of do lots of code changes in the project itself?
And about the websocket issue, no one against it. It’s just a tech debt for the securrity team. Good news they have a plan to fix it, bad news they will fix later next year.
Thanks again
See GitHub - CollaboraOnline/richdocumentscode: Built-in CODE Server app
Once you have it installed locally, you can observe how it enables this without-websocket mode, it’s all open source.
But we warned you, it’s not something you want, the performance is poor, etc.