Nextcloud version (eg, 20.0.5):
Operating system and version (eg, Ubuntu 20.04):
Linux 5.10.28-Unraid x86_64
The issue you are facing:
Nextcloud works locally from local IP, can also access Nextcloud outside network through proxy https, BUT! Nextcloud itself can’t access out to get weather for plugin, no apps will install because they can’t reach github.
Try accessing the dashboard error when it tries to grab the weather…
https://api.met.no/weatherapi/locationforecast/2.0/compactAPI error : GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: api.met.no (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=***&lon=-***&altitude=*** in /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210 Stack trace: #0 /config/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php(158): GuzzleHttp\Handler\CurlFactory::createRejection() #1
Try downloading an app…
cURL error 6: Could not resolve host: github.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://github.com/nextcloud/spreed/releases/download/v11.2.2/spreed-11.2.2.tar.gz
Is this the first time you’ve seen this error? (Y/N): Yes, everything use to work not sure what caused it to stop other than updates.
Steps to replicate it:
- Go to dashboard (won’t update weather)
- Go to Apps can’t download or update any say not reachable.
The output of your Apache/nginx/system log in
"fastcgi://127.0.0.1:9000", host: "****.*****.com", referrer: "https://***.******.com/settings/admin/support" 2021/07/05 01:40:51 [error] 413#413: *316 access forbidden by rule, client: 162.158.*.*, server: _, request: "GET /.well-known/nodeinfo HTTP/1.1", host: "***.*****.com" 2021/07/05 01:45:22 [error] 413#413: *370 access forbidden by rule, client: 108.162.*.*, server: _, request: "GET /.well-known/nodeinfo HTTP/1.1", host: "***.*****.com"