WebSocket / Realtime Collaborative Editor Woes

Greets,

I’ve been trying to get the Realtime Collaborative Editor working, but not having much luck. I’m fairly sure it’s a port issue, but I’ve tried many many variations and would appreciate someone else putting eyes on it.

The error is: We were unable to connect you to the realtime system.

I’m running the docker install of XWiki 10.8.1 under RHEL 7.4.

Created my XWiki container with:

docker run --net=xwiki-nw --name xwiki -p 8080:8080 -p 8093:8093 -v /opt/xwiki:/usr/local/xwiki -e DB_USER=xwiki -e DB_PASSWORD=xwiki -e DB_DATABASE=xwiki -e DB_HOST=postgres-xwiki -d xwiki:stable-postgres-tomcat

Kept the defaults in xwiki.properties (these are actually commented out):

[Websocket Configuration]
websocket.bindTo=
websocket.externalPath=
websocket.port=8093
websocket.ssl.enable=true
websocket.ssl.certChainFile=
websocket.ssl.pkcs8PrivateKeyFile=

I use haproxy to redirect 80/443 → 8080. Since 8093 is already exposed, I haven’t done anything in haproxy for it (though I’ve tried several things).

Firewalls are all allowing traffic on 80, 443, 8080, 8093. Local firewall + selinux are both disabled.

I’ve installed these plugins + their dependencies (as listed):

WebSocket Integration

Realtime Collaborative Plain WikiText Editor

Visual Realtime Collaborative Editor

Am I missing or doing something stupid?

Thanks!
Reece

1 Like

Did you have solve this problem.I hava the same problem.
https://jira.xwiki.org/browse/XWIKI-19232