Front end stops at error

Aperta
#547 44 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
csharp, javascript
Ambito
frontend

Direzione di ricerca

The payload names no files. Start by searching the codebase for the offline error text "Looks like your immich-server is offline" to find the error state, then look at how the service worker handles failed fetches. The logs show requests stop after the first error and never resume. Done means the app retries on an interval and resumes showing images without a page reload, which needs reproducing with a long-running session.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Version

v1.0.30.0

Deployment Method

Docker compose on Ubuntu server as advised in docs

Description

After showing a couple of photos, sometimes more, sometimes less, the error screen displays "Looks like your immich-server is offline or you misconfigured immichFrame, check the container logs"

Reproduction

Open ImmichFrame in Firefox and let it run for max 2 hours.

Expectations

I expect that the app will retry on a regular intervaland start showing images again. Looking at the container logs, the serviceworker doesn't do any fetches after it ran into an error. It never recovers. Only when the page is reloaded, the app starts working again.

Configuration
General:
  PhotoDateFormat: 'dd-mm-yyyy'  # string
  ImageLocationFormat: 'City,Country'
  Language: 'nl'
  ShowClock: false
  ShowProgressBar: false
  ShowPhotoDate: false
  ShowImageDesc: false
  ShowPeopleDesc: false
  ShowAlbumName: false
  ShowImageLocation: false
  ImageZoom: false
  PrimaryColor: '#f5deb300'

Accounts:
  -
    ImmichServerUrl: 'http://192.168.1.XX'
    ApiKey: "XXXXXXXX"
    Albums:
      - "XXXXXXXXXX"
Logs
26-01-05 08:14:57 info: System.Net.Http.HttpClient.ImmichApiAccountClient.LogicalHandler[100] Start processing HTTP request GET http://192.168.1.41/api/assets/7e4ffce7-4f5b-43ba-ad7a-dcd1afe5b18e/thumbnail?key=&size=preview
26-01-05 08:14:57 info: System.Net.Http.HttpClient.ImmichApiAccountClient.ClientHandler[100] Sending HTTP request GET http://192.168.1.41/api/assets/7e4ffce7-4f5b-43ba-ad7a-dcd1afe5b18e/thumbnail?key=&size=preview
26-01-05 08:14:58 info: System.Net.Http.HttpClient.ImmichApiAccountClient.ClientHandler[101] Received HTTP response headers after 31.1473ms - 200
26-01-05 08:14:58 info: System.Net.Http.HttpClient.ImmichApiAccountClient.LogicalHandler[101] End processing HTTP request after 31.2413ms - 200
26-01-05 08:15:43 info: System.Net.Http.HttpClient.ImmichApiAccountClient.LogicalHandler[100] Start processing HTTP request GET http://192.168.1.41/api/assets/fbe25feb-f127-463f-bf6a-76a6eedd691f/thumbnail?key=&size=preview
26-01-05 08:15:43 info: System.Net.Http.HttpClient.ImmichApiAccountClient.ClientHandler[100] Sending HTTP request GET http://192.168.1.41/api/assets/fbe25feb-f127-463f-bf6a-76a6eedd691f/thumbnail?key=&size=preview
26-01-05 08:15:43 info: System.Net.Http.HttpClient.ImmichApiAccountClient.ClientHandler[101] Received HTTP response headers after 32.747ms - 200
26-01-05 08:15:43 info: System.Net.Http.HttpClient.ImmichApiAccountClient.LogicalHandler[101] End processing HTTP request after 32.8457ms - 200
26-01-05 17:39:30 info: System.Net.Http.HttpClient.ImmichApiAccountClient.LogicalHandler[100] Start processing HTTP request GET http://192.168.1.41/api/assets/e4ab9540-81b3-4a1e-8bcd-5a7d9e0256fd/thumbnail?key=&size=preview
26-01-05 17:39:30 info: System.Net.Http.HttpClient.ImmichApiAccountClient.LogicalHandler[100] Start processing HTTP request GET http://192.168.1.41/api/assets/ae5071fd-7447-4d3b-a65a-e5ddb079ecda/thumbnail?key=&size=preview
26-01-05 17:39:30 info: System.Net.Http.HttpClient.ImmichApiAccountClient.ClientHandler[100] Sending HTTP request GET http://192.168.1.41/api/assets/ae5071fd-7447-4d3b-a65a-e5ddb079ecda/thumbnail?key=&size=preview
26-01-05 17:39:30 info: System.Net.Http.HttpClient.ImmichApiAccountClient.ClientHandler[100] Sending HTTP request GET http://192.168.1.41/api/assets/e4ab9540-81b3-4a1e-8bcd-5a7d9e0256fd/thumbnail?key=&size=preview
26-01-05 17:39:30 info: System.Net.Http.HttpClient.ImmichApiAccountClient.LogicalHandler[100] Start processing HTTP request GET http://192.168.1.41/api/assets/ae2607a5-7e9b-48b5-822f-36461f0ccd7c/thumbnail?key=&size=preview
26-01-05 17:39:30 info: System.Net.Http.HttpClient.ImmichApiAccountClient.LogicalHandler[100] Start processing HTTP request GET http://192.168.1.41/api/assets/5da048ba-0ae7-4b49-a024-7cda66106daf/thumbnail?key=&size=preview
Pre-Submission Checklist
  • This is a bug report and not a feature request

  • I have provided all of the required information to reproduce the bug (config, logs, etc.)

  • I have checked for related issues and checked the documentation

Lingua principale
C#
Stelle
2.4k
Fork
121
Merge medio
18g 20h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di immichFrame/ImmichFrame

Tutte le issue di immichFrame/ImmichFrame

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.