Can't connect to Nextcloud

,

Hello folks,

I set up a Nextcloud server on my managed webspace.

I’m fine using it with the Windows 10 Desktop-Client but I’m not able to connect to it with the iOS app or the macOS app.

On macOS I first get a message telling me that a secure connection is not possible and hit the button to use http I just get a error message calling it “Bad request”.

On iOS I get a proper error message at least but I can’t figure out what it want from me.

Every app and os is on the latest version and isn’t using any kind of developer or testing software.

This is the error message I get on iOS. Please note I only enter “domain/subdir” nothing else. I tried it in various ways like https or http or just with and without www and subrid or no subdir but it won’t work.

Maybe anyone here can help me?

How I said in german section: Can you post your config.php without any sensitive variable informations.
Another file to post: .htaccess

@STrike I saw that post but needed some time, thanks for your help.

Here is the config.php from my Nextcloud:

<?php
$CONFIG = array (
'instanceid' => 'oc5tou0edzuu',
'passwordsalt' => 'zg045al3e1+UOaEO/SDeM2zlo03RrR',
'secret' => 'Yjujh2zK5/JITfmvtS7WTs/LzqBuoQ/kYgcfeOIuWgt5Hzs7',
'trusted_domains' => 
array (
0 => 'myDomain.com',
),
'datadirectory' => '/home/sites/site17/web/mySubdir/data',
'overwrite.cli.url' => 'http://myDomain.com/mySubdir',
'dbtype' => 'mysql',
'version' => '13.0.1.1',
'dbname' => 'db114723',
'dbhost' => 'mysql03.hostDomain.net',
'dbport' => '',
'dbtableprefix' => 'nc_7724_',
'dbuser' => 'dbUser',
'dbpassword' => 'dbPassword',
'installed' => true,
'updater.secret' => '$2y$10$jiI/94kRekefw8vs19sUfPS4MjgZtlpcsokigv87d68r6D0DIH/759J7XTceK',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
);

And here is the .htaccess from my Nextcloud directory:

<IfModule mod_headers.c>
<IfModule mod_setenvif.c>
<IfModule mod_fcgid.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
<IfModule mod_proxy_fcgi.c>
SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
</IfModule>

<IfModule mod_env.c>
# Add security and privacy related headers
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
Header set X-Robots-Tag "none"
Header set X-Download-Options "noopen"
Header set X-Permitted-Cross-Domain-Policies "none"
SetEnv modHeadersAvailable true
</IfModule>

# Add cache control for static resources
<FilesMatch "\.(css|js|svg|gif)$">
Header set Cache-Control "max-age=15778463"
</FilesMatch>

# Let browsers cache WOFF files for a week
<FilesMatch "\.woff$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
</IfModule>
<IfModule mod_php5.c>
php_value upload_max_filesize 2G
php_value post_max_size 2G
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value always_populate_raw_post_data -1
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_php7.c>
php_value upload_max_filesize 2G
php_value post_max_size 2G
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT}  DavClnt
RewriteRule ^$         /remote.php/webdav/          [L,R=302]
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L]
RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
RewriteRule ^remote/(.*) remote.php [QSA,L]
RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
RewriteCond %{REQUEST_URI} !^/.well-known/(acme-challenge|pki-validation)/.*
RewriteRule ^(?:\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
AddDefaultCharset utf-8
Options -Indexes
<IfModule pagespeed_module>
ModPagespeed Off
</IfModule>
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####

ErrorDocument 403 /wolke/
ErrorDocument 404 /wolke/

Ping @ios for Ios help.

@zyntex

You said there its only ios app. And here it´s mac and IOS operating system. So whats true now? Only your smartphone or whole apple products?

@STrike
Sorry for the confusion it is indeed a problem with iOS (iPhone) and macOS (MacBook Pro) for me. Sorry for the confusion.

Can you access your NC instance via Safari using https? iOS and macOS are very picky about SSL and self-signed certificates in particular.

Haven´t thought about it yet. Test it with:

https://scan.nextcloud.com/
https://ssllabs.com/ssltest