websocket error when opening .odt

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud Hub 26 Winter (33.0.0)
  • Operating system and version (e.g., Ubuntu 24.04):
    • debian 13
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.66 (Debian)
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Apache/2.4.66 (Debian)
  • PHP version (e.g, 8.3):
    • 8.2
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • after having installed nextcloud and collabora and tried to open an .odt
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • apache reverse proxy on 192.168.0.3. nextcloud and collabora in 2 separate lxc containers
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • ?

Summary of the issue you are facing:

Collabora and nextcloud installed and configured. Apache reverse proxy configured on 192.168.0.3; 2 hosts https://cloud.osteo7-7.ch redirects to 192.168.0.78 and https://collabora.osteo7-7.ch redirects to 192.168.0.13:9980. Nextcloud interface says Collabora server is accessible. Firewall has 80 and 443 opened and all traffics goes directly to 192.168.0.3 where the reverse proxy is.

Everything seems fine but when trying to open an .odt, firefox console says : Firefox ne peut établir de connexion avec le serveur à l’adresse wss://collabora.osteo7-7.ch/cool/http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2%3Faccess_token%3DgAjhogv9Wk14e0IZir85OByb6tYL6K9F%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2&compat=/ws.

and

La connexion avec wss://collabora.osteo7-7.ch/cool/http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2%3Faccess_token%3DgAjhogv9Wk14e0IZir85OByb6tYL6K9F%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2&compat=/ws a été interrompue pendant le chargement de la page.

Steps to replicate it (hint: details matter!):

  1. log into https://cloud.osteo7-7.ch

    go to Files
    
    F12 in firefox
    
    open an .odt doc
    

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

