Can't connect with Android app after 1.75.1 upgrade
Opening the app just shows a spinning icon and no server version info. See the following errors in the log:
Cannot get memories ApiException 400: Socket operation failed: GET /asset/memory-lane (Inner exception: Connection timed out)
#0 IOClient.send (package:http/src/io_client.dart:88)
<asynchronous suspension>
#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)
<asynchronous suspension>
#2 ApiClient.invokeAPI (package:openapi/api_client.dart:101)
<asynchronous suspension>
#3 AssetApi.getMemoryLane (package:openapi/api/asset_api.dart:1016)
<asynchronous suspension>
#4 MemoryService.getMemoryLane (package:immich_mobile/modules/memories/services/memory.service.dart:26)
<asynchronous suspension>
#5 memoryFutureProvider.<anonymous closure> (package:immich_mobile/modules/memories/providers/memory.provider.dart:9)
<asynchronous suspension>
#6 FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:337)
<asynchronous suspension>
And:
Failed get all users:
ApiException 400: Socket operation failed: GET /user (Inner exception: Connection timed out)
#0 IOClient.send (package:http/src/io_client.dart:88)
<asynchronous suspension>
#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)
<asynchronous suspension>
#2 ApiClient.invokeAPI (package:openapi/api_client.dart:101)
<asynchronous suspension>
#3 UserApi.getAllUsers (package:openapi/api/user_api.dart:206)
<asynchronous suspension>
#4 UserService._getAllUsers (package:immich_mobile/shared/services/user.service.dart:42)
<asynchronous suspension>
#5 UserService.refreshUsers (package:immich_mobile/shared/services/user.service.dart:74)
<asynchronous suspension>
#6 AlbumService.refreshRemoteAlbums (package:immich_mobile/modules/album/services/album.service.dart:149)
<asynchronous suspension>
#7 Future.wait.<anonymous closure> (dart:async/future.dart:525)
<asynchronous suspension>
6 Replies
Are you connecting to DNS or local IP, can you try local IP and see if the issue still occur
Local ip
Can you access through the web and what is the version of the app?
have you tried log out and log back in?
From the error it looks like the app cannot communicate to your server somehow
I re-ran the update script and it downloaded something, but didn't update to 1.75.2, so I think the previous update didn't update everything. I guess 1.75.2 isn't fully available so I'll try to update again in a few hours.
It's working now at least
Which update script is it?
I created a small script to run the update:
#!/bin/bash
cd immich
sudo docker-compose down
sudo systemctl restart docker
sudo docker-compose pull
sudo docker-compose up -d
cd ..
Successfully updated to 1.75.2 and was able to use the app without issue