[Bug]: Clicking a face in the face library results in error '414 (Request-URI Too Large)' #20766
-
Checklist
Describe the problem you are havingClicking a face in the face library does nothing, and shows the error The failing request is Is this a bug or something wrong with my recently migrated setup? Steps to reproduceI have a feeling this is somewhat specific to my setup as I haven't seen any other mention of it in Issues etc, but steps below.
Version0.16.2-4d58206 In which browser(s) are you experiencing the issue with?Google Chrome 142.0.7444.60 Frigate config filemqtt:
enabled: true
host: 10.2.3.4
user: mqtt
password: XXX
tls:
enabled: False
genai:
enabled: false
provider: openai
api_key: XXX
model: gpt-4o
detectors:
ov_1:
type: openvino
device: GPU
face_recognition:
enabled: true
model_size: large
min_area: 500
model:
path: plus://XXX # openvino yolonas base model
objects:
track:
- person
- cat
- face
filters:
face:
min_score: .65
person:
min_score: .65
threshold: .85
# min_score: .55
# threshold: .75
cat:
min_score: .65
threshold: .8
# min_score: .6
# threshold: .7
dog:
min_score: .7
threshold: .9
package:
min_score: .65
threshold: .9
car:
min_score: .65
threshold: .85
license_plate:
min_score: .6
amazon:
min_score: .75
ups:
min_score: .75
fedex:
min_score: .75
birdseye:
enabled: true
restream: true
mode: motion
quality: 2
layout:
max_cameras: 4
record:
enabled: true
retain:
days: 7
mode: all
alerts:
retain:
days: 28
detections:
retain:
days: 14
snapshots:
enabled: true
detect:
enabled: true
motion:
mask:
- 0,0.042,0.34,0.042,0.34,0,0,0
cameras:
street_cam:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/street_cam
input_args: preset-rtsp-restream
roles:
- record
- detect
# - path: rtsp://127.0.0.1:8554/street_cam_lq
# input_args: preset-rtsp-restream
# roles:
# - detect
onvif:
host: 10.2.3.30
port: 2020
user: streetcam
password: XXX
objects:
track:
- person
- cat
- face
filters:
person:
# min_score: .65
# threshold: .85
min_score: .50
threshold: .70
cat:
# min_score: .65
# threshold: .8
min_score: .5
threshold: .65
motion:
mask:
- 0,0.042,0.34,0.042,0.34,0,0,0
- 0.793,1,0.787,0.414,0.851,0,1,0,1,0.288,1,1
- 0.099,0.192,0.471,0.141,0.83,0.169,0.852,0.004,0.098,0
zones:
driveway:
coordinates: 0.786,0.619,0.799,1,0.268,1,0,1,0.33,0.559
inertia: 3
loitering_time: 0
review:
alerts:
required_zones: driveway
live:
streams:
HQ Stream: street_cam
LQ Stream: street_cam_lq
lounge_cam:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/lounge_cam
input_args: preset-rtsp-restream
roles:
- record
- detect
# - path: rtsp://127.0.0.1:8554/lounge_cam_lq
# input_args: preset-rtsp-restream
# roles:
# - detect
onvif:
host: 10.2.3.31
port: 2020
user: loungecam
password: XXX
live:
streams:
HQ Stream: lounge_cam
LQ Stream: lounge_cam_lq
motion:
mask: 0,0.042,0.36,0.042,0.36,0,0,0
sofa_cam:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/sofa_cam
input_args: preset-rtsp-restream
roles:
- record
- detect
# - path: rtsp://127.0.0.1:8554/sofa_cam_lq
# input_args: preset-rtsp-restream
# roles:
# - detect
onvif:
host: 10.2.3.32
port: 2020
user: sofacam
password: XXX
live:
streams:
HQ Stream: sofa_cam
LQ Stream: sofa_cam_lq
motion:
mask: 0,0.042,0.36,0.042,0.36,0,0,0
spare_room_cam:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/spare_room_cam
input_args: preset-rtsp-restream
roles:
- record
- detect
# - path: rtsp://127.0.0.1:8554/spare_room_cam_lq
# input_args: preset-rtsp-restream
# roles:
# - detect
onvif:
host: 10.2.3.33
port: 2020
user: spareroomcam
password: XXX
live:
streams:
HQ Stream: spare_room_cam
LQ Stream: spare_room_cam_lq
cat_cam:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/cat_cam
input_args: preset-rtsp-restream
roles:
- record
- detect
# - path: rtsp://127.0.0.1:8554/cat_cam_lq
# input_args: preset-rtsp-restream
# roles:
# - detect
onvif:
host: 10.2.3.34
port: 2020
user: catcam
password: XXX
live:
streams:
HQ Stream: cat_cam
LQ Stream: cat_cam_lq
kitchen_cam:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/kitchen_cam
input_args: preset-rtsp-restream
roles:
- record
- detect
# - path: rtsp://127.0.0.1:8554/kitchen_cam_lq
# input_args: preset-rtsp-restream
# roles:
# - detect
onvif:
host: 10.2.3.35
port: 2020
user: kitchencam
password: XXX
live:
streams:
HQ Stream: kitchen_cam
LQ Stream: kitchen_cam_lq
go2rtc:
webrtc:
candidates:
- 10.2.3.5:8555
- stun:8555
rtsp:
username: frigate
password: XXX
streams:
street_cam:
- rtsp://streetcam:[email protected]:554/stream1
street_cam_lq:
- rtsp://streetcam:[email protected]:554/stream2
lounge_cam:
- rtsp://loungecam:[email protected]:554/stream1
lounge_cam_lq:
- rtsp://loungecam:[email protected]:554/stream2
sofa_cam:
- rtsp://sofacam:[email protected]:554/stream1
sofa_cam_lq:
- rtsp://sofacam:[email protected]:554/stream2
spare_room_cam:
- rtsp://spareroomcam:[email protected]:554/stream1
spare_room_cam_lq:
- rtsp://spareroomcam:[email protected]:554/stream2
cat_cam:
- rtsp://catcam:[email protected]:554/stream1
cat_cam_lq:
- rtsp://catcam:[email protected]:554/stream2
kitchen_cam:
- rtsp://kitchencam:[email protected]:554/stream1
kitchen_cam_lq:
- rtsp://kitchencam:[email protected]:554/stream2
version: 0.16-0
camera_groups:
Lounge:
order: 1
icon: LuSofa
cameras:
- lounge_cam
- sofa_cam
Kitchen:
order: 2
icon: LuChefHat
cameras: kitchen_cam
Spare_Room:
order: 3
icon: LuCat
cameras:
- spare_room_cam
- cat_cam
Outside:
order: 4
icon: LuTrees
cameras: street_cam
semantic_search:
enabled: true
reindex: false
model_size: large
lpr:
enabled: false
classification:
bird:
enabled: falsedocker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
stop_grace_period: 30s # allow enough time to shut down the various services
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "1024mb" # update for your cameras based on calculation above
devices:
#- /dev/bus/usb:/dev/bus/usb # Passes the USB Coral, needs to be modified for other versions
#- /dev/apex_0:/dev/apex_0 # Passes a PCIe Coral, follow driver instructions here https://coral.ai/docs/m2/get-started/#2a-on-linux
#- /dev/video11:/dev/video11 # For Raspberry Pi 4B
- /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- /share/Configuration/frigate:/config
- /share/Media/frigate/clips:/media/frigate/clips
- /share/Media/frigate/recordings:/media/frigate/recordings
- /mnt/Backup/Recordings/frigate/exports:/media/frigate/exports
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8971:8971"
- "5000:5000" # Internal unauthenticated access. Expose carefully.
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
FRIGATE_RTSP_PASSWORD: "XXXX"
PLUS_API_KEY: "XXXX"Relevant Frigate log outputLog in nginx tab is split into two entries, but roughly like this:
Line 1: "GET /api/event_ids?ids=1762130629.869811-60r6dh,1762130618.177495-9fyyei,1762130089.813638-ot6qkx,1762129501.976676-lj884b,1762129490.183854-zy79hm,1762129463.585412-o6st7j,1762128084.977159-........
Line 2: 724-hg99o0,1762096632.56377-j71iv3,1762095802" 414 177 "-" "-" "-"Relevant go2rtc log outputN/AOperating systemDebian Install methodDocker Compose Network connectionWired Camera make and modelTapo C225 Screenshots of the Frigate UI's System metrics pagesN/A Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
The issue you're experiencing with the The This is a known limitation with HTTP GET requests that pass large amounts of data in the query string. The nginx server has a default limit on the maximum URI size it will accept. Potential workarounds:
The fact that this worked with the Home Assistant add-on but not with Docker Compose suggests there may be differences in how nginx is configured between the two installations, or you may have accumulated more face detections since migrating. I recommend reporting this as a bug on the Frigate GitHub repository, as the Face Library UI should handle large numbers of detections gracefully without hitting URI length limits. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
FWIW, clearing the face library (deleting |
Beta Was this translation helpful? Give feedback.
the train folder should only have 100 by default, makes it seem like either an earlier beta version was being run or something else was going on