nextcloud / nextcloud/ios

Invalid server URL at login

Open
#3,732 4 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

I saw other "invalid URL" issues that seemed related but most of them are either quite old or hitting at a different moment (people seem to be able to log in), so I open a new one.

Steps to reproduce
  1. Log out or install the app to get to self-hosted server URL page
  2. Enter server URL
  3. Fail
Expected behaviour

The app should redirect to the user login screen.

Actual behaviour

Right when typing enter after the server URL, get pop-up message "Invalid URL".

Logs

Unfortunately, I don't have any logs.

Reasoning or why should it be changed/implemented?

The server is fully functional, accessible from the URL https://nessie.kimou.fr from a web browser, from the Android client, from the Linux and Windows desktop apps. I don't have access to a different iOS device to test if the problem is this specific device or the iOS app in general.

Environment data

iOS version: e.g. iOS 18.6.2

Nextcloud iOS app version: 7.1.2

Server operating system: docker

Web server: nginx (swag)

Database: mysql 11.4.8

PHP version: 8.3.25

Nextcloud version: 31.0.8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the iOS app's self-hosted server URL page and reproduce the failure with https://nessie.kimou.fr, comparing the behavior with the web, Android, Linux, and Windows clients. Trace the URL validation and login redirect flow; done means a valid server URL proceeds to the user login screen without the "Invalid URL" popup.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
authentication, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.