Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 404 setting sublabel #56

Open
dmnscn opened this issue May 8, 2024 · 6 comments
Open

Error 404 setting sublabel #56

dmnscn opened this issue May 8, 2024 · 6 comments

Comments

@dmnscn
Copy link

dmnscn commented May 8, 2024

Hi team, all is working without problem but i can't get working the sublabel insert:

2024-05-08 05:52:03,330 - main - INFO - Recognised plate is a Watched Plate: XXXX
2024-05-08 05:52:03,330 - main - INFO - Storing plate number in database: XXXX with score: 0.852
2024-05-08 05:52:03,355 - main - ERROR - Failed to set sublabel. Status code: 404

some special config to add to frigate conf for sublabel set?

@ljmerza
Copy link
Owner

ljmerza commented May 10, 2024

whats your config

@mrlindstrom
Copy link

I'm getting this as well, but I am also on the new beta3 so I'm curious if they changed something about sublabels in this version that will need to be taken into account.

@mrlindstrom
Copy link

I'm getting this as well, but I am also on the new beta3 so I'm curious if they changed something about sublabels in this version that will need to be taken into account.

Actually scratch that, it looks like I only saw one 404, but it says the other sublabels were set successfully. Now to just figure out how to see them in this beta...

2024-06-19 10:17:06,959 - __main__ - INFO - Storing plate number in database: KZN 5302 with score: 0.9811196327209473 2024-06-19 10:17:06,979 - __main__ - ERROR - Failed to set sublabel. Status code: 404 2024-06-19 10:17:26,269 - __main__ - INFO - Storing plate number in database: PYN 4842 with score: 0.8880830407142639 2024-06-19 10:17:26,283 - __main__ - INFO - Sublabel set successfully to: PYN 4842 with 88.8% confidence 2024-06-19 10:18:01,051 - __main__ - INFO - Storing plate number in database: LXT 3255 with score: 0.9847781658172607 2024-06-19 10:18:01,066 - __main__ - INFO - Sublabel set successfully to: LXT 3255 with 98.5% confidence

@yannpub
Copy link

yannpub commented Jul 24, 2024

Having the same issue here. Plate is recognised, but when it goes to add the sublabel, I get the 404 error.
Running Frigate beta4 as an HA addon.

Edit: For some unknown reasons, sometimes it works, but I get the 404 more often than proper results.

@ljmerza
Copy link
Owner

ljmerza commented Jul 27, 2024

Looking at the docs for the latest beta, it doesnt look like this API has changed so it may be beta issue on frigate. now that i think about it, it may be a race condition where the event has been set to mqtt and picked up by this app but hasnt been saved to frigate's db yet

@kyle4269
Copy link
Contributor

Looking at the docs for the latest beta, it doesnt look like this API has changed so it may be beta issue on frigate. now that i think about it, it may be a race condition where the event has been set to mqtt and picked up by this app but hasnt been saved to frigate's db yet

That's what I found also, the event isn't saved in frigate db yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants