double-take icon indicating copy to clipboard operation
double-take copied to clipboard

[BUG]

Open ghallford opened this issue 2 years ago • 3 comments

Describe the bug Update_sub_labels back to Frigate not working

Version of Double Take 1.13.11.4

Expected behavior Labels of found people go back to Frigate

Hardware

  • OS: Unraid / Docker

Additional context Errors that appear in the logs:

info: done processing kitchen: 1696790604.57984-f12lzu in 2.46 sec
info: {
  id: '1696790604.57984-f12lzu',
  duration: 2.46,
  timestamp: '2023-10-08T18:43:34.989Z',
  attempts: 14,
  camera: 'kitchen',
  zones: [],
  counts: { person: 0, match: 1, miss: 0, unknown: -1 },
  matches: [
    {
      name: 'geoff',
      confidence: 90.83,
      match: true,
      box: [Object],
      type: 'snapshot',
      duration: 0.96,
      detector: 'compreface',
      filename: '72999012-a675-4a9d-874c-d804d13a65c0.jpg'
    }
  ],
  misses: [],
  unknowns: []
}
error: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/double-take/api/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:174:12)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at ServerResponse.json (/double-take/api/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:162:21)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at /double-take/api/src/app.js:46:38
    at newFn (/double-take/api/node_modules/express-async-errors/index.js:16:20)
error: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/double-take/api/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:174:12)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at ServerResponse.json (/double-take/api/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:162:21)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at /double-take/api/src/app.js:46:38
    at newFn (/double-take/api/node_modules/express-async-errors/index.js:16:20)

ghallford avatar Oct 08 '23 18:10 ghallford

Plus one. Have the same in the latest version

Nafania avatar Oct 09 '23 17:10 Nafania

+1

23-10-14 10:45:53 error: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at new NodeError (node:internal/errors:387:5) at ServerResponse.setHeader (node:_http_outgoing:644:11) at ServerResponse.header (/double-take/api/node_modules/express/lib/response.js:794:10) at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:174:12) at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18) at ServerResponse.json (/double-take/api/node_modules/express/lib/response.js:278:15) at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:162:21) at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18) at /double-take/api/src/app.js:46:38 at newFn (/double-take/api/node_modules/express-async-errors/index.js:16:20) 23-10-14 10:46:07 info: processing grace: 1697276747.701859-xsqi4b 23-10-14 10:46:09 info: done processing grace: 1697276747.701859-xsqi4b in 2.03 sec 23-10-14 10:46:09 info: { id: '1697276747.701859-xsqi4b', duration: 2.03, timestamp: '2023-10-14T09:46:09.994Z', attempts: 15, camera: 'grace', zones: [], counts: { person: 0, match: 0, miss: 0, unknown: 0 }, matches: [], misses: [], unknowns: []

timknowlden avatar Oct 14 '23 09:10 timknowlden

+1

Shurov avatar Oct 20 '23 09:10 Shurov