Nexcloud hosted at home on Fritzbox cannot federate as a Trusted Server

Versions for my Homecloud:
Nextcloud version (eg, 20.0.5): 23.0.2
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 10 (buster)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.38
PHP version (eg, 7.4): PHP 7.3.31-1


My Setup:
I have multiple Nexcloud Servers: One is hostet from hetzner.de (Storage Share) - let’s call it HostedCloud - and another one on my RaspberryPi 4 (let’ call this one “Homecloud”). My Homecloud is accessible via a Subdomain (homecloud.domain.de) which has a DNS Record that points to MyFritz! address. In my Fitz Box i have set up a “port sharing” (i rly don’t know if this is the right phrase in english) that points to my Raspberry Pi. I also had a Access via an DynDNS Service, but i hade a Probleme there so i switched to MyFritz!.

What i want to do:
I want to connect both Nextcloud’s via Federation.

The issue i am facing:
I can not add my Homecloud as Trusted Server on my HostedCloud.

What i already did:
I contacted the Support from hetzner.de, they provieded me the following error message: “Could not detect any host in homecloud.domain.de/status.php”, a DNS Dig of homecloud.domain.d which lokes perfactly fine and they wrote: “In ur case stands the Domain homecloud.domain.d for the IP 111.11.111.11 (My FritzBox is accessible under this IP). This IP is part of a so called ‘shared address space’. So these IPs are used for CGNs. In short this means: U cant establish a connection from the outside. So as long as ur Nextcloud is behind such an IP u can’t make an Federation from the outside.”

IN GERMAN:

"Im aktuellen Fall steht die von Ihnen konfigurierte Domain homecloud.domain.d fuer die IP 111.11.111.11. Diese gehoert zu dem sogennanten shared address space. Entsprechende IPs werden fuer CGNs verwendet. Das bedeutet in verallgemeinernder Kuerze: Von Extern kann keine Verbindung zu einer solchen IP hergestellt werden.

Solange Sie Ihre Nextcloud also hinter solch einer IP betreiben ist keine Federation von einer externen Instanz mit dieser moeglich.
"

What i think the Problem/Fix is:
I think the Problem is the way i set up the access from the outside for my Homecloud. The fix is maybe to do it a other/better way.


The output of your Nextcloud log in Admin > Logging:

OCP\HintException: No server to federate with found

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '*****',
  'passwordsalt' => '*****',
  'secret' => '*****',
  'trusted_domains' => 
  array (
    0 => 'domain.de',
  ),
  'datadirectory' => '/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/data',
  'dbtype' => 'sqlite3',
  'version' => '23.0.4.1',
  'overwrite.cli.url' => 'https://domain.de/nextcloud',
  'installed' => true,
);

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

