Error in runInIsolateGentle for remote-sync #22960
-
I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.
The bugCannot connect to external server when server is online? http://photos.mysite.com Using all-in-one docker container in Unraid latest version with Samsung A56 android 16 latest version of immich for android. The OS that Immich Server is running onUnraid Version of Immich Server2.0.1 Version of Immich Mobile App2.0.1 Platform with the issue
Device make and modelA56 5G Samsung Your docker-compose.yml contentAll in one docker container Your .env content... Reproduction steps1.have 3 servers to connect:
Relevant log outputError in runInIsolateGentle for remote-sync
ApiException 302: Failed to get sync stream: <html>
<head><title>302 Found</title></head>
<body>
<center><h1>302 Found</h1></center>
<hr><center>openresty</center>
</body>
</html>
#0 SyncApiRepository.streamChanges (package:immich_mobile/infrastructure/repositories/sync_api.repository.dart:85)
<asynchronous suspension>
#1 SyncStreamService.sync (package:immich_mobile/domain/services/sync_stream.service.dart:30)
<asynchronous suspension>
#2 runInIsolateGentle.<anonymous closure>.<anonymous closure> (package:immich_mobile/utils/isolate.dart:57)
<asynchronous suspension>
#3 runInIsolateGentle.<anonymous closure> (package:immich_mobile/utils/isolate.dart:36)
<asynchronous suspension>
#4 WorkerImpl._anotherIsolate.<anonymous closure> (package:worker_manager/src/worker/worker_io.dart:106)
<asynchronous suspension>
Error getting user information from the server [CATCH ALL]
AuthenticationNotifier
#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1467)
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1333)
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:935)
#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:1116)
#9 _RemoteRunner._remoteExecute (dart:isolate:1110)
#10 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:317)
#11 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:193) Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
This is an issue with your reverse proxy, it's returning its own page. |
Beta Was this translation helpful? Give feedback.
-
Same / similar issue, when upgrading from 2.0.1 to 2.1.0 Automatic sync worked on 2.0.1 , but after the upgrade (docker pull && docker compose up -d) the issue appeared using the iOS app. Manual upload of images / videos still works, but very uncomfortable without automatic sync... Maybe not exactly the same cause as mentioned at the top, but still the same error message. Here more details from the logs from
Stack Trace:
|
Beta Was this translation helpful? Give feedback.
-
I'm still have issue when mobile internet and server by So not sure how related to proxy :( |
Beta Was this translation helpful? Give feedback.
-
Related to this issue? #23035 Have you tried to cleanup the Sqlite database and re-initalize the mobile app? Because when your server's web app works correctly, the issue might be only at the mobile app side? |
Beta Was this translation helpful? Give feedback.
Thanks, found that Becouse some my manipulation/test in proxy forgot to add back for immich :(
Note:
Should be aslo bypassed in
Authelia/Authentik