No acceptable WOPI hosts found matching the target host [pliki.tulcon.pl] in config"

After plugin NC collabora plugin update collabora stopped working with this error
"No acceptable WOPI hosts found matching the target host [pliki.tulcon.pl] in config"

docker run -t -d -p 127.0.0.1:9980:9980 -e ‘domain=pliki.tulcon.pl’ --restart always --cap-add MKNOD collabora/code

Solution

change to double quotes around domain solved the issue for me

docker run -t -d -p 127.0.0.1:9980:9980 -e "domain=pliki.tulcon.pl" --restart always --cap-add MKNOD collabora/code

wsd-00027-00053 10:35:36.369590 [ docbroker_005 ] ERR  Failed to add session to [/apps/richdocuments/wopi/files/937988_ocpfqrmfoi6f] with URI [https://pliki.tulcon.pl/apps/richdocuments/wopi/files/937988_ocpfqrmfoi6f?access_token=KoZmUDpA99CjWTQitpTTvmE0hYYpksqp&access_token_ttl=0&permission=edit]: No acceptable WOPI hosts found matching the target host [pliki.tulcon.pl] in config.| wsd/DocumentBroker.cpp:958
wsd-00027-00053 10:35:36.369678 [ docbroker_005 ] ERR  Unauthorized Request while loading session for /apps/richdocuments/wopi/files/937988_ocpfqrmfoi6f: No acceptable WOPI hosts found matching the target host [pliki.tulcon.pl] in config.| wsd/LOOLWSD.cpp:2275
wsd-00027-00053 10:35:36.427415 [ docbroker_005 ] WRN  Attempted ping on non-upgraded websocket!| ./net/WebSocketHandler.hpp:280
wsd-00027-00053 10:35:36.429696 [ docbroker_005 ] WRN  Child session [0079] not found to forward message: load url=https://pliki.tulcon.pl/apps/richdocuments/wopi/files/937988_ocpfqrmfoi6f?access_token=KoZmUDpA99CjWTQitpTTvmE0hYYpksqp&access_token_ttl=0&permission=edit readonly=0 lang=en| wsd/DocumentBroker.cpp:1448
wsd-00027-00053 10:35:36.435993 [ docbroker_005 ] ERR  Socket #17 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-00027-00053 10:35:36.436050 [ docbroker_005 ] ERR  Socket #17 SSL BIO error: error:140D00CF:SSL routines:SSL_write:protocol is shutdown (errno: Success)| ./net/SslSocket.hpp:273
wsd-00027-00053 10:35:36.436106 [ docbroker_005 ] WRN  ToClient-0079: Exception while closing socket for docKey [/apps/richdocuments/wopi/files/937988_ocpfqrmfoi6f]: error:140D00CF:SSL routines:SSL_write:protocol is shutdown| wsd/ClientSession.cpp:919
1 Like