nextcloud / ios

📱 Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.94k stars 876 forks source link

Login to Nextcloud server no longer working - valid Server URL results in error #2140

Open workflowsguy opened 2 years ago

workflowsguy commented 2 years ago

Steps to reproduce

  1. Start Nexcloud client on iOS
  2. Enter known valid url (working on different machine) to Nextcloud server

Expected behaviour

Connection to user account should be established

Actual behaviour

After entering valid url, there is an error message that (translated from german) says "Error: web login not available, use old login method"

Screenshots

grafik

Logs

If applicable, you can post the iOS app or server logs (removing any sensitive information).

Reasoning or why should it be changed/implemented?

Environment data

iOS version: iOS 15.6.1

Nextcloud iOS app version: 4.4.2

Server operating system: Linux 5.10.103-v8+ aarch64 Debian GNU/Linux 10 (buster)

Web server: Apache/2.4.38 (Debian)

Database: mysql 10.3.34

PHP version: 7.3.31

Nextcloud version: Nextcloud Hub II (23.0.8)

marinofaggiana commented 2 years ago

Hi @workflowsguy :

... (working on different machine) to Nextcloud server

Please ?

workflowsguy commented 2 years ago

Sorry, but I do not know what your response is supposed to mean.

workflowsguy commented 2 years ago

Trying to connect to my NC server (https://192.168.1.210/nextcloud/index.php/login) through Browser on same iPhone:

Error message "Page could not be loaded. The certificate for this server is invalid"

So, this issue seems to be caused by an expired self-signed certificate that I use with the Nextcloud server. Hence, I created and installed a new self-signed certificate on the server.

Now, I can connect again successfully to the server on iOS through the web browser.

However, the NC client app still shows the misleading error message when I enter the login url.

henmohr commented 2 years ago

Same here! Sistema Operacional: Linux 5.10.0-17-amd64 x86_64 Nc 24.0.3

joshtrichards commented 3 months ago

Please share the output of occ config:list system from your Nextcloud Server as well as, if possible, the output of running curl against it:

`curl -X GET -H "OCS-APIRequest: true" https://domain.com/ocs/v1.php/cloud/capabilities

Also, do you have any warnings or errors under Administration settings->Overview?