Nextcloud Hub 5 - 27.0.1
Operating system and version: Debian 11.7 - Linux kernel 5.15.86
nginx version: nginx/1.18.0
PHP information:
PHP
Version: 8.1.21
Memory limit: 536.9 MB
Max execution time: 3600
Upload max size: 10.7 GB
Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, intl, ldap, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
The issue you are facing:
In settings/admin/overview I get an error/warning:
This server has no working internet connection: Multiple endpoints could not be reached. This means that some of the features like mounting external storage, notifications about updates or installation of third-party apps will not work. Accessing files remotely and sending of notification emails might not work, either. Establish a connection from this server to the internet to enjoy all features.
I can’t update apps and can’t install new ones.
But other then that, all is fine: I can connect to the server through the browser and the client and it synces my contacts and calendars to multiple devices.
The output of your Nextcloud log in Admin > Logging:
[internet_connection_check] Error: OCP\Http\Client\LocalServerException: Host violates local access rules at <<closure>>
0. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 35
OC\Http\Client\DnsPinMiddleware->OC\Http\Client\{closure}("*** sensitive parameters replaced ***")
1. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 31
GuzzleHttp\PrepareBodyMiddleware->__invoke()
2. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 71
GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
3. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 63
GuzzleHttp\RedirectMiddleware->__invoke()
4. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php line 75
GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
5. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 331
GuzzleHttp\HandlerStack->__invoke()
6. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 168
GuzzleHttp\Client->transfer()
7. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 187
GuzzleHttp\Client->requestAsync("*** sensitive parameters replaced ***")
8. /var/www/nextcloud/lib/private/Http/Client/Client.php line 226
GuzzleHttp\Client->request()
9. /var/www/nextcloud/apps/settings/lib/Controller/CheckSetupController.php line 218
OC\Http\Client\Client->get()
10. /var/www/nextcloud/apps/settings/lib/Controller/CheckSetupController.php line 200
OCA\Settings\Controller\CheckSetupController->isSiteReachable()
11. /var/www/nextcloud/apps/settings/lib/Controller/CheckSetupController.php line 911
OCA\Settings\Controller\CheckSetupController->hasInternetConnectivityProblems()
12. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 230
OCA\Settings\Controller\CheckSetupController->check()
13. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 137
OC\AppFramework\Http\Dispatcher->executeController()
14. /var/www/nextcloud/lib/private/AppFramework/App.php line 183
OC\AppFramework\Http\Dispatcher->dispatch()
15. /var/www/nextcloud/lib/private/Route/Router.php line 315
OC\AppFramework\App::main()
16. /var/www/nextcloud/lib/base.php line 1071
OC\Route\Router->match()
17. /var/www/nextcloud/index.php line 36
OC::handleRequest()
GET /settings/ajax/checksetup
from xxx.xxx.xxx.xxx by dosch at 2023-08-04T07:16:22+00:00
I also checked the NGINX log, but couldn’t find any useful errors.
This person solved it on CentOS. I hope someone know what I can do on debian to solve this.