server-snap icon indicating copy to clipboard operation
server-snap copied to clipboard

Cannot disable WebSockets for use on Cloudflare

Open typoworx-de opened this issue 7 years ago • 0 comments

I'm trying to configure RocketChat with Cloudflare. All requests on XHR/Websocket to this URL always fails by "400 bad request".

Someone said to have this fixed by setting:

export DISABLE_WEBSOCKETS=1

Setting this on CLI before restart of server does not seem to work. Any scripts/configuration files are read-only due to limitations of snapd and squashfs. Any configuration in a read/writeable place would be awesome.

Does anyone have a clue on how to get cloudflare running with rocketchat? Direct access without Cloudflare works like a charm. With Cloudflare not even login is working (or loading).

typoworx-de avatar Dec 06 '17 14:12 typoworx-de