ios icon indicating copy to clipboard operation
ios copied to clipboard

[UI/UX] App stuck at startup, when a wrong uri is entered at account creation ("unsupported URL")

Open gruzilla opened this issue 6 years ago • 4 comments

Expected behaviour

  1. Tap Nextcloud Icon to start app
  2. Get notification, that an errorneous URL has been used to create a new account
  3. Get possibility to change mistake

Actual behaviour

  1. Tap Nextcloud Icon to start app
  2. Get notification ("unsupported URL"), that an errorneous URL has been used to create a new account
  3. Mysterious White Loading screen shows up, no buttons whatsoever, no information of how to proceed
  4. App is stuck. no possibility to advance or correct mistake (see screenshot)

might be related to

https://github.com/nextcloud/ios/issues/47

Steps to reproduce

  1. create 2 accounts that work (i have my private nextcloud and my work owncloud account)
  2. try to create a third account and insert an invald/incomplete/seemingly valid url, that still does not work e.g "blubber.dfr" without protocol (https and http)
  3. restart app

iOS version

13.3

App version

can't say (everything up to date at 28.1.2019)

Server configuration

Operating system:

Web server:

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)

gruzilla avatar Jan 28 '20 10:01 gruzilla

screenshot: 0D6688C4-6C95-4150-90BD-AABCC165BA28

gruzilla avatar Jan 28 '20 10:01 gruzilla

@gruzilla I don't understand, the first "page" request ad URL, if I insert a.g. blubber.dfr the system response with a Connection error.

marinofaggiana avatar Jan 28 '20 14:01 marinofaggiana

dear @marinofaggiana , thanks for replying!

indeed. the example was bad. i had to try a couple of times to really recreate the problem. it could be, that it is also depending on the server.

  1. click create account
  2. insert valid url
  3. insert username and password
  4. go to the url field and remove the protocol
  5. click login (see screenshot)

i know, that really is an edge case, and i dont see the problem at account creation, but that once the wrong url got in, the app is stuck in this error-loop. this might also be connected to the single-sign-on-redirect the new provider i am trying to connect to has.

325C88B0-79B9-41EB-B706-1B3FDC51865D

gruzilla avatar Jan 29 '20 07:01 gruzilla

I got into this state when entering an incorrect server URL. It may have to do with my network configuration, trying to log into a server behind the company firewall over an IPSEC VPN.

In any case, if the app cannot log in to the server last tried, it shows a blank white screen with a spinner in it, after a while a red ERROR message, e.g. a timeout or "a server with the specified hostname cannot be found", but the white screen with the spinner remains for longer than I was willing to wait - many minutes. I tried starting the app in airplane mode, hoping that it would realize that there was no network and no way to log in to a server, maybe presenting the opportunity to fix the URL. Nope.

The only solution I have found is to delete the app and all user data, then re-download and try again.

mhillct avatar May 06 '20 17:05 mhillct