cURL error 28: Operation timed out after 120003 milliseconds

Hello,

Problems opening any file, model with extensions (.odp, .odt, .odg, others).

When I try to open any file in the Template folder, the server gives an error that requires restarting the entire server.

===

Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache/2.4.58 (Ubuntu) Server at drive.networld.com.br Port 443

===

NextCloud Error:

====

ConnectException
cURL error 28: Operation timed out after 5020 milliseconds with 0 bytes
received (see libcurl - Error Codes) for
https://drive.networld.com.br/apps/richdocumentscode/proxy.php?req=/cool/convert-to/png
Failed to convert preview: cURL error 28: Operation timed out after 5020 milliseconds with 0 bytes received (see libcurl - Error Codes) for
https://drive.networld.com.br/apps/richdocumentscode/proxy.php?req=/cool/convert-to/png

===

Other:

===

ClientException
Client error: POST https://drive.networld.com.br/ConvertService.ashx resulted in a 404 Not Found response: < (truncated…)
getConvertedUri: from odt to jpeg

===

Has anyone experienced this problem and found a solution to resolve it?

Thank you!

For the first problem.

ConnectException
This is a communication between your Nextcloud server and i think richdocumentcode/proxy.php on the same server. Maybe you can login on your server and test the command and communication manually. Maybe a routing, firewall, reverse proxy, nameserver, … problem.

ClientException
Maybe wrong settings e.g. for a reverse proxy server in config.php

'onlyoffice' => [
  ...
],

Do you use a reverse proxy e.g. nginx?

Hello,

I don’t use reverse proxy, (nginx), I use apache2 directly with php-fpm.

In the configuration of the NextCloud Office:

Collabora Online Server is ready.
Collabora Online Development Edition 24.04.11.2 b6712dc6c4
URL used by browser: https://drive.networld.com.br
Nextcloud URL used by Collabora: https://drive.networld.com.br (Determined from the browser URL)

I am using the option:

Using the embedded CODE - Collabora Online Development Edition

I didn’t do any configuration other than what NextCloud itself recommended.

Thank you.

Can anyone else help?

I need to fix this problem so I can present the platform to a client. I can’t present the platform with this error, the client might end up giving up.

Another thing I noticed is that I can’t create any NextCloud Office files, as I can’t see that option in any account.

Thank you!