ImmichI
Immich7mo ago
Kornikus

"server is not reachable" error on android app

When I want to connect to my immich server with the app with the url https://immich.mydomain.net it is not working while it is working with firefox. it is also working with the ip (http://192.168.1.62:2283) while on the same network as my machine hosting immich.

Immich server is behind NGINX proxy manager and authelia, oidc is configured as identity provider.
The version installed V1.134.0

My stack.env (as i'm using portainer)

UPLOAD_LOCATION=/data/photos
DB_DATA_LOCATION=/data/docker/immich/db
TZ=Europe/Paris
IMMICH_VERSION=V1.134.0
DB_PASSWORD=
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

Logs from the app :

Message :
Error while checking server availability

Details :
FormatException: Unexpected character (at character 1)
<!DOCTYPE html>
^

From :
ApiService

Stack trace :

#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1463)
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1329)
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:931)
#3 _parseJson (dart:convert-patch/convert_patch.dart:35)
#4 JsonDecoder.convert (dart:convert/json.dart:641)
#5 JsonCodec.decode (dart:convert/json.dart:223)
#6 ApiClient.deserialize.<anonymous closure> (package:openapi/api_client.dart:158)
#7 compute.<anonymous closure> (package:flutter/src/foundation/_isolates_io.dart:23)
#8 _RemoteRunner._run (dart:isolate:1118)
#9 _RemoteRunner._remoteExecute (dart:isolate:1112)
#10 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:318)
#11 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:194)


Authelia has app.immich:/ and app.immich:///oauth-callback in redirect_urls
I also added in NGIX proxy manager the lines :
location = /.well-known/immich {
proxy_pass http://<backend_url>:2283;
}
Was this page helpful?