{"reqId":"GdFV3VIU4SYoUVBsV3Hm","level":3,"time":"2026-03-16T11:06:13+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=hgKNXWS6TakjYEoBaSPri4oZVOD2hRcJ&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"E6dhh6w4N1y5BwmeZH9S","level":3,"time":"2026-03-16T11:11:17+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=MNAU1DsD4mvWRy8IV6kNWm5ev31hS84U&access_token_ttl=0","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"sSfG3FV2DNI0WTJyvkkB","level":3,"time":"2026-03-16T11:11:19+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=MNAU1DsD4mvWRy8IV6kNWm5ev31hS84U&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"QO5KDcR1uZyE5FXIupQq","level":3,"time":"2026-03-16T11:12:28+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=2MqM6JMvamPYBRThnOk1Ha0Ipi8iffEb&access_token_ttl=0","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"tL72FNFyBHpbETp8limE","level":3,"time":"2026-03-16T11:12:29+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=2MqM6JMvamPYBRThnOk1Ha0Ipi8iffEb&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"EkO0ONASdlyLqYDCxRVh","level":3,"time":"2026-03-16T11:20:16+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=sGbYk9dF6kfDMbejg11kE0XajaeNvta0&access_token_ttl=0","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"xO5YG6NKABFHxuS86uQ0","level":3,"time":"2026-03-16T11:20:16+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=sGbYk9dF6kfDMbejg11kE0XajaeNvta0&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"wHnIqlP3ISVvxAF20ctL","level":3,"time":"2026-03-16T12:04:47+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=qFg28ZNt94UOVOUvJxvYwl7WFGOPdWzB&access_token_ttl=0","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"TSx8LnhQm2Ms28mmAgHm","level":3,"time":"2026-03-16T12:04:47+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=qFg28ZNt94UOVOUvJxvYwl7WFGOPdWzB&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"lOOcDtc90ye7oRSrGdt7","level":3,"time":"2026-03-16T12:18:49+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=gAjhogv9Wk14e0IZir85OByb6tYL6K9F&access_token_ttl=0","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"o2aa3ZOdQ7JQp8sIZda5","level":3,"time":"2026-03-16T12:18:51+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=gAjhogv9Wk14e0IZir85OByb6tYL6K9F&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

[WARN] viewer: No files provided, skipping update 
Object { app: "viewer", uid: "admin", level: 2 }
index.mjs:44:17
[WARN] viewer: No files provided, skipping update 
Object { app: "viewer", uid: "admin", level: 2 }
index.mjs:44:17
File info for /Nouveau document.odt fetched 
Object { filename: "/Nouveau document.odt", basename: "Nouveau document.odt", lastmod: "Sun, 15 Mar 2026 10:26:03 GMT", size: 1268, type: "file", etag: "83e45787f7c1cc9bb459b43f328cb10c", mime: "application/vnd.oasis.opendocument.text", tags: "", getcontentlength: 1268, getcontenttype: "application/vnd.oasis.opendocument.text", … }
Viewer.vue:666:1
Feature Policy: Skipping unsupported feature name “clipboard-read”. vue.runtime.esm.js:7399:12
Feature Policy: Skipping unsupported feature name “clipboard-write”. vue.runtime.esm.js:7399:12
Feature Policy: Skipping unsupported feature name “clipboard-read”. vue.runtime.esm.js:6331:16
Feature Policy: Skipping unsupported feature name “clipboard-write”. vue.runtime.esm.js:6331:16
[getWopiUrl] http://192.168.0.78/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2 url.js:28:10
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. cool.html
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help https://xhr.spec.whatwg.org/#sync-warning bundle.js:9590:76
[viewer] Received post message App_LoadingStatus 
Object { Status: "Initialized" }
 false Office.vue:387:1
Firefox ne peut établir de connexion avec le serveur à l’adresse wss://collabora.osteo7-7.ch/cool/http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2%3Faccess_token%3DimbZAQ9Wxrzk1aptoDj3Kl5uBopq23X4%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2&compat=/ws. global.js:1:38365
[viewer] Received post message Action_Load_Resp 
Object { errorType: "websocketunauthorized", success: false, errorMsg: "Hôte WOPI non autorisé. Veuillez essayer de nouveau plus tard et en faire part à votre administrateur si le problème persiste.", result: "" }
 false Office.vue:387:1
La connexion avec wss://collabora.osteo7-7.ch/cool/http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2%3Faccess_token%3DimbZAQ9Wxrzk1aptoDj3Kl5uBopq23X4%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2&compat=/ws a été interrompue pendant le chargement de la page. global.js:1:38365
TaskWorker initialised 4 TaskWorker.js:31:10

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

[Mon Mar 16 13:24:03.069049 2026] [proxy:error] [pid 408701:tid 408701] [client 208.87.243.141:33624] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:04.514184 2026] [proxy:error] [pid 407841:tid 407841] [client 208.87.243.141:54866] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:06.315140 2026] [proxy:error] [pid 408762:tid 408762] [client 208.87.243.141:54870] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:06.436882 2026] [proxy:error] [pid 408663:tid 408663] [client 208.87.243.141:54882] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:08.374188 2026] [proxy:error] [pid 406943:tid 406943] [client 208.87.243.141:54892] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:10.590664 2026] [proxy:error] [pid 408664:tid 408664] [client 208.87.243.141:54908] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:11.570173 2026] [proxy:error] [pid 406927:tid 406927] [client 208.87.243.141:54924] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:12.307134 2026] [proxy:error] [pid 407846:tid 407846] [client 208.87.243.141:54956] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:12.656316 2026] [proxy:error] [pid 393727:tid 393727] [client 208.87.243.141:54958] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:15.591206 2026] [proxy:error] [pid 408663:tid 408663] [client 208.87.243.141:45234] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:18.077160 2026] [proxy:error] [pid 406943:tid 406943] [client 208.87.243.141:45250] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:18.387305 2026] [proxy:error] [pid 408664:tid 408664] [client 208.87.243.141:45254] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:26:02.170124 2026] [proxy:error] [pid 409696:tid 409696] (32)Broken pipe: [client 208.87.243.141:51036] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade
[Mon Mar 16 13:26:02.178208 2026] [proxy:error] [pid 409675:tid 409675] (32)Broken pipe: [client 208.87.243.141:36980] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade
[Mon Mar 16 13:26:02.658189 2026] [proxy:error] [pid 409683:tid 409683] (32)Broken pipe: [client 208.87.243.141:50998] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade
[Mon Mar 16 13:26:02.815815 2026] [proxy:error] [pid 409705:tid 409705] (32)Broken pipe: [client 208.87.243.141:51048] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade
[Mon Mar 16 13:26:03.172840 2026] [proxy:error] [pid 409697:tid 409697] (32)Broken pipe: [client 208.87.243.141:51004] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade
[Mon Mar 16 13:26:03.497768 2026] [proxy:error] [pid 409702:tid 409702] (32)Broken pipe: [client 208.87.243.141:51044] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

