Closed stephanmiehe closed 10 months ago
Are there any errors in the frigate logs?
also, set in double-take config:
logs:
level: debug
and show logs after it
Below are the debug logs from both double-take and frigate
looks like that in frigate config snapshots disabled (or don't saved for any reason) on some cameras (eingang
, for example)
camera hinten
works correctly and snapshots from them works correctly. look the difference between them configurations
Yup, snapshots were not saving correctly. Thank you
Any elaboration on why snapshots weren't being saved and what the resolution was? I'm seeing this issue but as far as I can tell the configs are the same between cameras (and I'm also using the snapshots elsewhere).
How do we confirm snapshots are available? Is there a way to see the URL DT is trying to access?
i have the same issue, and the same question as @sshaikh. @stephanmiehe how did you realize that they snapshots were not saved correctly? i get the same 404, but at least on the file system the snapshots seem to exist.
I believe I didn't have the correct snapshot config for some cameras in frigate.
i have this config in the root of frigate config:
snapshots:
enabled: true
timestamp: false
bounding_box: false
quality: 100
height: 500
then the following camera:
cameras:
outside:
enabled: true
snapshots:
required_zones:
- garden
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
...
do you see any issues with this? i cannot think of what else to configure for snapshots. and also the snapshots work fine on my home assistant notifications i set up with frigate, and within frigate itself.
I don't see anything wrong with that. The key thing I believe I was missing was enabled: true
. Might be worth opening up a fresh issue with all the details to get one of the maintainers to look at your specific issue
Fwiw I experienced the issue across camera models that had the same configuration.
I no longer use DT but I suspect it was some kind of timing issue where it attempted to get a snapshot before it had been generated.
@sshaikh what don’t use now instead of DT?
I don't - I actually realised I didn't have a use case for it. Was great when it worked though.
Describe the bug Frequently seeing
error: AxiosError: stream error: Request failed with status code 404
in the logsLogs
``` 23-12-26 09:06:34 info: processing tuer: 1703581584.039568-r0p3fe 23-12-26 09:06:35 info: done processing eingang: 1703581570.218819-fp1i8i in 0.79 sec 23-12-26 09:06:35 info: { id: '1703581570.218819-fp1i8i', duration: 0.79, timestamp: '2023-12-26T09:06:35.755Z', attempts: 12, camera: 'eingang', zones: [], counts: { person: 0, match: 0, miss: 0, unknown: 0 }, matches: [], misses: [], unknowns: [] } 23-12-26 09:06:36 error: AxiosError: stream error: Request failed with status code 404 at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/double-take/api/node_modules/axios/dist/node/axios.cjs:3062:11) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) 23-12-26 09:06:38 info: done processing tuer: 1703581584.039568-r0p3fe in 3.77 sec 23-12-26 09:06:38 info: { id: '1703581584.039568-r0p3fe', duration: 3.77, timestamp: '2023-12-26T09:06:38.738Z', attempts: 20, camera: 'tuer', zones: [], counts: { person: 0, match: 0, miss: 1, unknown: -1 }, matches: [], misses: [ { name: 'andreas', confidence: 99.94, match: false, box: [Object], checks: [Array], type: 'snapshot', duration: 0.88, detector: 'compreface', filename: 'e28aa0c7-0792-4fdd-a32a-905fa7300ded.jpg' } ], unknowns: [] } 23-12-26 09:06:39 info: processing tuer: 1703581584.039568-r0p3fe 23-12-26 09:06:41 info: done processing eingang: 1703581570.218819-fp1i8i in 1.39 sec 23-12-26 09:06:41 info: { id: '1703581570.218819-fp1i8i', duration: 1.39, timestamp: '2023-12-26T09:06:41.292Z', attempts: 11, camera: 'eingang', zones: [], counts: { person: 0, match: 0, miss: 0, unknown: 0 }, matches: [], misses: [], unknowns: [] } 23-12-26 09:06:41 info: processing eingang: 1703581600.852714-jhc38g 23-12-26 09:06:42 info: processing eingang: 78fb6a54-a42c-4042-b892-909ea056ae22 23-12-26 09:06:44 info: done processing tuer: 1703581584.039568-r0p3fe in 1.74 sec 23-12-26 09:06:44 info: { id: '1703581584.039568-r0p3fe', duration: 1.74, timestamp: '2023-12-26T09:06:44.088Z', attempts: 17, camera: 'tuer', zones: [], counts: { person: 1, match: 1, miss: 2, unknown: -2 }, matches: [ { name: 'andreas', confidence: 99.74, match: true, box: [Object], type: 'snapshot', duration: 0.3, detector: 'compreface', filename: '3a681062-656d-4b6f-83da-8b3b9ea26d61.jpg' } ], misses: [ { name: 'andreas', confidence: 99.94, match: false, box: [Object], checks: [Array], type: 'snapshot', duration: 0.33, detector: 'compreface', filename: '7a030297-524a-4099-a352-6810b338760e.jpg' }, { name: 'julie', confidence: 95.13, match: false, box: [Object], checks: [Array], type: 'snapshot', duration: 1.05, detector: 'compreface', filename: 'c2801fa3-cb9f-4343-a5c8-cf99f22403c0.jpg' } ], unknowns: [] } 23-12-26 09:06:44 info: done processing tuer: 1703581584.039568-r0p3fe in 1.76 sec 23-12-26 09:06:44 info: { id: '1703581584.039568-r0p3fe', duration: 1.76, timestamp: '2023-12-26T09:06:44.111Z', attempts: 6, camera: 'tuer', zones: [], counts: { person: 1, match: 2, miss: 1, unknown: -2 }, matches: [ { name: 'julie', confidence: 93.22, match: true, box: [Object], type: 'latest', duration: 1.05, detector: 'compreface', filename: 'bfb7c4ff-ce2c-499a-8c28-d04256c1a1d2.jpg' }, { name: 'andreas', confidence: 99.74, match: true, box: [Object], type: 'snapshot', duration: 0.33, detector: 'compreface', filename: 'b75f9b8f-48e2-435d-b269-74228788f3ff.jpg' } ], misses: [ { name: 'julie', confidence: 95.13, match: false, box: [Object], checks: [Array], type: 'latest', duration: 0.31, detector: 'compreface', filename: 'dda3a7f9-c720-46a2-addc-f9e79739fdb4.jpg' } ], unknowns: [] } 23-12-26 09:06:45 info: done processing eingang: 78fb6a54-a42c-4042-b892-909ea056ae22 in 2.87 sec 23-12-26 09:06:45 info: { id: '78fb6a54-a42c-4042-b892-909ea056ae22', duration: 2.87, timestamp: '2023-12-26T09:06:45.215Z', attempts: 1, camera: 'eingang', zones: [], counts: { person: 1, match: 0, miss: 1, unknown: 0 }, matches: [], misses: [ { name: 'stephan', confidence: 97.97, match: false, box: [Object], checks: [Array], type: 'mqtt', duration: 1.43, detector: 'compreface', filename: 'af64d033-b155-4bf3-9b8f-15a80782a325.jpg' } ], unknowns: [] } 23-12-26 09:06:46 info: processing eingang: 1703581600.852714-jhc38g 23-12-26 09:06:49 info: processing eingang: 1703581608.004396-fnd1xh 23-12-26 09:06:52 info: processing tuer: 0246a33f-4fbc-4f9e-abbc-9432dec84d62 23-12-26 09:06:52 info: done processing tuer: 0246a33f-4fbc-4f9e-abbc-9432dec84d62 in 0.18 sec 23-12-26 09:06:52 info: { id: '0246a33f-4fbc-4f9e-abbc-9432dec84d62', duration: 0.18, timestamp: '2023-12-26T09:06:52.723Z', attempts: 1, camera: 'tuer', zones: [], counts: { person: 0, match: 0, miss: 0, unknown: 0 }, matches: [], misses: [], unknowns: [] } 23-12-26 09:06:55 info: processing eingang: 1703581608.004396-fnd1xh 23-12-26 09:07:00 error: AxiosError: stream error: Request failed with status code 404 at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/double-take/api/node_modules/axios/dist/node/axios.cjs:3062:11) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) 23-12-26 09:07:01 error: AxiosError: stream error: Request failed with status code 404 at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/double-take/api/node_modules/axios/dist/node/axios.cjs:3062:11) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) 23-12-26 09:07:04 info: done processing eingang: 1703581608.004396-fnd1xh in 8.98 sec 23-12-26 09:07:04 info: { id: '1703581608.004396-fnd1xh', duration: 8.98, timestamp: '2023-12-26T09:07:04.515Z', attempts: 20, camera: 'eingang', zones: [], counts: { person: 0, match: 0, miss: 0, unknown: 0 }, matches: [], misses: [], unknowns: [] } 23-12-26 09:07:05 error: AxiosError: stream error: Request failed with status code 404 at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/double-take/api/node_modules/axios/dist/node/axios.cjs:3062:11) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) 23-12-26 09:07:05 info: processing bioshade: 1703574103.81437-q92w3g 23-12-26 09:07:05 info: processing eingang: 1703581608.004396-fnd1xh 23-12-26 09:07:06 error: AxiosError: stream error: Request failed with status code 404 at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/double-take/api/node_modules/axios/dist/node/axios.cjs:3062:11) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) 23-12-26 09:07:10 info: done processing eingang: 1703581600.852714-jhc38g in 4.52 sec 23-12-26 09:07:10 info: { id: '1703581600.852714-jhc38g', duration: 4.52, timestamp: '2023-12-26T09:07:10.422Z', attempts: 17, camera: 'eingang', zones: [], counts: { person: 0, match: 0, miss: 0, unknown: 0 }, matches: [], misses: [], unknowns: [] } 23-12-26 09:07:11 error: AxiosError: stream error: Request failed with status code 404 at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/double-take/api/node_modules/axios/dist/node/axios.cjs:3062:11) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) 23-12-26 09:07:14 info: processing eingang: 9994235c-f0a5-430f-86c9-4809c0b7843a 23-12-26 09:07:14 error: AxiosError: stream error: Request failed with status code 404 at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/double-take/api/node_modules/axios/dist/node/axios.cjs:3062:11) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) 23-12-26 09:07:14 info: done processing eingang: 9994235c-f0a5-430f-86c9-4809c0b7843a in 0.17 sec 23-12-26 09:07:14 info: { id: '9994235c-f0a5-430f-86c9-4809c0b7843a', duration: 0.17, timestamp: '2023-12-26T09:07:14.731Z', attempts: 1, camera: 'eingang', zones: [], counts: { person: 0, match: 0, miss: 0, unknown: 0 }, matches: [], misses: [], unknowns: [] } 23-12-26 09:07:15 error: AxiosError: stream error: Request failed with status code 404 at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/double-take/api/node_modules/axios/dist/node/axios.cjs:3062:11) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) 23-12-26 09:07:15 info: done processing eingang: 1703581600.852714-jhc38g in 1.43 sec 23-12-26 09:07:15 info: { id: '1703581600.852714-jhc38g', duration: 1.43, timestamp: '2023-12-26T09:07:15.996Z', attempts: 15, camera: 'eingang', zones: [], counts: { person: 0, match: 0, miss: 0, unknown: 0 }, matches: [], misses: [], unknowns: [] } 23-12-26 09:07:16 error: AxiosError: stream error: Request failed with status code 404 at settle (/double-take/api/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/double-take/api/node_modules/axios/dist/node/axios.cjs:3062:11) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) ```Version of Double Take
1.13.11.8
v1.13.11.9rc1
beta branch - d64d02c8ab3f29ab9ffbe305a4f027fa0b72dc4a8ce2790eaa332e59053cda74
Expected behavior No errors about being able to obtain content from frigate
Hardware
Configuration You configuration files, related to problem
Additional context Add any other context about the problem here.