Cannot be browsed via IP address

We deploy collabora online, and can browse document by local web address, however, we cannot browse document after deploy on IP address, we browse document by cool.html (system website), the error information show “ 502 Bad Gateway “ , How can I solve this problem ? Anyone who can help me, Thanks in advance !

Louis

Hii @Louis Welcome to collabora online forum

Can you please provide some information about your setup and possibly i need logs to see what causes the 502 Bad Gateway error

Thanks
Darshan

Thanks for your reply . we set up it by mirror file, and show error information as below

11月 18 15:15:06 localhost.localdomain coolwsd[3170]: wsd-03170-01466 2025-11-18 15:15:06.383331 +0800 [ docbroker_11d ] WRN #18: Socket still open post onDisconnect(), forced shutdown.| net/Socket.hpp:1272
11月 18 15:16:34 localhost.localdomain coolwsd[3170]: frk-03184-03184 2025-11-18 15:16:34.312299 +0800 [ forkit ] WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplat…
11月 18 15:16:34 localhost.localdomain coolwsd[3170]: kit-04247-04247 2025-11-18 15:16:34.392433 +0800 [ kit_spare_121 ] WRN Failed to open /proc/self/smaps_rollup. Memory stats will be slower| kit/Kit.cpp:3645
11月 18 15:16:35 localhost.localdomain coolwsd[3170]: wsd-03170-04246 2025-11-18 15:16:35.893739 +0800 [ docbroker_11e ] WRN #23: Socket still open post onDisconnect(), forced shutdown.| net/Socket.hpp:1272
11月 18 16:59:15 localhost.localdomain coolwsd[3170]: frk-03184-03184 2025-11-18 16:59:15.908886 +0800 [ forkit ] WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplat…
11月 18 16:59:15 localhost.localdomain coolwsd[3170]: kit-12013-12013 2025-11-18 16:59:15.997535 +0800 [ kit_spare_122 ] WRN Failed to open /proc/self/smaps_rollup. Memory stats will be slower| kit/Kit.cpp:3645
11月 18 16:59:17 localhost.localdomain coolwsd[3170]: wsd-03170-12012 2025-11-18 16:59:17.530282 +0800 [ docbroker_11f ] WRN #28: Socket still open post onDisconnect(), forced shutdown.| net/Socket.hpp:1272
11月 18 17:04:39 localhost.localdomain coolwsd[3170]: frk-03184-03184 2025-11-18 17:04:39.704216 +0800 [ forkit ] WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplat…
11月 18 17:04:39 localhost.localdomain coolwsd[3170]: kit-21816-21816 2025-11-18 17:04:39.788522 +0800 [ kit_spare_123 ] WRN Failed to open /proc/self/smaps_rollup. Memory stats will be slower| kit/Kit.cpp:3645
11月 18 17:04:41 localhost.localdomain coolwsd[3170]: wsd-03170-21815 2025-11-18 17:04:41.297486 +0800 [ docbroker_120 ] WRN #18: Socket still open post onDisconnect(), forced shutdown.| net/Socket.hpp:1272
Hint: Some lines were ellipsized, use -l to show in full.

Best regards

Louis

Anyone who can help me find the solutions ?

Thanks

Louis

Hi @Louis

systemplate directory … is read-only”

WRN The systemplate directory [/opt/cool/systemplate] is read-only

Meaning

coolwsd needs to copy parts of this directory to create a sandboxed environment for each kit (child process).
If the directory is read-only, the kit cannot initialize properly.

Common causes

  • You installed from a Plesk or custom mirror where permissions were wrong.
  • The directory resides on a filesystem mounted read-only.
  • SELinux/AppArmor restrictions (common on CentOS / Alma / Rocky).

Fix

Make sure it is writable by the cool user: