Nextcloud with nextcloud office via collabora

Hello. I deployed a test bench on digital ocean and everything works fine.

  1. Installed nextcloud via docker.
  2. Set up 2 domains via nginx_proxy_manager and everything worked successfully on https: and (answer “ok”)

Now I did everything the same way on a virtual machine behind the router. Https also works fine, but it is not possible to connect nextcloud office to collabora. I get an error

Failed to connect to the remote server: cURL error 28: Connection timed out after 45000 milliseconds (see libcurl - Error Codes) for

I suspect that the problem is somewhere in the nat settings - this is the only difference from my test bench on digital ocean.

Can you tell me how to solve the problem?

hello @Anonimniy_Anonim welcome to the forum.

please follow Collabora integration guide

Hello. I have a problem with domain names. I used duckdns which resolved the wrong IPs. Now I bought a domain and the resolution is ok. All tests from your guide passed successfully.

I also found that you need to specify an entry in the /etc/hosts file like
After this, the connection occurred, but when opening the file I still get the error:

Document loading failed
Failed to read document from storage, please try to load the document again.

Please check the Collabora Online server log for more details and make sure that Nextcloud can be reached from there.

it sounds Collabora can not access Nextcloud. This should not happen if the checks from the guide are successful. but we need more details to analyze the problem.

Hi again. I installed via nextcloud AIO to eliminate problems.
I couldn’t pass the domain verification, so I skipped it. After that, all the containers started, I got to the web through my domain https, but I still can’t start the office. Where should I look? I suspect that the problem is in the firewall on the router, but I don’t understand what else I can look at besides port forwarding. I use Mikrotik.

It worked. It was necessary to configure hairpin nat correctly

1 Like