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