From 24.04.10.1.1 + can't start collabora docker: [ coolwsd ] FTL Failed to initialize COOLWSD: Bad URI syntax: bad or invalid port number: 443

Hi everyone,

I’ve been running Collabora in a docker container with the following compose.yml:

services:
  collabora-app:
    image: collabora/code:24.04.10.1.1
    container_name: collabora-app
    ports:
      - "127.0.0.1:8085:9980"
    environment:
      - domain=mydomain.com
      - extra_params=--o:ssl.enable=false --o:hostname=mydomain.com --o:ssl.termination=true
      - aliasgroup1=https://mydomain.com:443 ,https://mydomain-docs.eknow.com:443
    extra_hosts:
      - "mydomain.com:host-gateway"

Docker is running on a VM that’s exposed on the internet. I’m using Nginx as a reverse proxy for my Collabora docker container where I’m proxying my local port 8085 to 443.

For some more context on how I’m running my setup (behind a reverse proxy) please refer to this post

Everything was running fine up to the most recent updates on the Collabora docker version. Since the version 24.04.10.1.1 I’m not able to run anymore my setup, with docker always failing to start with:

[ coolwsd ] FTL  Failed to initialize COOLWSD: Bad URI syntax: bad or invalid port number: 4
43 

I’ve tried to search around which “recent” changes could be possible causing this although without any luck, so I’m wondering if anyone have come across with this at all and can provide some directions.

Thank you in advance!

Sorry for the inconvenience, I just spoted my own error:

In my aliasgroup1 environment variable, specifically the space after the comma in alias list, was causing this issue!

It seems up to version 24.04.10.1.1 this was never a problem!

Hope this helps someone in the future!

Thanks once again!

@n36ul4 Amazing! I’m truly grateful that you took the time to share both the situation and the solution.

Many thanks,
Darshan

1 Like