[BUG] web: too restrictive URL format for machine learning server #1471

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

Originally created by @tbleiker on GitHub (Oct 18, 2023).

The bug

In my docker setup, I use http://machine-learning.immich_default:3003 as the url for my machine learning server. That perfectly works when set in docker compose. However, the web interface does not like such urls and gives me the following error:

ERROR machineLearning.url must be a URL address
(Immich Server Error)

The OS that Immich Server is running on

Docker on Debian Bookworm

Version of Immich Server

v1.82.0

Version of Immich Mobile App

v1.82.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

...

Your .env content

...

Reproduction steps

1. Log in to the web interface
2. Head over to settings
3. Open "Machine Learning Settings"
4. Enter something like `http://machine-learning.immich_default:3003` as url
5. Hit `Save`
6. Enjoy the error message

Additional information

No response

Originally created by @tbleiker on GitHub (Oct 18, 2023). ### The bug In my docker setup, I use `http://machine-learning.immich_default:3003` as the url for my machine learning server. That perfectly works when set in docker compose. However, the web interface does not like such urls and gives me the following error: ``` ERROR machineLearning.url must be a URL address (Immich Server Error) ``` ### The OS that Immich Server is running on Docker on Debian Bookworm ### Version of Immich Server v1.82.0 ### Version of Immich Mobile App v1.82.0 ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML ... ``` ### Your .env content ```Shell ... ``` ### Reproduction steps ```bash 1. Log in to the web interface 2. Head over to settings 3. Open "Machine Learning Settings" 4. Enter something like `http://machine-learning.immich_default:3003` as url 5. Hit `Save` 6. Enjoy the error message ``` ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (Oct 18, 2023):

This was just fixed in #4517

@bo0tzz commented on GitHub (Oct 18, 2023): This was just fixed in #4517
Author
Owner

@tbleiker commented on GitHub (Oct 18, 2023):

Wow, that was fast...! 🤣

@tbleiker commented on GitHub (Oct 18, 2023): Wow, that was fast...! 🤣
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1471