Most of the time I have no issue, but every so often it shows BI retrying 5 times, then not updating the record count. The image size is only 1920 x 1080 and that size is working usually. The BI settings were for a 10 second timeout and 5 retries. I notice that the calls from BI seem to be immediate, so I'm not sure the timeout means anything. I've tried changing it to a 60 second timeout and 3 retries. I'll see if that matters.
Is there any other log that shows what is happening in the database when the API is processing the record and failing?
Code:
2025-01-05 08:09:00 Current plate_reads count: 6876, threshold: 33000
2025-01-05 08:09:01 Received plate read data: {
2025-01-05 08:09:01 plate_number: '6TST589',
2025-01-05 08:09:01 Image: '/9j/4AAQSkZJ'... 456772 more characters,
2025-01-05 08:09:01 camera: 'LPR-rear',
2025-01-05 08:09:01 timestamp: '2025-01-05T16:08:51.074Z'
2025-01-05 08:09:01 }
2025-01-05 08:09:01 Database connection established
2025-01-05 08:09:01 Current plate_reads count: 6876, threshold: 33000