Hi,
I'm back with a new tiny problem. My setup works perfectly: Nextcloud installed as a Docker component on Librelec, accessible from everywhere via my Duckdns domain and certified with letsencrypt. I also have cron tasks running everyday in order to backup my Nextcloud calendars. However, those cron tasks are actually cUrl commands which download an ICS file from my own Nextcloud instance. Unfortunately, I've discovered that those curl commands don't reach their targets because of a time out error, as described on this output:
LibreELEC:~ # curl -v -k -u <username>:<password> -o <destination> https://<domain:port>/remote.php/dav/calendars/<username>/personal?export
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying <ip:port>...
* TCP_NODELAY set
0 0 0 0 0 0 0 0 --:--:-- 0:00:31 --:--:-- 0* connect to <ip> port <port> failed: Connection timed out
* Failed to connect to <domain> port <port>: Connection timed out
0 0 0 0 0 0 0 0 --:--:-- 0:00:31 --:--:-- 0
* Closing connection 0
curl: (7) Failed to connect to <domain> port <port>: Connection timed out
I've checked that I can access https://<domain:port>/http://remote.php/dav/calendars/<username>/personal?export from my browser and download the ICS file.
I guess I could do something to make curl being able to download the file from my Raspberry and that it might be linked to the SSL certificate, but I can't understand how.
Does anyone have an idea?
Thanks