# Help debugging collabora + nextcloud on the same machine on Ubuntu 22.04

**URL:** <https://forum.collaboraonline.com/t/help-debugging-collabora-nextcloud-on-the-same-machine-on-ubuntu-22-04/1250>\
**Category:** Installation & Configuration\
**Created:** [July 14, 2022, 6:19pm UTC](https://forum.collaboraonline.com/t/help-debugging-collabora-nextcloud-on-the-same-machine-on-ubuntu-22-04/1250 "2022-07-14T18:19:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![surfrock66](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/surfrock66/32/507_2.png) [@surfrock66](https://forum.collaboraonline.com/u/surfrock66)\
**Post date:** [July 14, 2022, 6:19pm UTC](https://forum.collaboraonline.com/t/help-debugging-collabora-nextcloud-on-the-same-machine-on-ubuntu-22-04/1250/1 "2022-07-14T18:19:36Z")

</div>

I am on ubuntu 22.04, running nextcloud 24.0.2. and collabora with versions the following:

#### Version Information

##### **COOLWSD**

22.05.4.1 (git hash: 5f985be)

##### **LOKit**

Collabora Office 22.05.3.1 (git hash: 10ffe3b)

I have an apache reverse proxy with a wildcard cert in front of both apps on this box, so nextcloud dot domain dot com and collabora dot domain dot com. I’ve used collabora’s apache reverse proxy documentation exactly, I believe it works, I get the green check in the nextcloud config and if I load the admin page at https :// [collabora.domain.com/browser/dist/admin/admin.html](http://collabora.domain.com/browser/dist/admin/admin.html) I get ssl and everything looks happy. When I try to load a document though, it very quickly (too fast to see) looks like it tries to load 3 times, then I get a blank white page in collabora. In the admin page for collabora, I can see the open document show up for a flash 3 times. Falling back to the logs, I get the following:

```auto
wsd-378947-392880 2022-07-14 11:05:48.097933 -0700 [docbroker_00c] ERR #30: Read failed, have 0 buffered bytes (ECONNRESET: Connection reset by peer)| net/Socket.hpp:1131
wsd-378947-392880 2022-07-14 11:05:48.097992 -0700 [docbroker_00c] ERR #30: Socket write returned -1 (EPIPE: Broken pipe)| net/Socket.hpp:1430
wsd-378947-392880 2022-07-14 11:05:48.098128 -0700 [docbroker_00c] ERR ToClient-03c: No DocBroker found, or DocBroker marked to be destroyed. Terminating session ToClient-03c| wsd/ClientSession.cpp:326
wsd-378947-392880 2022-07-14 11:05:48.098144 -0700 [docbroker_00c] ERR ToClient-03c: No DocBroker found, or DocBroker marked to be destroyed. Terminating session ToClient-03c| wsd/ClientSession.cpp:326
wsd-378947-392880 2022-07-14 11:05:48.098155 -0700 [docbroker_00c] ERR ToClient-03c: No DocBroker found, or DocBroker marked to be destroyed. Terminating session ToClient-03c| wsd/ClientSession.cpp:326
wsd-378947-392880 2022-07-14 11:05:48.098173 -0700 [docbroker_00c] ERR ToClient-03c: No DocBroker found, or DocBroker marked to be destroyed. Terminating session ToClient-03c| wsd/ClientSession.cpp:326

```

I’ve searched, but I’m not finding anything to help troubleshoot this issue. I have debug logging as well, but it’s a lot, and I’m not authorized to upload attachments, so it’s here: [https://pastebin.com/raw/GaDzgXeG](https://pastebin.com/raw/GaDzgXeG)

---

<div class="post-metadata">

**Author:** ![pedro.silva](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/pedro.silva/32/4_2.png) [@pedro.silva](https://forum.collaboraonline.com/u/pedro.silva)\
**Post date:** [July 28, 2022, 9:14am UTC](https://forum.collaboraonline.com/t/help-debugging-collabora-nextcloud-on-the-same-machine-on-ubuntu-22-04/1250/2 "2022-07-28T09:14:00Z")

</div>

@rash419 could you please take a look?

---

<div class="post-metadata">

**Author:** ![wwe](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wwe/32/534_2.png) [@wwe](https://forum.collaboraonline.com/u/wwe)\
**Post date:** [August 11, 2022, 8:04pm UTC](https://forum.collaboraonline.com/t/help-debugging-collabora-nextcloud-on-the-same-machine-on-ubuntu-22-04/1250/3 "2022-08-11T20:04:25Z")

</div>

both systems (even running on the same machine) must resolve each other using right DNS records (sometimes DNS or access local resources through public URL is an issue - search for “rebind protection”) .

running

- `https://collabora.xyz/hosting/discovery` from the client
- `curl https://nextcloud.xyz/login` and
- `curl https://collabora.xyz/hosting/discovery`

on your server might help to isolate the issue. Check this #Nextcloud forum topic and references for further insights

> **[Collabora/CODE not working with NC 24.0.3 in Docker](https://help.nextcloud.com/t/collabora-code-not-working-with-nc-24-0-3-in-docker/143324/2?u=wwe)**
>
> You find detailed example here: the referenced “green mark” in Nextcloud Office settings only shows the connection form Nextcloud to Collabora works, it doesn’t show reverse connection neither client to Collabora… see this post As I see you point...
