Function isInternetConnectionWorking() refers to invalid owncloud.org URLs?


#1

Steps to reproduce

  1. Update to Owncloud 10.0.10
  2. Go to Settings | Admin | General
  3. Check for warnings at the top of the page

Expected behaviour

Should not give “This server has no Internet connection” warning.

Actual behaviour

Warns that “This server has no Internet connection” despite having working Internet connection, including ability to send emails, access ownCloud marketplace and install apps, etc.

Server configuration

Operating system:
Ubuntu 16.04 LTS

Web server:
Apache

Database:
MySQL

PHP version:
7.1

ownCloud version: (see ownCloud admin page)
10.0.10.4

Updated from an older ownCloud or fresh install:
Updated from an older ownCloud.

Where did you install ownCloud from:

I examined the source code and determined that the function isInternetConnectionWorking() in settings/Controller/CheckSetupController.php refers to https://www.owncloud.org and http://www.owncloud.org. These appear to be unknown hosts. Removing www. from the URLs appears to correct the problem, as the “This server has no Internet connection” warning no longer appears.


#2

Thanks for noticing and reporting.

It was an error in the DNS settings. Now it should work.