Windows Desktop App Connection Wizard Won't Connect

Nextcloud version (eg, 12.0.2): 16.0.5.1
Operating system and version (eg, Ubuntu 17.04): Windows 10
Apache or nginx version (eg, Apache 2.4.25): Apache (cgi-fcgi)
PHP version (eg, 7.1): 7.3.9

The issue you are facing:
"Connect to Nextcloud. Login in your browser
Please switch to your browser to proceed
An error occurred while connecting. Please try again

–> Re-open browser [Does nothing]
–> Copy link [Does nothing]"

I am able to log into the website and can access Nextcloud via my iPhone without issue.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Downloaded Nextcloud v2.6.0 setup files
  2. Open connection Wizard
  3. Tried running wizard

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

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

{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "*********"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "16.0.5.1",
    "overwrite.cli.url": "**********",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "maintenance": false,
}

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE
1 Like

I am having the same issue running Ubuntu 19.04 LTS (both ppa and appimage versions). I can access the desktop and mobile clients fine, but the desktop gives an error while connecting.

1 Like

me too, ubuntu 18.04. Client 2.6 just says β€œNo connection to…myhost”

I deleted my .config/Nextcloud dir and started again and it seems to be working

Please where can I locate the .config folder or directory?

I got the same error with my Linux Client. This is what is in my log:

QNetworkReply::UnknownContentError "Server hat \"411 Length Required\" auf \"POST https://192.168.178.2/nextcloud/index.php/login/v2\" geantwortet" QVariant(int, 411)
[OCC::Flow2Auth::openBrowser()::<lambda 	Error when getting the loginUrl QJsonObject({"error":null,"login":null}) "Error when accessing the 'Token' endpoint: <br><em>Error transferring https://192.168.178.2/nextcloud/index.php/login/v2 - server replied: Length Required</em>"