// troubleshooting guide · collabora online
Collabora 'Unexpected Connection Error' in Nextcloud
- Status
- Workaround available
- platforms:
- Nextcloud
- updated:
- November 16, 2026
- reports:
- 2
- Method
- how we research
RUNBOOK · collabora-online/unexpected-connection-error2 FIXES
// quick answer
The official docs trace this to the Nextcloud Office app being enabled only for certain groups. Remove the group restriction.
Most likely fix: Remove the group filter
How to fix it
// try these in order, the most common fix is first
FIX 1Remove the group filter
- 01Open Apps in Nextcloud and find Nextcloud Office
- 02Remove the 'Limit to groups' restriction
- 03Reopen the document
Did this fix it?FIX 2Check the firewall
- 01If the log says 'Connection is not allowed', restart Docker after the firewall so its iptables rules are applied
Did this fix it?
Symptoms
'We are sorry, this is an unexpected connection error. Please try again.' when opening a document.
Why it happens
- C-01Nextcloud Office app limited to specific groups
- C-02Firewall blocking the connection ('Connection is not allowed')
// this guide also covers
- collabora unexpected connection error
- nextcloud office unexpected connection error
Still not working?
If Collabora Online keeps failing, you're not alone. See every Collabora Online problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
All not loading, error messages & connection guides →
ONLYOFFICE 'Document Security Token Is Not Correctly Formed' Error (ONLYOFFICE)
Word Experienced an Error Trying to Open the File (Microsoft Word)
Zoho Writer Reconnecting or Slow Typing (Zoho Writer)
Other Collabora Online errors
- Collabora Document Loading Failed in Nextcloud
- Collabora Unauthorized WOPI Host Error
- Could Not Establish Connection to the Collabora Online Server
- Nextcloud Office Built-in CODE Server Not Working
- Collabora 'Socket Connection Could Not Be Established' Error
- Why Is Collabora Online So Slow?
- Collabora Document Cannot Be Saved in Nextcloud
- Collabora Opens Documents Read-Only