2025-11-17 08:28:03.827184 | severe | IsolateLogger | Error in runInIsolateGentle for remote-sync | ApiException 401: Failed to get sync stream: {"message":"Authentication required","error":"Unauthorized","statusCode":401,"correlationId":"bma88c87"} | #0 SyncApiRepository.streamChanges (package:immich_mobile/infrastructure/repositories/sync_api.repository.dart:85) #1 SyncStreamService.sync (package:immich_mobile/domain/services/sync_stream.service.dart:30) #2 runInIsolateGentle.. (package:immich_mobile/utils/isolate.dart:58) #3 runInIsolateGentle. (package:immich_mobile/utils/isolate.dart:37) #4 WorkerImpl._anotherIsolate. (package:worker_manager/src/worker/worker_io.dart:106) 2025-11-17 08:28:03.812131 | info | DeviceSyncService | Device sync took - 7ms | 2025-11-17 08:28:03.804126 | info | SyncStreamService | Remote sync request for user | 2025-11-17 08:27:24.466420 | info | HashService | Hashing took - 0ms | 2025-11-17 08:27:24.465291 | info | HashService | Starting hashing of assets | 2025-11-17 08:27:22.443511 | info | DeviceSyncService | Device sync took - 329ms | 2025-11-17 08:27:22.409070 | info | SyncApiRepository | Remote Sync completed in 288ms | 2025-11-17 08:27:22.120121 | info | SyncStreamService | Remote sync request for user | 2025-11-17 08:27:21.564323 | info | BackgroundWorkerBgService | Cleaning up background worker | 2025-11-17 08:27:21.564137 | warning | BackgroundWorkerBgService | Background worker cancelled | 2025-11-17 08:27:21.562364 | info | BackgroundWorkerBgService | Android background processing started | 2025-11-17 08:27:21.517373 | info | AppLifeCycleNotifier | Using server URL: null | 2025-11-17 01:05:09.546026 | info | HashService | Hashing took - 1ms | 2025-11-17 01:05:09.544762 | info | HashService | Starting hashing of assets | 2025-11-17 01:05:07.527121 | info | SyncApiRepository | Remote Sync completed in 715ms | 2025-11-17 01:05:06.821674 | info | DeviceSyncService | Device sync took - 9ms | 2025-11-17 01:05:06.811360 | info | SyncStreamService | Remote sync request for user | 2025-11-16 23:48:33.083662 | info | BackgroundWorkerBgService | Cleaning up background worker | 2025-11-16 23:48:33.082166 | info | BackgroundWorkerBgService | Android background processing completed in 8s | 2025-11-16 23:48:33.081339 | warning | BackgroundWorkerBgService | Remote sync did not complete successfully, skipping backup | 2025-11-16 23:48:31.060119 | info | HashService | Hashing took - 1ms | 2025-11-16 23:48:31.057973 | info | HashService | Starting hashing of assets | 2025-11-16 23:48:29.007039 | severe | IsolateLogger | Error in runInIsolateGentle for remote-sync | ClientException with SocketException: Software caused connection abort (OS Error: Software caused connection abort, errno = 103), address = 192.168.1.165, port = 35448, uri=http://192.168.1.165:2283/api/sync/stream | #0 IOClient.send (package:http/src/io_client.dart:227) #1 SyncApiRepository.streamChanges (package:immich_mobile/infrastructure/repositories/sync_api.repository.dart:81) #2 SyncStreamService.sync (package:immich_mobile/domain/services/sync_stream.service.dart:30) #3 runInIsolateGentle.. (package:immich_mobile/utils/isolate.dart:58) #4 runInIsolateGentle. (package:immich_mobile/utils/isolate.dart:37) #5 WorkerImpl._anotherIsolate. (package:worker_manager/src/worker/worker_io.dart:106) 2025-11-16 23:48:26.547301 | info | SyncStreamService | Remote sync request for user | 2025-11-16 23:48:24.468876 | info | DeviceSyncService | Device sync took - 304ms | 2025-11-16 23:48:24.125944 | info | BackgroundWorkerBgService | Android background processing started | 2025-11-16 18:21:59.169221 | info | BackgroundWorkerBgService | Cleaning up background worker | 2025-11-16 18:21:59.166768 | info | BackgroundWorkerBgService | Android background processing completed in 201s | 2025-11-16 18:21:59.166518 | warning | BackgroundWorkerBgService | Remote sync did not complete successfully, skipping backup | 2025-11-16 18:21:57.164283 | info | HashService | Hashing took - 2ms | 2025-11-16 18:21:57.161596 | info | HashService | Starting hashing of assets | 2025-11-16 18:21:55.075505 | severe | IsolateLogger | Error in runInIsolateGentle for remote-sync | ClientException with SocketException: Software caused connection abort (OS Error: Software caused connection abort, errno = 103), address = 192.168.1.165, port = 45696, uri=http://192.168.1.165:2283/api/sync/stream | #0 IOClient.send (package:http/src/io_client.dart:227) #1 SyncApiRepository.streamChanges (package:immich_mobile/infrastructure/repositories/sync_api.repository.dart:81) #2 SyncStreamService.sync (package:immich_mobile/domain/services/sync_stream.service.dart:30) #3 runInIsolateGentle.. (package:immich_mobile/utils/isolate.dart:58) #4 runInIsolateGentle. (package:immich_mobile/utils/isolate.dart:37) #5 WorkerImpl._anotherIsolate. (package:worker_manager/src/worker/worker_io.dart:106) 2025-11-16 18:18:40.404825 | info | SyncStreamService | Remote sync request for user | 2025-11-16 18:18:38.379917 | info | DeviceSyncService | Device sync took - 280ms | 2025-11-16 18:18:38.068843 | info | BackgroundWorkerBgService | Android background processing started | 2025-11-16 18:09:22.191955 | info | HashService | Hashing took - 1ms | 2025-11-16 18:09:22.190405 | info | HashService | Starting hashing of assets | 2025-11-16 18:09:20.159683 | info | SyncApiRepository | Remote Sync completed in 198ms | 2025-11-16 18:09:19.969642 | info | DeviceSyncService | Device sync took - 9ms | 2025-11-16 18:09:19.961390 | info | SyncStreamService | Remote sync request for user | 2025-11-16 18:09:19.440148 | info | AppLifeCycleNotifier | Using server URL: null | 2025-11-16 18:09:18.730075 | info | HashService | Hashing took - 1ms | 2025-11-16 18:09:18.727902 | info | HashService | Starting hashing of assets | 2025-11-16 18:09:16.680162 | info | SyncApiRepository | Remote Sync completed in 3695ms | 2025-11-16 18:09:12.983475 | info | SyncStreamService | Remote sync request for user | 2025-11-16 18:09:10.972846 | info | DeviceSyncService | Device sync took - 21ms | 2025-11-16 18:09:10.972744 | info | DeviceSyncService | Full device sync took - 21ms | 2025-11-16 18:08:48.790523 | info | HashService | Hashing took - 0ms | 2025-11-16 18:08:48.790090 | info | HashService | Starting hashing of assets | 2025-11-16 18:08:46.777036 | info | SyncApiRepository | Remote Sync completed in 217ms | 2025-11-16 18:08:46.565639 | info | DeviceSyncService | Device sync took - 6ms | 2025-11-16 18:08:46.559445 | info | SyncStreamService | Remote sync request for user | 2025-11-16 18:08:46.012752 | info | AppLifeCycleNotifier | Using server URL: null | 2025-11-16 18:07:59.926815 | info | BackgroundWorkerBgService | Cleaning up background worker | 2025-11-16 18:07:59.926324 | info | BackgroundWorkerBgService | Android background processing completed in 7s | 2025-11-16 18:07:59.925576 | info | BackgroundWorkerBgService | Backup is disabled. Skipping backup routine | 2025-11-16 18:07:57.922344 | info | HashService | Hashing took - 3ms | 2025-11-16 18:07:57.918543 | info | HashService | Starting hashing of assets | 2025-11-16 18:07:55.880886 | info | SyncApiRepository | Remote Sync completed in 283ms | 2025-11-16 18:07:55.597354 | info | SyncStreamService | Remote sync request for user | 2025-11-16 18:07:53.442468 | info | DeviceSyncService | Device sync took - 528ms | 2025-11-16 18:07:52.899411 | info | BackgroundWorkerBgService | Android background processing started | 2025-11-16 18:06:45.290138 | info | HashService | Hashing took - 0ms | 2025-11-16 18:06:45.288931 | info | HashService | Starting hashing of assets | 2025-11-16 18:06:43.270368 | info | SyncApiRepository | Remote Sync completed in 287ms | 2025-11-16 18:06:43.160786 | info | DeviceSyncService | Device sync took - 178ms | 2025-11-16 18:06:42.982747 | info | SyncStreamService | Remote sync request for user | 2025-11-16 18:06:42.454747 | info | AppLifeCycleNotifier | Using server URL: null | 2025-11-16 18:06:27.484839 | info | HashService | Hashing took - 0ms | 2025-11-16 18:06:27.484237 | info | HashService | Starting hashing of assets | 2025-11-16 18:06:25.472644 | info | SyncApiRepository | Remote Sync completed in 2966ms | 2025-11-16 18:06:22.506534 | info | SyncStreamService | Remote sync request for user | 2025-11-16 18:06:20.497653 | info | DeviceSyncService | Device sync took - 31ms | 2025-11-16 18:06:20.497553 | info | DeviceSyncService | Full device sync took - 31ms | 2025-11-16 18:05:52.408366 | info | BackgroundWorkerBgService | Cleaning up background worker | 2025-11-16 18:05:52.408123 | info | BackgroundWorkerBgService | Android background processing completed in 9s | 2025-11-16 18:05:52.407481 | info | BackgroundWorkerBgService | Backup is disabled. Skipping backup routine | 2025-11-16 18:05:50.974950 | info | HashService | Hashing took - 0ms | 2025-11-16 18:05:50.974237 | info | HashService | Starting hashing of assets | 2025-11-16 18:05:50.405847 | info | HashService | Hashing took - 0ms | 2025-11-16 18:05:50.404829 | info | HashService | Starting hashing of assets | 2025-11-16 18:05:48.960298 | info | SyncApiRepository | Remote Sync completed in 1517ms | 2025-11-16 18:05:48.392473 | info | SyncApiRepository | Remote Sync completed in 3518ms | 2025-11-16 18:05:47.442997 | info | SyncStreamService | Remote sync request for user | 2025-11-16 18:05:45.430936 | info | DeviceSyncService | Device sync took - 296ms | 2025-11-16 18:05:45.430828 | info | DeviceSyncService | Full device sync took - 296ms | 2025-11-16 18:05:44.873996 | info | SyncStreamService | Remote sync request for user | 2025-11-16 18:05:42.858708 | info | DeviceSyncService | Device sync took - 3ms | 2025-11-16 18:05:42.849530 | info | BackgroundWorkerBgService | Android background processing started | 2025-11-16 18:05:27.076429 | info | HashService | Hashing took - 2ms | 2025-11-16 18:05:27.074235 | info | HashService | Starting hashing of assets | 2025-11-16 18:05:25.065899 | info | DeviceSyncService | Device sync took - 26ms | 2025-11-16 18:05:25.065661 | info | DeviceSyncService | Full device sync took - 21ms | 2025-11-16 18:05:25.054420 | severe | IsolateLogger | Error in runInIsolateGentle for remote-sync | ApiException 301: Failed to get sync stream: 301 Moved Permanently

301 Moved Permanently


nginx
| #0 SyncApiRepository.streamChanges (package:immich_mobile/infrastructure/repositories/sync_api.repository.dart:85) #1 SyncStreamService.sync (package:immich_mobile/domain/services/sync_stream.service.dart:30) #2 runInIsolateGentle.. (package:immich_mobile/utils/isolate.dart:58) #3 runInIsolateGentle. (package:immich_mobile/utils/isolate.dart:37) #4 WorkerImpl._anotherIsolate. (package:worker_manager/src/worker/worker_io.dart:106) 2025-11-16 18:05:25.039853 | info | SyncStreamService | Remote sync request for user | 2025-11-16 18:04:34.858100 | severe | SplashScreenPage | Missing crucial offline login info - Logging out completely |