Server: Get too many logs `GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to www.google.com port 80: Connection timed out`

Created on 6 Nov 2017  路  2Comments  路  Source: nextcloud/server

Steps to reproduce

  1. Just open my server
  2. Check the log
    3.

Expected behaviour

Nothing bad should happen.

Actual behaviour

Tell us what happens instead

Server configuration

Operating system:
Ubuntu 16.04.3-32bit

Web server:
Apache/2.4.18 (Ubuntu)

Database:
mysql Ver 14.14 Distrib 5.7.20

PHP version:
PHP 7.0.22-0ubuntu0.16.04.1

Nextcloud version: (see Nextcloud admin page)
v12
Updated from an older Nextcloud/ownCloud or fresh install:
Yes

I think the other information is not necessary because my server is in data surveillance which can't visit google.com or nextcloud.com.

Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.google.com port 80: Connection timed out | 2017-11-06T14:20:02+0800
-- | -- | -- | --
Error | internet_connection_check | GuzzleHttp\Exception\RequestException:聽cURL error 56: Recv failure: Connection timed out | 2017-11-06T14:17:51+0800
Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.google.com port 80: Connection timed out | 2017-11-06T14:15:52+0800
Error | internet_connection_check | GuzzleHttp\Exception\RequestException:聽cURL error 18: transfer closed with 26715 bytes remaining to read | 2017-11-06T14:13:41+0800
Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.google.com port 80: Connection timed out | 2017-11-06T14:11:10+0800
Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.nextcloud.com port 80: Connection timed out | 2017-11-06T14:08:52+0800
-- | -- | -- | --
Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.nextcloud.com port 80: Connection timed out | 2017-11-06T14:08:52+0800
Error | internet_connection_check | GuzzleHttp\Exception\ConnectException:聽cURL error 7: Failed to connect to www.nextcloud.com port 80: Connection timed out | 2017-11-06T14:08:50+0800

Are there any ways to turn this off? My server doesn't need to check whether the internet is avaliable or not because it is used for only LAN user.

Most helpful comment

Add 'has_internet_connection' => false, to your config/config.php and see if the problem persists.

For more config.php-foo check the manual:
https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html

All 2 comments

Add 'has_internet_connection' => false, to your config/config.php and see if the problem persists.

For more config.php-foo check the manual:
https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html

Thank you @sf-janz

Was this page helpful?
0 / 5 - 0 ratings