Why might Collabora CODE docker image not be responding to HTTP(S)?

Hey Hey,

I’m having some problems getting the Collabora docker image to run. First time poster here, any help that can point me in the right direction is appreciated.

I’m trying to get the Collabora docker image set up.

Docs I’ve been following: https://nextcloud.com/collaboraonline/ also taking in https://www.collaboraoffice.com/code/docker/

Before setting up the reverse proxy, I wanted to prove the docker image was serving content:

root@srv-4qw44:~# curl -k https://localhost:9980
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to localhost:9980

From inside the docker image:
root@5b5dec6105cd:/# curl 127.0.0.1:9980
curl: (7) Failed to connect to 127.0.0.1 port 9980: Connection refused

What I’m seeing is that both from inside and outside the container are failing requests of HTTP or HTTPS on port 9980.

I’m expecting to see “OK” or at least some random HTML.

I am trying to start the docker image with:
docker run -t -d -p 127.0.0.1:9980:9980 -e "domain=tim\\.example\\.co\\.uk" -e "username=admin" -e "password=Test12345" --cap-add MKNOD --restart always collabora/code

docker logs gives me https://pastebin.com/raw/iDyFWkgP

root@srv-4qw44:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION=“Ubuntu 18.04.2 LTS”

root@srv-4qw44:~# docker -v
Docker version 18.09.6, build 481bc77

I’m happy to offer more information - any thoughts or suggestions would be very welcome!

I’ve not fixed it, but I’ve worked around it by using different versions:

root@srv-yce6b:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION=“Ubuntu 16.04.6 LTS”
root@srv-yce6b:~# docker -v
Docker version 18.09.2, build 6247962

did you try curl https://127.0.0.1:9980 --insecure inside the container?
or docker exec <your-collabora-container-id> curl https://127.0.0.1:9980 --insecure outside the container.

I did.

They got “connection refused”

I’ve deleted that server and container now - my suspicion is that those versions don’t play nicely together.

Thanks for the rapid response @Reiner_Nippes - I appreciate it!

Hi tdobson,

I’am using native debian 9, nc 16, lool, apache https reverse complete dockered and it works
Feel free to contact me if you want the try again.

Regards
Ralf

Hey Ralf,

can you send us here your docker config, what you have done?
I have the same problem and I can´t fix it :frowning:

Regards

matze

Hi

I am on vacancy and will contact you end of next week

1 Like