同样的问题,部署collabora online之后,https://domainname/hosting/discovery可以正常返回xml信息,后台填入https://domain/hosting/discovery之后,打开文档会显示“内部错误(Failed to create WOPI session)”字样。
不过我看coolwsd服务在启动后似乎会抛出一个异常,不知道是否与这个有关系:
coolwsd.service - Collabora Online WebSocket Daemon
Loaded: loaded (/lib/systemd/system/coolwsd.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2023-10-27 11:12:12 CST; 2min 28s ago
Main PID: 43977 (coolwsd)
Tasks: 8 (limit: 4556)
Memory: 131.2M
CPU: 3.292s
CGroup: /system.slice/coolwsd.service
├─43977 /usr/bin/coolwsd --version --o:sys_template_path=/opt/cool/systemplate --o:child_root_path=/opt/cool/child-roots --o:file_server_root_path=/usr/share/coolwsd
├─43995 /usr/bin/coolforkit --systemplate=/opt/cool/systemplate --lotemplate=/opt/collaboraoffice --childroot=/opt/cool/child-roots/43977-df056b5e/ --clientport=9980 --masterport=coolwsd-iJvFx0pT "--rlimits=limit_virt_>
└─44003 /usr/bin/coolforkit --systemplate=/opt/cool/systemplate --lotemplate=/opt/collaboraoffice --childroot=/opt/cool/child-roots/43977-df056b5e/ --clientport=9980 --masterport=coolwsd-iJvFx0pT "--rlimits=limit_virt_>
10月 27 11:12:15 star-virtual-machine coolwsd[44003]: kit-44003-43995 2023-09-27 11:12:15.164759 +0800 [ kit_spare_001 ] TRC performWrites (request body): finished, total: 3090| net/HttpRequest.hpp:656
10月 27 11:12:15 star-virtual-machine coolwsd[44003]: kit-44003-43995 2023-09-27 11:12:15.165179 +0800 [ kit_spare_001 ] TRC #14: Wrote 3090 bytes of 3090| net/Socket.hpp:1091
10月 27 11:12:15 star-virtual-machine coolwsd[44003]: kit-44003-43995 2023-09-27 11:12:15.165195 +0800 [ kit_spare_001 ] TRC #14: Connected to WS Handler 0x55f73ab52b90| net/WebSocketHandler.hpp:181
10月 27 11:12:15 star-virtual-machine coolwsd[44003]: kit-44003-43995 2023-09-27 11:12:15.165202 +0800 [ kit_spare_001 ] TRC Inserting socket #14, address [], into kit| net/Socket.hpp:721
10月 27 11:12:15 star-virtual-machine coolwsd[44003]: kit-44003-43995 2023-09-27 11:12:15.165209 +0800 [ kit_spare_001 ] TRC #14: Resetting thread affinity while in transit (was 0x7f3f81e98780)| net/Socket.hpp:332
10月 27 11:12:15 star-virtual-machine coolwsd[44003]: kit-44003-43995 2023-09-27 11:12:15.165225 +0800 [ kit_spare_001 ] TRC #14: Set socket buffer size to 262144| net/Socket.hpp:242
10月 27 11:12:15 star-virtual-machine coolwsd[43977]: Ready to accept connections on port 9980.
10月 27 11:13:15 star-virtual-machine coolwsd[43977]: wsd-43977-43977 2023-09-27 11:12:15.171172 +0800 [ coolwsd ] TRC Have 1 new children.| wsd/COOLWSD.cpp:5914
10月 27 11:13:15 star-virtual-machine coolwsd[43977]: wsd-43977-43977 2023-09-27 11:12:15.171215 +0800 [ coolwsd ] INF WSD initialization complete: setting log-level to [warning] as configured.| wsd/COOLWSD.cpp:5930
10月 27 11:13:15 star-virtual-machine coolwsd[43977]: wsd-43977-43977 2023-09-27 11:13:15.647849 +0800 [ coolwsd ] WRN Failed to update the infobar. Got: 400 (Bad Request) Bad Request| wsd/COOLWSD.cpp:5783