Can't Connect to Server from iPhone X

I have installed the owncloud app and am trying to create a new account. After entering my server address and pressed on continue, I get the error message: Connection to the server could not be established. It works perfectly with the desktop app.
What goes wrong ?
THX

@Thomas21You should find more information in the logs:
https://doc.owncloud.org/ios-app/ios_troubleshooting.html

He Michael,
thank you for your Mail.

Please see attached my Logfile…

Kind regards

Thomas

Admin-EDIT: removed file as it exposed ownCloud installation

Hi Thomas,

I would recommend to also read the log file, the error is pretty obvious:

"Verbindung zum Server konnte nicht hergestellt werden." 
 curl -I https://oc.domain.tld/status.php

curl: (7) Failed to connect to oc.domain.tld port 443: Connection refused


 curl -I http://oc.domain.tld/status.php

HTTP/1.1 200 OK
Date: Wed, 12 Feb 2020 16:52:05 GMT
Content-Type: application/json
Connection: keep-alive
Server: Apache
Set-Cookie: oc-id=xxx; path=/; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: oc_sessionPassphrase=xxx; path=/; HttpOnly
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Robots-Tag: none
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Access-Control-Allow-Origin: *

Setup HTTPS on your server, I recommend Let’s Encrypt:

I think this happened:

  1. @Thomas21 entered oc.domain.tld in the field for the server URL
  2. iOS app automatically prefixed it with https:// ==> https://oc.domain.tld

To connect to a non-SSL server, you need to enter explicit http://oc.domain.tld, and you need to approve a 2nd warning to really, really connect via an insecure connection.

1 Like