<?php
$CONFIG = array (
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\TIFF',
    4 => 'OC\\Preview\\HEIC',
    5 => 'OC\\Preview\\HEIF',
  ),
  'instanceid' => 'ocrptkt665e2',
  'passwordsalt' => 'xxxx',
  'secret' => 'xxxx',
  'trusted_domains' => 
  array (
    0 => '192.168.0.78',
    1 => 'cloud.osteo7-7.ch',
    2 => 'collabora.osteo7-7.ch',
  ),
  'datadirectory' => '/var/www/nextcloud_data',
  'dbtype' => 'mysql',
  'version' => '33.0.0.16',
  'overwritehost' => 'cloud.osteo7-7.ch',
  'overwriteprotocol' => 'https',
  'overwrite.cli.url' => 'https://cloud.osteo7-7.ch',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'tibor',
  'dbpassword' => 'xxxx',
  'installed' => true,
  'app_install_overwrite' => 
  array (
    0 => 'openotp_auth',
  ),
  'mail_smtppassword' => 'xxxx',
  'mail_smtpname' => 'csernay@osteo7-7.ch',
  'mail_domain' => 'osteo7-7.ch',
  'mail_from_address' => 'csernay',
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => 'mail.infomaniak.com',
  'mail_smtpauth' => true,
  'mail_smtpport' => '465',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpstreamoptions' => 
  array (
    'ssl' => 
    array (
      'allow_self_signed' => false,
      'verify_peer' => true,
      'verify_peer_name' => true,
    ),
  ),
  'mail_smtpsecure' => 'ssl',
  'twofactor_enforced' => 'false',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
  ),
  'maintenance' => false,
  'content_security_policy_allowed_domains' => 
  array (
    0 => 'collabora.osteo7-7.ch',
    1 => 'https://collabora.osteo7-7.ch',
    2 => '192.168.0.13',
  ),
);

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.
Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud Hub 26 Winter (33.0.0)
  • Operating system and version (e.g., Ubuntu 24.04):
    • debian 13
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.66 (Debian)
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Apache/2.4.66 (Debian)
  • PHP version (e.g, 8.3):
    • 8.2
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • after having installed nextcloud and collabora and tried to open an .odt
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • apache reverse proxy on 192.168.0.3. nextcloud and collabora in 2 separate lxc containers
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • ?

Summary of the issue you are facing:

Collabora and nextcloud installed and configured. Apache reverse proxy configured on 192.168.0.3; 2 hosts https://cloud.osteo7-7.ch redirects to 192.168.0.78 and https://collabora.osteo7-7.ch redirects to 192.168.0.13:9980. Nextcloud interface says Collabora server is accessible. Firewall has 80 and 443 opened and all traffics goes directly to 192.168.0.3 where the reverse proxy is.

Everything seems fine but when trying to open an .odt, firefox console says : Firefox ne peut établir de connexion avec le serveur à l’adresse wss://collabora.osteo7-7.ch/cool/http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2%3Faccess_token%3DgAjhogv9Wk14e0IZir85OByb6tYL6K9F%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2&compat=/ws.

