Front end stops at error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- csharp, javascript
- Domain
- frontend
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- C#
- Stars
- 2.4k
- Forks
- 121
- Avg merge
- 18d 20h
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from immichFrame/ImmichFrame
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
immichFrame/ImmichFrame#735 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 56/100
immichFrame/ImmichFrame#733 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
immichFrame/ImmichFrame#732 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 22/100
immichFrame/ImmichFrame#731 · 1 reaction ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
immichFrame/ImmichFrame#729 ·
All issues in immichFrame/ImmichFrame
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 74/100
dotnet/EntityFramework.Docs#5521 ·
Maintainers usually reply within 1 day
-
Feature needs response
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Adyen/adyen-dotnet-api-library#1907 ·
Maintainers usually reply within 5 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
dimitar-radenkov/Pointframe#318 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DotHarness/dotcraft#546 ·
Maintainers usually reply within 1 day
-
a-corriger bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
christian-raj/S-Aloha#303 · 1 comment ·