I have a really strange issue after migrating from a physical server to another.
All my setup is docker based and docker images are the same on both server. The installation is a replica from one machine to another (same domain as the old server will be retired soon).
The reverse proxy is Traefik which is connected through a docker network called web to NGINX in front of Nextcloud (php-fpm) and Collabora CODE.
In Nextcloud the Office app shows that everything is fine and I removed the WOPI list for test purposes.
I can open any document at first, but at the first save I have an error message saying that the document cannot be saved and to check the rights. After that any document I try to open is failing with the Unauthorized WOPI Host error.
I can see this in the Collabora logs:
kit-00135-00135 2026-06-16 17:51:17.617206 [ kitbroker_017 ] WRN #24: Socket still open post onDisconnect(), forced shutdown.|net/Socket.hpp:1298
kit-00406-00406 2026-06-16 17:51:17.617959 [ kitbgsv_00d_001 ] WRN #23: Socket still open post onDisconnect(), forced shutdown.|net/Socket.hpp:1298
kit-00135-00135 2026-06-16 17:51:17.837347 [ kitbroker_017 ] WRN #23: Background save process disconnected but not terminated 406|kit/KitWebSocket.cpp:378
kit-00135-00135 2026-06-16 17:51:17.837378 [ kitbroker_017 ] WRN #23: Socket still open post onDisconnect(), forced shutdown.|net/Socket.hpp:1298
wsd-00001-00387 2026-06-16 17:51:17.855133 [ docbroker_017 ] ERR Unexpected response to WOPI::PutFile. Cannot upload file to WOPI storage uri [https://nextcloud.domain.com/index.php/apps/richdocuments/wopi/files/317393_oc5qbla4yldx/contents?access_token=ZZGIU5KI5e4PqOrJlNfycsGQUbjSj4k3&access_token_ttl=0]: No response received. Connection terminated or timed-out.|wsd/wopi/WopiStorage.cpp:1046
wsd-00001-00387 2026-06-16 17:51:17.855152 [ docbroker_017 ] ERR Failed to upload docKey [https%3A%2F%2Fnextcloud.domain.com%3A443%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F317393_oc5qbla4yldx] to URI [https://nextcloud.domain.com/index.php/apps/richdocuments/wopi/files/317393_oc5qbla4yldx?access_token=ZZGIU5KI5e4PqOrJlNfycsGQUbjSj4k3&access_token_ttl=0]. Notifying client.|wsd/DocumentBroker.cpp:3360
wsd-00001-00387 2026-06-16 17:51:17.856629 [ docbroker_017 ] ERR #127: WOPI::CheckFileInfo returned 0 (Unknown) for URI [https://nextcloud.domain.com/index.php/apps/richdocuments/wopi/files/317393_oc5qbla4yldx?access_token=ZZGIU5KI5e4PqOrJlNfycsGQUbjSj4k3&access_token_ttl=0]. Headers: Body: []|wsd/wopi/CheckFileInfo.cpp:98
wsd-00001-00387 2026-06-16 17:51:17.856642 [ docbroker_017 ] ERR #127: Failed or timed-out CheckFileInfo [https://nextcloud.domain.com/index.php/apps/richdocuments/wopi/files/317393_oc5qbla4yldx?access_token=ZZGIU5KI5e4PqOrJlNfycsGQUbjSj4k3&access_token_ttl=0]|wsd/wopi/CheckFileInfo.cpp:112
The first 4 lines are also present in the log of a working instance, so it is not related to the save issue.
Even more strange, if I re-launch Collabora on the old server (and change the DNS to have the URL pointing back to this old server), everything is working fine without changing anything on my Nextcloud instance.
The log on the working instance at save:
kit-00037-00037 2026-06-16 17:48:23.641594 [ kitbroker_001 ] WRN #25: Socket still open post onDisconnect(), forced shutdown.|net/Socket.hpp:1298
kit-00055-00055 2026-06-16 17:48:23.642068 [ kitbgsv_008_001 ] WRN #24: Socket still open post onDisconnect(), forced shutdown.|net/Socket.hpp:1298
kit-00037-00037 2026-06-16 17:48:23.807339 [ kitbroker_001 ] WRN #24: Background save process disconnected but not terminated 55|kit/KitWebSocket.cpp:378
kit-00037-00037 2026-06-16 17:48:23.807375 [ kitbroker_001 ] WRN #24: Socket still open post onDisconnect(), forced shutdown.|net/Socket.hpp:1298
I cannot figure out what could be the difference as my setup has been working for years like that.
For sure, I cannot keep the old server just to have a functional Collabora instance ![]()
Any idea on what to look for to try to figure out the reason for the issue ?