and

La connexion avec wss://collabora.osteo7-7.ch/cool/http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2%3Faccess_token%3DgAjhogv9Wk14e0IZir85OByb6tYL6K9F%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2&compat=/ws a été interrompue pendant le chargement de la page.

Steps to replicate it (hint: details matter!):

  1. log into https://cloud.osteo7-7.ch

    go to Files
    
    F12 in firefox
    
    open an .odt doc
    

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

{"reqId":"GdFV3VIU4SYoUVBsV3Hm","level":3,"time":"2026-03-16T11:06:13+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=hgKNXWS6TakjYEoBaSPri4oZVOD2hRcJ&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"E6dhh6w4N1y5BwmeZH9S","level":3,"time":"2026-03-16T11:11:17+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=MNAU1DsD4mvWRy8IV6kNWm5ev31hS84U&access_token_ttl=0","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"sSfG3FV2DNI0WTJyvkkB","level":3,"time":"2026-03-16T11:11:19+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=MNAU1DsD4mvWRy8IV6kNWm5ev31hS84U&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"QO5KDcR1uZyE5FXIupQq","level":3,"time":"2026-03-16T11:12:28+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=2MqM6JMvamPYBRThnOk1Ha0Ipi8iffEb&access_token_ttl=0","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"tL72FNFyBHpbETp8limE","level":3,"time":"2026-03-16T11:12:29+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=2MqM6JMvamPYBRThnOk1Ha0Ipi8iffEb&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"EkO0ONASdlyLqYDCxRVh","level":3,"time":"2026-03-16T11:20:16+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=sGbYk9dF6kfDMbejg11kE0XajaeNvta0&access_token_ttl=0","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"xO5YG6NKABFHxuS86uQ0","level":3,"time":"2026-03-16T11:20:16+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=sGbYk9dF6kfDMbejg11kE0XajaeNvta0&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"wHnIqlP3ISVvxAF20ctL","level":3,"time":"2026-03-16T12:04:47+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=qFg28ZNt94UOVOUvJxvYwl7WFGOPdWzB&access_token_ttl=0","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"TSx8LnhQm2Ms28mmAgHm","level":3,"time":"2026-03-16T12:04:47+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=qFg28ZNt94UOVOUvJxvYwl7WFGOPdWzB&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"lOOcDtc90ye7oRSrGdt7","level":3,"time":"2026-03-16T12:18:49+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=gAjhogv9Wk14e0IZir85OByb6tYL6K9F&access_token_ttl=0","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}
{"reqId":"o2aa3ZOdQ7JQp8sIZda5","level":3,"time":"2026-03-16T12:18:51+00:00","remoteAddr":"192.168.0.13","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2?access_token=gAjhogv9Wk14e0IZir85OByb6tYL6K9F&access_token_ttl=0&permission=edit","scriptName":"/index.php","message":"WOPI error: Invalid WOPI proof","userAgent":"COOLWSD HTTP Agent 25.04.9.2","version":"33.0.0.16","exception":{"Exception":"OCA\\Richdocuments\\Exceptions\\WopiException","Message":"Invalid WOPI proof","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Richdocuments\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":110,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php","Line":107,"message":"WOPI error: Invalid WOPI proof","exception":"{\"class\":\"OCA\\Richdocuments\\Exceptions\\WopiException\",\"message\":\"Invalid WOPI proof\",\"code\":0,\"file\":\"/var/www/nextcloud/apps/richdocuments/lib/Middleware/WOPIMiddleware.php:107\",\"trace\":\"#0 /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php(73): OCA\\Richdocuments\\Middleware\\WOPIMiddleware->beforeController()\\n#1 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(110): OC\\AppFramework\\Middleware\\MiddlewareDispatcher->beforeController()\\n#2 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#3 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#4 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#5 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#6 {main}\"}","CustomMessage":"WOPI error: Invalid WOPI proof"}}

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

[WARN] viewer: No files provided, skipping update 
Object { app: "viewer", uid: "admin", level: 2 }
index.mjs:44:17
[WARN] viewer: No files provided, skipping update 
Object { app: "viewer", uid: "admin", level: 2 }
index.mjs:44:17
File info for /Nouveau document.odt fetched 
Object { filename: "/Nouveau document.odt", basename: "Nouveau document.odt", lastmod: "Sun, 15 Mar 2026 10:26:03 GMT", size: 1268, type: "file", etag: "83e45787f7c1cc9bb459b43f328cb10c", mime: "application/vnd.oasis.opendocument.text", tags: "", getcontentlength: 1268, getcontenttype: "application/vnd.oasis.opendocument.text", … }
Viewer.vue:666:1
Feature Policy: Skipping unsupported feature name “clipboard-read”. vue.runtime.esm.js:7399:12
Feature Policy: Skipping unsupported feature name “clipboard-write”. vue.runtime.esm.js:7399:12
Feature Policy: Skipping unsupported feature name “clipboard-read”. vue.runtime.esm.js:6331:16
Feature Policy: Skipping unsupported feature name “clipboard-write”. vue.runtime.esm.js:6331:16
[getWopiUrl] http://192.168.0.78/index.php/apps/richdocuments/wopi/files/966_ocrptkt665e2 url.js:28:10
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. cool.html
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help https://xhr.spec.whatwg.org/#sync-warning bundle.js:9590:76
[viewer] Received post message App_LoadingStatus 
Object { Status: "Initialized" }
 false Office.vue:387:1
Firefox ne peut établir de connexion avec le serveur à l’adresse wss://collabora.osteo7-7.ch/cool/http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2%3Faccess_token%3DimbZAQ9Wxrzk1aptoDj3Kl5uBopq23X4%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2&compat=/ws. global.js:1:38365
[viewer] Received post message Action_Load_Resp 
Object { errorType: "websocketunauthorized", success: false, errorMsg: "Hôte WOPI non autorisé. Veuillez essayer de nouveau plus tard et en faire part à votre administrateur si le problème persiste.", result: "" }
 false Office.vue:387:1
La connexion avec wss://collabora.osteo7-7.ch/cool/http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2%3Faccess_token%3DimbZAQ9Wxrzk1aptoDj3Kl5uBopq23X4%26access_token_ttl%3D0%26permission%3Dedit/ws?WOPISrc=http%3A%2F%2F192.168.0.78%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F966_ocrptkt665e2&compat=/ws a été interrompue pendant le chargement de la page. global.js:1:38365
TaskWorker initialised 4 TaskWorker.js:31:10

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

[Mon Mar 16 13:24:03.069049 2026] [proxy:error] [pid 408701:tid 408701] [client 208.87.243.141:33624] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:04.514184 2026] [proxy:error] [pid 407841:tid 407841] [client 208.87.243.141:54866] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:06.315140 2026] [proxy:error] [pid 408762:tid 408762] [client 208.87.243.141:54870] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:06.436882 2026] [proxy:error] [pid 408663:tid 408663] [client 208.87.243.141:54882] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:08.374188 2026] [proxy:error] [pid 406943:tid 406943] [client 208.87.243.141:54892] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:10.590664 2026] [proxy:error] [pid 408664:tid 408664] [client 208.87.243.141:54908] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:11.570173 2026] [proxy:error] [pid 406927:tid 406927] [client 208.87.243.141:54924] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:12.307134 2026] [proxy:error] [pid 407846:tid 407846] [client 208.87.243.141:54956] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:12.656316 2026] [proxy:error] [pid 393727:tid 393727] [client 208.87.243.141:54958] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:15.591206 2026] [proxy:error] [pid 408663:tid 408663] [client 208.87.243.141:45234] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:18.077160 2026] [proxy:error] [pid 406943:tid 406943] [client 208.87.243.141:45250] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:24:18.387305 2026] [proxy:error] [pid 408664:tid 408664] [client 208.87.243.141:45254] AH10221: proxy: CONNECT: origin flushing failed (-102)
[Mon Mar 16 13:26:02.170124 2026] [proxy:error] [pid 409696:tid 409696] (32)Broken pipe: [client 208.87.243.141:51036] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade
[Mon Mar 16 13:26:02.178208 2026] [proxy:error] [pid 409675:tid 409675] (32)Broken pipe: [client 208.87.243.141:36980] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade
[Mon Mar 16 13:26:02.658189 2026] [proxy:error] [pid 409683:tid 409683] (32)Broken pipe: [client 208.87.243.141:50998] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade
[Mon Mar 16 13:26:02.815815 2026] [proxy:error] [pid 409705:tid 409705] (32)Broken pipe: [client 208.87.243.141:51048] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade
[Mon Mar 16 13:26:03.172840 2026] [proxy:error] [pid 409697:tid 409697] (32)Broken pipe: [client 208.87.243.141:51004] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade
[Mon Mar 16 13:26:03.497768 2026] [proxy:error] [pid 409702:tid 409702] (32)Broken pipe: [client 208.87.243.141:51044] AH03307: ap_proxy_transfer_between_connections: error on origin - ap_pass_brigade

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

