immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
33.07k stars 1.59k forks source link

iOS upload freezes on upload errors, silently fails, never resumes #9130

Closed Thinkscape closed 2 weeks ago

Thinkscape commented 2 weeks ago

The bug

Followup from https://github.com/immich-app/immich/issues/9108

Whenever an upload fails mid-way, the whole process hangs. There is no auto-retry, no errors in log, it never completes and never tries again (unless manually cancelled and restarted).

In the original report it was failing with HTTP error 520.

image

The OS that Immich Server is running on

Fedora 39

Version of Immich Server

1.102.3

Version of Immich Mobile App

1.102.2 build.151

Platform with the issue

Your docker-compose.yml content

n/a

Your .env content

n/a

Reproduction steps

  1. Open iOS app, auth to server
  2. Choose a folder to upload, fg or bg uploading
  3. Start upload
  4. Disconnect wifi, or restart immich server.

Expected

The upload of a file fails, it then start retrying with exponential backoff.

Actual

The upload process hangs indefinitely.

Relevant log output

nothing in iOS log

Additional information

No response

m3yang commented 2 weeks ago

My iOS app is experiencing the same issue. One image fails to sync due to an unsupported format. There is no way to ignore this particular image, and as a result, the subsequent images cannot be synced

bo0tzz commented 2 weeks ago

2567