WebSocket connection to ‘ws://localhost/9.1.0-963f47db665a70b3c7aae60b764ccd15/doc/__1Verifier-Handover_Document.docx1760515880438/c/?shardkey=__1Verifier-Handover_Document.docx1760515880438&EIO=4&transport=websocket’ failed:
Hey @Narendra, ![]()
Thanks for sharing the WebSocket error details — that 502 Bad Gateway on the ws://localhost/... connection is a common hiccup during ONLYOFFICE Docs API integration, often tied to proxy setup or server config. To help us troubleshoot:
- Are you using a proxy (e.g., NGINX, Apache)? If so, could you share your config snippet? (Our official guide covers WebSocket handling: Docs Community Proxy — did you base yours on that?)
- Does the built-in example (from the Docs API repo) run without errors on your setup? That’ll confirm if it’s integration-specific.
- What installation type did you use for ONLYOFFICE Docs (
docker,deb/rpm,.exe)?