# Nextcloud Office (Collabora) is not able to establish a connection

**URL:** <https://forum.yunohost.org/t/nextcloud-office-collabora-is-not-able-to-establish-a-connection/42635>\
**Category:** Support apps\
**Tags:** nextcloud, collabora, english\
**Created:** [July 18, 2026, 11:01am UTC](https://forum.yunohost.org/t/nextcloud-office-collabora-is-not-able-to-establish-a-connection/42635 "2026-07-18T11:01:31Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![VS4](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/v/848f3c/32.png) [@VS4](https://forum.yunohost.org/u/VS4)\
**Post date:** [July 29, 2026, 4:17pm UTC](https://forum.yunohost.org/t/nextcloud-office-collabora-is-not-able-to-establish-a-connection/42635/11 "2026-07-29T16:17:29Z")

</div>

Sorry. I did not have enough time the last days.

That’s the nextcloud-log:  
[nextcloud\_log.pdf](https://forum.yunohost.org/uploads/short-url/ti8DCMZ3BFSGs9W1U2Dlg2SkXzH.pdf) (346.3 KB)

And that’s the coolwsd-log:

> **[hastebin](https://paste.yunohost.org/uroqoxufud)**

Meanwhile I activated the Bulit-In-CODE-Server. It’s running and it works.

What I tried before:

I tried to reinstall (office.patronit.eu, patronit.eu/nextcloud, password, microsoft fonts) but get the message: “The service coolwsd didn’t fully execute the action start before the timeout.”

So I ran the following commands - that’s what’s ai and net research suggest:

sudo -i  
yunohost app install collabora --no-remove-on-failure  
sudo systemctl daemon-reload  
sudo coolconfig set ssl.enable false  
sudo coolconfig set ssl.termination true  
sudo coolconfig set net.proto IPv4  
sudo coolconfig set net.listen 127.0.0.1  
sudo nano /etc/coolwsd/coolwsd.xml  
sudo systemctl daemon-reload  
sudo lsof -i :9980  
sudo kill 31187 (the coolwsd process)  
sudo systemctl daemon-reload  
sudo chmod 644 /etc/coolwsd/coolwsd.xml  
sudo mkdir -p /etc/systemd/system/coolwsd.service.d  
echo -e “[Service]\nTimeoutStartSec=180” | sudo tee /etc/systemd/system/coolwsd.service.d/startup-timeout.conf  
sudo systemctl edit coolwsd.service:

[Service]  
TimeoutStartSec=180  
Type=simple

sudo systemctl daemon-reload  
sudo systemctl restart coolwsd  
sudo systemctl status coolwsd

… ended in a nextcloud message:  
”Failed to connect to the remote server: Server error: `GET https://office.patronit.eu/hosting/discovery` resulted in a `502 Bad Gateway` response: 502 Bad Gateway body { width: 35em; margin: 0 a (truncated…)”

---

_[View the full topic](https://forum.yunohost.org/t/nextcloud-office-collabora-is-not-able-to-establish-a-connection/42635)._
