[BUG] Mobile app requires endpoint protocol #1432

Closed
opened 2026-02-05 01:47:53 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @austinvaness on GitHub (Oct 9, 2023).

The bug

In the mobile app setup screen, the server endpoint requires http:// or https:// to be specified otherwise it fails with a generic error message.

Example: mydomain.com fails and https://mydomain.com works.

The OS that Immich Server is running on

Ubuntu

Version of Immich Server

v1.81.1

Version of Immich Mobile App

v1.80.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

Enter a domain into the server endpoint field without `https://`

Additional information

No response

Originally created by @austinvaness on GitHub (Oct 9, 2023). ### The bug In the mobile app setup screen, the server endpoint requires `http://` or `https://` to be specified otherwise it fails with a generic error message. Example: `mydomain.com` fails and `https://mydomain.com` works. ### The OS that Immich Server is running on Ubuntu ### Version of Immich Server v1.81.1 ### Version of Immich Mobile App v1.80.0 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML N/A ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps ```bash Enter a domain into the server endpoint field without `https://` ``` ### Additional information _No response_
Author
Owner

@Rihcus commented on GitHub (Oct 11, 2023):

Maybe a menu should be added asking the user if they want http or https like the homeassitant compantion app? This could be helpful for users only using immich on a local network or via wireguard/tailscale where https isn't as essential.

image

@Rihcus commented on GitHub (Oct 11, 2023): Maybe a menu should be added asking the user if they want http or https like the homeassitant compantion app? This could be helpful for users only using immich on a local network or via wireguard/tailscale where https isn't as essential. ![image](https://github.com/immich-app/immich/assets/30292597/2f2855cc-0ac8-4c68-b9ac-ee206f5843da)
Author
Owner

@waclaw66 commented on GitHub (Oct 11, 2023):

I would suggest to check https:// first. If it fails, then show error message like now.

@waclaw66 commented on GitHub (Oct 11, 2023): I would suggest to check `https://` first. If it fails, then show error message like now.
Author
Owner

@etnoy commented on GitHub (Oct 11, 2023):

Agreed on using https by default. http should only be used if the user explicitly enters it

@etnoy commented on GitHub (Oct 11, 2023): Agreed on using https by default. http should only be used if the user explicitly enters it
Author
Owner

@austinvaness commented on GitHub (Oct 20, 2023):

Don't make me learn Dart to fix this

@austinvaness commented on GitHub (Oct 20, 2023): Don't make me learn Dart to fix this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1432