# Collabora Error 502

**URL:** <https://forum.pydio.com/t/collabora-error-502/7356>\
**Category:** Pydio Cells\
**Created:** [April 28, 2025, 8:01pm UTC](https://forum.pydio.com/t/collabora-error-502/7356 "2025-04-28T20:01:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wey\_Pleyz](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/wey_pleyz/32/2992_2.png) [@Wey\_Pleyz](https://forum.pydio.com/u/Wey_Pleyz)\
**Post date:** [April 28, 2025, 8:01pm UTC](https://forum.pydio.com/t/collabora-error-502/7356/1 "2025-04-28T20:01:57Z")

</div>

For first post, please answer the questions below!

### Describe your issue in detail

cannot get collabora to work. getting blank page and browser console says 502. I dont need ssl or reverse proxy. i just want to access via plain http and custom ports provided.

`http://filesuite.domain.local:8080/browser/dist/cool.html?host=ws://filesuite.domain.local:8080&WOPISrc=http%3A%2F%2Ffilesuite.domain.local%3A8080%2Fwopi%2Ffiles%2F8914ab50-3576-4a3e-8ee1-1b82aca9883e&access_token=C4lrcBWse_R7U1vnVqeOyfDWtuTs5s5hXz6a2hoild8.avFCqFFgqiEDJFG3heZAnzXU-GyfDMGgJkzYN6VRorI&permission=edit&lang=de 502 (Bad Gateway)`

### What version of Cells are you using?

latest

### What is the server OS? Database name/version? Browser name or mobile device description (if issue appears client-side)?

Debian 12

### What steps have you taken to resolve this issue already?

Already searched the entire forum and tried to apply all fixes ive found but its still not working  
trying for 6 hours now

This is my docker-compose file:  
version: “3.9”  
services:  
mysql:  
image: mysql:8  
restart: unless-stopped  
command:  
- --character-set-server=utf8mb4  
- --collation-server=utf8mb4\_unicode\_ci  
environment:  
MYSQL\_ROOT\_PASSWORD: “${MYSQL\_ROOT\_PW}”  
MYSQL\_DATABASE: cells  
MYSQL\_USER: pydio  
MYSQL\_PASSWORD: “${MYSQL\_PYDIO\_PW}”  
volumes:  
- mysql:/var/lib/mysql

cells:  
image: pydio/cells:latest  
restart: unless-stopped  
depends\_on:  
- mysql  
ports:  
- “8080:8080”  
environment:  
CELLS\_BIND: “0.0.0.0:8080”  
CELLS\_EXTERNAL: “http://${FQDN}”  
CELLS\_NO\_TLS: “1”  
CELLS\_LOG: production  
volumes:  
- cells:/var/cells  
- data:/var/cells/data

collabora:  
image: collabora/code:latest  
restart: unless-stopped  
hostname: collabora  
depends\_on:  
- cells  
ports:  
- “9980:9980”  
cap\_add:  
- MKNOD  
environment:  
DOMAIN: |  
filesuite.domain.local(:8080)?|collabora  
EXTRA\_PARAMS: “–o:ssl.enable=false”

volumes:  
mysql:  
cells:  
data:  
collabora:

Settings in Collabora Plugin section:

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/9/9668045c168e0d6eb2fbcf57069a6636e35b9ae2.png)

would be very grateful for support

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [April 30, 2025, 6:33am UTC](https://forum.pydio.com/t/collabora-error-502/7356/2 "2025-04-30T06:33:20Z")

</div>

Hi and welcome to the forum.

I have this in a recent setup that works smoothly:

```auto
# in docker compose file
  office:
        image: collabora/code:latest
        restart: always
        expose: ["9980"]
        cap_add: 
          - MKNOD
        environment:
          - aliasgroup1=https://${ESCAPED_FQDN}
          - domain=${ESCAPED_FQDN}

# where ESCAPED_FQDN=files\.example\.com => the "\" before the dots are important or it won't work

# in the pydio.json (or the plugin editor in admin web ui) 
   "editor.libreoffice": {
        "LIBREOFFICE_CODE_VERSION": "v21",
        "LIBREOFFICE_HOST": "office",
        "LIBREOFFICE_PORT": 9980,
        "LIBREOFFICE_SSL": true,
        "LIBREOFFICE_SSL_SKIP_VERIFY": true,
        "PYDIO_PLUGIN_ENABLED": true
      },

```

---

<div class="post-metadata">

**Author:** ![nmincone](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/nmincone/32/2396_2.png) [@nmincone](https://forum.pydio.com/u/nmincone)\
**Post date:** [May 5, 2025, 12:46pm UTC](https://forum.pydio.com/t/collabora-error-502/7356/3 "2025-05-05T12:46:30Z")

</div>

Have you been able to get it working? Can you hit it by IP alone and without using the FQDN?  
I believe there are errors in your collabora yml syntax.

---

<div class="post-metadata">

**Author:** ![Wey\_Pleyz](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/wey_pleyz/32/2992_2.png) [@Wey\_Pleyz](https://forum.pydio.com/u/Wey_Pleyz)\
**Post date:** [May 5, 2025, 1:10pm UTC](https://forum.pydio.com/t/collabora-error-502/7356/4 "2025-05-05T13:10:17Z")

</div>

yes i can directly run the url and get the “OK” response. i dont have a specifiic collabora yml. its just the compose file.

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [May 13, 2025, 8:04am UTC](https://forum.pydio.com/t/collabora-error-502/7356/5 "2025-05-13T08:04:46Z")

</div>

Hi,

When you use ‘filesuite.domain.local’ as domain, collabora docker will try to connect to wopi service via ‘[http://filesuite.domain.local](http://filesuite.domain.local)’  
So, make sure that your docker collabora understand this fqdn.

To troubleshoot, you can go to collabora container then ping to this fqdn

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [May 14, 2025, 4:38pm UTC](https://forum.pydio.com/t/collabora-error-502/7356/6 "2025-05-14T16:38:21Z")

</div>

For the record, I had some issues configuring the docker compose setup with collabora and I found some very interresting hints in NextCloud forum 😳 It is worth having a look to understand what is at stake and better configure your specific setup:

> **[Collabora integration guide](https://help.nextcloud.com/t/collabora-integration-guide/151879)**
>
> Collabora integration guide Nextcloud integrates functionality to edit office documents online (even collaborative - meaning multiple users can work on the same document at the same time). This integration primarily happens with Collabora Online,...

---

<div class="post-metadata">

**Author:** ![Wey\_Pleyz](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/wey_pleyz/32/2992_2.png) [@Wey\_Pleyz](https://forum.pydio.com/u/Wey_Pleyz)\
**Post date:** [May 17, 2025, 11:09pm UTC](https://forum.pydio.com/t/collabora-error-502/7356/7 "2025-05-17T23:09:52Z")

</div>

thank you for your help so far. ive managed to get it started. but when i open a document it just shows up as a blank white page.

The error message in pydio docker log is  
`Error in libreoffice reverse proxy: context canceled {"error": "context canceled"}`

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [May 22, 2025, 2:33pm UTC](https://forum.pydio.com/t/collabora-error-502/7356/8 "2025-05-22T14:33:04Z")

</div>

Hi,

I have reworked on my setup today and it appears the config I gave above had a few issues.  
I have corrected it with the setup that I am using now without issue.  
Could you please try to adapt yours like this and see if it works?

For the record, to troubleshoot, you should:

- Ensure that both `cells` and `office` docker images are up and running (and in the same docker network)
- Log in the running **cells** docker image and verify that you can ping the collabora container with this command: `ping office`
- Try to open this page: `https://<your fqdn>/hosting/discovery`: you should see an xml `<wopi-discovery>` tag

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [July 21, 2025, 2:33pm UTC](https://forum.pydio.com/t/collabora-error-502/7356/9 "2025-07-21T14:33:55Z")

</div>

Closed on July 21, 2025, 2:33pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