{"reqId":"7RswpMh9R0saVQ1jcDhk","level":2,"time":"2022-04-28T14:15:10+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files_external/globalstorages/4?testOnly=true","message":"External storage not available: Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1"}
{"reqId":"7RswpMh9R0saVQ1jcDhk","level":2,"time":"2022-04-28T14:15:10+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files_external/globalstorages/4?testOnly=true","message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1","exception":{"Exception":"OCP\\Files\\StorageNotAvailableException","Message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","Code":1,"Trace":[{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":289,"function":"convertException","class":"OC\\Files\\Storage\\DAV","type":"->","args":[{"__class__":"Sabre\\HTTP\\ClientException"},""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":585,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/MountConfig.php","line":130,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":288,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":363,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"show","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":[4,"*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"show"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"show"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\GlobalStoragesController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"id":"4","_route":"files_external.global_storages.show"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/globalstorages/4"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","Line":864,"Hint":"Storage is temporarily not available","CustomMessage":"--"}}
{"reqId":"Zwsj0LxZ3kmvqaZNvcF9","level":2,"time":"2022-04-28T14:15:18+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files_external/globalstorages/4?testOnly=true","message":"External storage not available: Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1"}
{"reqId":"Zwsj0LxZ3kmvqaZNvcF9","level":2,"time":"2022-04-28T14:15:18+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files_external/globalstorages/4?testOnly=true","message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1","exception":{"Exception":"OCP\\Files\\StorageNotAvailableException","Message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","Code":1,"Trace":[{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":289,"function":"convertException","class":"OC\\Files\\Storage\\DAV","type":"->","args":[{"__class__":"Sabre\\HTTP\\ClientException"},""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":585,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/MountConfig.php","line":130,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":288,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":363,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"show","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":[4,"*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"show"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"show"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\GlobalStoragesController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"id":"4","_route":"files_external.global_storages.show"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/globalstorages/4"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","Line":864,"Hint":"Storage is temporarily not available","CustomMessage":"--"}}
{"reqId":"bYp09ANJ86DJxSrdIsle","level":2,"time":"2022-04-28T14:15:24+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files_external/globalstorages/4?testOnly=true","message":"External storage not available: Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1"}
{"reqId":"bYp09ANJ86DJxSrdIsle","level":2,"time":"2022-04-28T14:15:24+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files_external/globalstorages/4?testOnly=true","message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1","exception":{"Exception":"OCP\\Files\\StorageNotAvailableException","Message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","Code":1,"Trace":[{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":289,"function":"convertException","class":"OC\\Files\\Storage\\DAV","type":"->","args":[{"__class__":"Sabre\\HTTP\\ClientException"},""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":585,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/MountConfig.php","line":130,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":288,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":363,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"show","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":[4,"*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"show"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"show"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\GlobalStoragesController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"id":"4","_route":"files_external.global_storages.show"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/globalstorages/4"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","Line":864,"Hint":"Storage is temporarily not available","CustomMessage":"--"}}
{"reqId":"Qtr395hDEFF0cTtaJDVZ","level":2,"time":"2022-04-28T14:15:28+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"PUT","url":"/nextcloud/index.php/apps/files_external/globalstorages/4","message":"External storage not available: Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1"}
{"reqId":"Qtr395hDEFF0cTtaJDVZ","level":2,"time":"2022-04-28T14:15:28+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"PUT","url":"/nextcloud/index.php/apps/files_external/globalstorages/4","message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1","exception":{"Exception":"OCP\\Files\\StorageNotAvailableException","Message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","Code":1,"Trace":[{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":289,"function":"convertException","class":"OC\\Files\\Storage\\DAV","type":"->","args":[{"__class__":"Sabre\\HTTP\\ClientException"},""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":585,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/MountConfig.php","line":130,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":288,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/GlobalStoragesController.php","line":201,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"update","class":"OCA\\Files_External\\Controller\\GlobalStoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"update"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"update"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\GlobalStoragesController","update",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"id":"4","_route":"files_external.global_storages.update"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/globalstorages/4"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","Line":864,"Hint":"Storage is temporarily not available","CustomMessage":"--"}}
{"reqId":"2jCethoUiCh7bIssGjYv","level":3,"time":"2022-04-28T14:15:29+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"federation","method":"POST","url":"/nextcloud/index.php/apps/federation/trusted-servers","message":"No server to federate with found","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1","exception":{"Exception":"OCP\\HintException","Message":"No server to federate with found","Code":0,"Trace":[{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/federation/lib/Controller/SettingsController.php","line":67,"function":"checkServer","class":"OCA\\Federation\\Controller\\SettingsController","type":"->","args":["https://homecloud.domain.de/"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"addServer","class":"OCA\\Federation\\Controller\\SettingsController","type":"->","args":["https://homecloud.domain.de/"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Federation\\Controller\\SettingsController"},"addServer"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Federation\\Controller\\SettingsController"},"addServer"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Federation\\Controller\\SettingsController","addServer",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"federation.Settings.addServer"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/federation/trusted-servers"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/federation/lib/Controller/SettingsController.php","Line":109,"Hint":"Es wurde kein Server zum Verbinden per Federation gefunden","CustomMessage":"--"}}

I hope someone can help me, i am really in love with Nextcloud.

Interesting, you are having this DNS issue with the german IP’s and the CGN.

I’d trying asking Fritzbox. No doubt others have worked through this same issue.

In case there is any other help we can provide on the nextcloud end you can fill out the end of the support template. Please fill this form out and edit into your post.

Please do try to provide the exact logs and errors. It doesn’t help as much if we cannot reference exactly what the errors are, be it from Hetzner or home. Thanks!

1 Like

Really appreciate you good problem description!!

For me the statement from Hetzner

and your finding

don’t really match.

It’s hard to understand the real issue without detailed configs and logs but I’m willing to help you - I have a test instance running behind Fritzbox with real IPv4 (no CGN - carrier grade NAT) - we can test federation from/to both your Clouds if you want - just send me a PM (German OK) with your domains and I will send you my domain…

Thank’s for that quick answer, i’m sry that i was not able to answer as fast as i want. Is there any way i can set a tag or sth. to let u know that i read ur answer and working on my response?! I saw that in other forums.

To your Question:

No i am not able to federate from Hetzner into my Homecloud. When i try to (with username@homecloud.domai.de) it just does nothing - i click on the suggestion, then it indicates it’s doing sth, but then it is just back to showing me the suggestions and nothing had added.

When i try it the other way around i get a notification that sth. has shared with me, but if i try to accept it the notification disappears after a while and nothing has added.

Error:

External storage not available: Sabre\HTTP\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out
{"reqId":"vvsDtPR9Hg9Tq7zLEPLX","level":2,"time":"2022-04-28T13:27:10+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"POST","url":"/nextcloud/index.php/apps/files_external/globalstorages","message":"External storage not available: Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1"}
{"reqId":"vvsDtPR9Hg9Tq7zLEPLX","level":2,"time":"2022-04-28T13:27:10+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"POST","url":"/nextcloud/index.php/apps/files_external/globalstorages","message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1","exception":{"Exception":"OCP\\Files\\StorageNotAvailableException","Message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","Code":1,"Trace":[{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":289,"function":"convertException","class":"OC\\Files\\Storage\\DAV","type":"->","args":[{"__class__":"Sabre\\HTTP\\ClientException"},""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":585,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/MountConfig.php","line":130,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":288,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/GlobalStoragesController.php","line":134,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"create","class":"OCA\\Files_External\\Controller\\GlobalStoragesController","type":"->","args":["homecloud","owncloud","password::password","*** sensitive parameter replaced ***",{"encrypt":"*** sensitive parameter replaced ***","previews":"*** sensitive parameter replaced ***","enable_sharing":"*** sensitive parameter replaced ***","filesystem_check_changes":1,"encoding_compatibility":"*** sensitive parameter replaced ***","0":"And 1 more entries, set log level to debug to see all entries"},[],[],100]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"create"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"create"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\GlobalStoragesController","create",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"files_external.global_storages.create"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/globalstorages"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","Line":864,"Hint":"Storage is temporarily not available","CustomMessage":"--"}}

Second Response because my message was too long xD

And:

I also tried this, not with my Hetzner Cloud, but with a another Nextcloud, because it seems the external Storage app is not available by standart on Hetzner. But it should not matter for the result: I am not able to get a connection to my Homecloud.

Error:

External storage not available: Sabre\HTTP\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out
{"reqId":"SbHD6mdWDXRnNk2z5UoK","level":2,"time":"2022-04-28T13:28:05+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files_external/globalstorages/4?testOnly=true","message":"External storage not available: Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1"}
{"reqId":"SbHD6mdWDXRnNk2z5UoK","level":2,"time":"2022-04-28T13:28:05+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files_external/globalstorages/4?testOnly=true","message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1","exception":{"Exception":"OCP\\Files\\StorageNotAvailableException","Message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","Code":1,"Trace":[{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":289,"function":"convertException","class":"OC\\Files\\Storage\\DAV","type":"->","args":[{"__class__":"Sabre\\HTTP\\ClientException"},""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":585,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/MountConfig.php","line":130,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":288,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":363,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"show","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":[4,"*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"show"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\GlobalStoragesController"},"show"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\GlobalStoragesController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"id":"4","_route":"files_external.global_storages.show"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/globalstorages/4"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","Line":864,"Hint":"Storage is temporarily not available","CustomMessage":"--"}}
{"reqId":"GUjG1xepz6iSXK7oC17P","level":2,"time":"2022-04-28T13:51:07+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"PROPFIND","url":"/nextcloud/remote.php/dav/files/admin/","message":"External storage not available: Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1"}
{"reqId":"GUjG1xepz6iSXK7oC17P","level":2,"time":"2022-04-28T13:51:07+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"PROPFIND","url":"/nextcloud/remote.php/dav/files/admin/","message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1","exception":{"Exception":"OCP\\Files\\StorageNotAvailableException","Message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","Code":1,"Trace":[{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":289,"function":"convertException","class":"OC\\Files\\Storage\\DAV","type":"->","args":[{"__class__":"Sabre\\HTTP\\ClientException"},""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":585,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":474,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":474,"function":"test","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":69,"function":"test","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":83,"function":"updateAvailability","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":92,"function":"isAvailable","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":445,"function":"checkAvailability","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":599,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Cache/Scanner.php","line":116,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Cache/Scanner.php","line":154,"function":"getData","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/View.php","line":1493,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":264,"function":"getDirectoryContent","class":"OC\\Files\\View","type":"->","args":["/"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php","line":71,"function":"getChildren","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php","line":116,"function":"cacheDirectory","class":"OCA\\DAV\\Connector\\Sabre\\CommentPropertiesPlugin","type":"->","args":[{"__class__":"OCA\\DAV\\Files\\FilesHome"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"handleGetProperties","class":"OCA\\DAV\\Connector\\Sabre\\CommentPropertiesPlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Files\\FilesHome"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["propFind",[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Files\\FilesHome"}]]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":984,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Files\\FilesHome"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1661,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->","args":["files/admin",["{DAV:}getlastmodified","{DAV:}getetag","{DAV:}getcontenttype","{DAV:}resourcetype","{http://owncloud.org/ns}fileid","And 14 more entries, set log level to debug to see all entries"],1]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1646,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\Xml\\Writer","elementMap":[],"contextUri":"/nextcloud/remote.php/dav/","namespaceMap":{"DAV:":"d","http://sabredav.org/ns":"s","http://owncloud.org/ns":"oc","http://nextcloud.org/ns":"nc"},"classMap":[]},{"__class__":"Generator"},false]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Generator"},false]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PROPFIND",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/dav/lib/Server.php","line":339,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/remote.php","line":166,"args":["/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","Line":864,"Hint":"Storage is temporarily not available","CustomMessage":"--"}}
{"reqId":"GUjG1xepz6iSXK7oC17P","level":2,"time":"2022-04-28T13:51:39+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"PROPFIND","url":"/nextcloud/remote.php/dav/files/admin/","message":"External storage not available: Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1"}
{"reqId":"GUjG1xepz6iSXK7oC17P","level":2,"time":"2022-04-28T13:51:39+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"PROPFIND","url":"/nextcloud/remote.php/dav/files/admin/","message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1","exception":{"Exception":"OCP\\Files\\StorageNotAvailableException","Message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","Code":1,"Trace":[{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":289,"function":"convertException","class":"OC\\Files\\Storage\\DAV","type":"->","args":[{"__class__":"Sabre\\HTTP\\ClientException"},""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":585,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":474,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":474,"function":"test","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":69,"function":"test","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":83,"function":"updateAvailability","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":92,"function":"isAvailable","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":445,"function":"checkAvailability","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":599,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Cache/Scanner.php","line":116,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Cache/Scanner.php","line":154,"function":"getData","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/View.php","line":1493,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Node/Folder.php","line":109,"function":"getDirectoryContent","class":"OC\\Files\\View","type":"->","args":["/admin/files"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Share20/DefaultShareProvider.php","line":670,"function":"getDirectoryListing","class":"OC\\Files\\Node\\Folder","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Share20/Manager.php","line":1280,"function":"getSharesInFolder","class":"OC\\Share20\\DefaultShareProvider","type":"->","args":["admin",{"__class__":"OC\\Files\\Node\\Folder"},true]},{"function":"OC\\Share20\\{closure}","class":"OC\\Share20\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Share20/Manager.php","line":1289,"function":"array_reduce","args":[["*** sensitive parameter replaced ***",{"__class__":"OCA\\FederatedFileSharing\\FederatedShareProvider"},{"__class__":"OCA\\ShareByMail\\ShareByMailProvider"},{"__class__":"OCA\\Circles\\ShareByCircleProvider"},{"__class__":"OCA\\Deck\\Sharing\\DeckShareProvider"}],{"__class__":"Closure"},"*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php","line":149,"function":"getSharesInFolder","class":"OC\\Share20\\Manager","type":"->","args":["admin",{"__class__":"OC\\Files\\Node\\Folder"},true]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/dav/lib/Connector/Sabre/SharesPlugin.php","line":217,"function":"getSharesFolder","class":"OCA\\DAV\\Connector\\Sabre\\SharesPlugin","type":"->","args":[{"__class__":"OC\\Files\\Node\\Folder"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"handleGetProperties","class":"OCA\\DAV\\Connector\\Sabre\\SharesPlugin","type":"->","args":[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Files\\FilesHome"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["propFind",[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Files\\FilesHome"}]]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":984,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Files\\FilesHome"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1661,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->","args":["files/admin",["{DAV:}getlastmodified","{DAV:}getetag","{DAV:}getcontenttype","{DAV:}resourcetype","{http://owncloud.org/ns}fileid","And 14 more entries, set log level to debug to see all entries"],1]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1646,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\Xml\\Writer","elementMap":[],"contextUri":"/nextcloud/remote.php/dav/","namespaceMap":{"DAV:":"d","http://sabredav.org/ns":"s","http://owncloud.org/ns":"oc","http://nextcloud.org/ns":"nc"},"classMap":[]},{"__class__":"Generator"},false]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Generator"},false]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:PROPFIND",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/dav/lib/Server.php","line":339,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/remote.php","line":166,"args":["/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","Line":864,"Hint":"Storage is temporarily not available","CustomMessage":"--"}}
{"reqId":"ylCtPLJtot5A7QCzc5Yd","level":2,"time":"2022-04-28T13:52:11+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files_external/userglobalstorages/4?testOnly=false","message":"External storage not available: Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1"}
{"reqId":"ylCtPLJtot5A7QCzc5Yd","level":2,"time":"2022-04-28T13:52:11+00:00","remoteAddr":"185.205.156.134","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files_external/userglobalstorages/4?testOnly=false","message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"23.0.4.1","exception":{"Exception":"OCP\\Files\\StorageNotAvailableException","Message":"Sabre\\HTTP\\ClientException: Failed to connect to homecloud.domain.de port 443: Connection timed out","Code":1,"Trace":[{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":289,"function":"convertException","class":"OC\\Files\\Storage\\DAV","type":"->","args":[{"__class__":"Sabre\\HTTP\\ClientException"},""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","line":585,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->","args":[""]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/MountConfig.php","line":130,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":288,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/apps/files_external/lib/Controller/UserGlobalStoragesController.php","line":126,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"show","class":"OCA\\Files_External\\Controller\\UserGlobalStoragesController","type":"->","args":[4,"*** sensitive parameter replaced ***"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\UserGlobalStoragesController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"id":"4","_route":"files_external.user_global_storages.show"}]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/userglobalstorages/4"]},{"file":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/vhosts/hosting.net/domain.de/httpdocs/nextcloud/lib/private/Files/Storage/DAV.php","Line":864,"Hint":"Storage is temporarily not available","CustomMessage":"--"}}

Btw:
You really intrigued me with that external storage app, i did not know this is a thing. There are even options for Google Cloud etc., but sadly only for old Nextcloud versions. I also experimented with including my Hetzner Cloud in another Nextcloud, but it seems to be really slow if u include lots of data (to open a folder it takes like 10-20sec). :confused:

I also added the Logs to my original post. Idk if it helps, but only for the sake of a complete post :slight_smile:

What i will do:
I will contact FritzBox, lets see if they have a easy fix ^^

@guarenty
I think FritzBox can not solve your problem. I think the problem is the fact that Hetzner do not want to allow HTTPS access from Hetzner:client to CGN:server(443). It is maybe a little bit like mailserver on dynamic ip addresses.

But you can perhaps use Federation in the other way to exchange files between both Nextclouds. Often federation is also error-prone. You can also use a Nextcloud client from home to upload data to your Nextcloud on the Internet. It’s certainly faster than the Pi. And for syncing Federation is not the correct application. Federation is more for data exchange between different Nextclouds.

@devnull

The people in this Forum are just too fast, i wasn’t even finished with adding my logs. :sweat_smile:

Maybe it helps when i clarify what my goalis :slight_smile:
First of all: I am not shure if my plan is the best for what i want, so i am open for any suggestion.

My Hetzner Cloud is my main Cloud, so for every day use, synchronization between devices, sharing, …
It is much faster then my Homecloud Interface wise and also faster speed wise. Also it is more secure and reliable, wich is important because i am not the only one using it.

My Homecloud is just for large files, because it has much more Storage Capacity.

So my origional plan was to had a shared folder from my Homecloud on my Hetzner Cloud, but now i think it is a better plan to include my Homecloud via External Storage if i am able to get the App on my Hetzner Cloud. But both way lead right now to the same problem, at least i think so.

@wwe

Thanks for your offer.

You did not tested Federation on your Nextcloud, right?!
If not i have a test instance, where Federation works, with wich we can test it.

What do you mean by that? How is it set up?