<?php
$CONFIG = array (
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\TIFF',
    4 => 'OC\\Preview\\HEIC',
    5 => 'OC\\Preview\\HEIF',
  ),
  'instanceid' => 'ocrptkt665e2',
  'passwordsalt' => 'xxxx',
  'secret' => 'xxxx',
  'trusted_domains' => 
  array (
    0 => '192.168.0.78',
    1 => 'cloud.osteo7-7.ch',
    2 => 'collabora.osteo7-7.ch',
  ),
  'datadirectory' => '/var/www/nextcloud_data',
  'dbtype' => 'mysql',
  'version' => '33.0.0.16',
  'overwritehost' => 'cloud.osteo7-7.ch',
  'overwriteprotocol' => 'https',
  'overwrite.cli.url' => 'https://cloud.osteo7-7.ch',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'tibor',
  'dbpassword' => 'xxxx',
  'installed' => true,
  'app_install_overwrite' => 
  array (
    0 => 'openotp_auth',
  ),
  'mail_smtppassword' => 'xxxx',
  'mail_smtpname' => 'csernay@osteo7-7.ch',
  'mail_domain' => 'osteo7-7.ch',
  'mail_from_address' => 'csernay',
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => 'mail.infomaniak.com',
  'mail_smtpauth' => true,
  'mail_smtpport' => '465',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpstreamoptions' => 
  array (
    'ssl' => 
    array (
      'allow_self_signed' => false,
      'verify_peer' => true,
      'verify_peer_name' => true,
    ),
  ),
  'mail_smtpsecure' => 'ssl',
  'twofactor_enforced' => 'false',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
  ),
  'maintenance' => false,
  'content_security_policy_allowed_domains' => 
  array (
    0 => 'collabora.osteo7-7.ch',
    1 => 'https://collabora.osteo7-7.ch',
    2 => '192.168.0.13',
  ),
);

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

Hello @tibor1, welcome to the Nextcloud community! :handshake:

please review Collabora integration guide which address most issues. Be aware Collabora requires websockets which must be explicitly enabled in some reverse proxies.

Hi,

Thanks for your reply !

Yes i followed the collabora proxy settings guide and wrote the reverse proxy as mentionned :

<VirtualHost *:443>

….

Main websocket

ProxyPassMatch “/cool/(.*)/ws$” ws://192.168.0.13:9980/cool/$1/ws nocanon

Admin Console websocket

ProxyPass /cool/adminws ws://192.168.0.13:9980/cool/adminws

But i will look at the link you mentionned…