Exception in ASGI application #15197
-
Describe the problem you are havingI'm using Frigate 0.15.0-beta2. Version0.15.0-beta2 Frigate config fileversion: 0.15-0
mqtt:
enabled: true
host: 192.168.31.5
port: 1883
user: '{FRIGATE_MQTT_USER}'
password: '{FRIGATE_MQTT_PASSWORD}'
auth:
reset_admin_password: true
failed_login_rate_limit: "1/second;5/minute;20/hour"
trusted_proxies:
- 192.168.31.5
- 172.18.0.0/24
- 172.19.0.0/24
- 172.20.0.0/24
birdseye:
enabled: false
ffmpeg:
hwaccel_args: preset-nvidia-h264
input_args: preset-rtsp-generic
output_args:
record: preset-record-generic
snapshots:
enabled: true
timestamp: true
bounding_box: true
record:
enabled: true
retain:
days: 5
mode: motion
motion:
improve_contrast: true
detect:
enabled: false
width: 1920
height: 1080
detectors:
coral:
type: edgetpu
device: usb
model:
path: plus://XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
objects:
track:
- person
filters:
person:
min_score: .8
threshold: .85
go2rtc:
streams:
terraza_trasera:
- ffmpeg:rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.31.231/stream1
dormitorio_principal:
- ffmpeg:rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.31.235/stream1
recibidor:
- ffmpeg:rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.31.233/stream1
comedor:
- ffmpeg:rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.31.234/stream1
terraza_delantera:
- ffmpeg:rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.31.232/stream1
cameras:
terraza_trasera:
enabled: true
ui:
order: 1
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/terraza_trasera
roles:
- record
- detect
dormitorio_principal:
enabled: true
ui:
order: 2
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/dormitorio_principal
roles:
- record
- detect
recibidor:
enabled: true
ui:
order: 3
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/recibidor
roles:
- record
- detect
comedor:
enabled: true
ui:
order: 4
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/comedor
roles:
- record
- detect
terraza_delantera:
enabled: true
ui:
order: 5
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/terraza_delantera
roles:
- record
- detect
objects:
filters:
person:
mask:
- 1920,0,1920,252,1654,250,1653,0 # Foco docker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:0.15.0-beta2
privileged: true
shm_size: "192mb"
devices:
- /dev/bus/usb:/dev/bus/usb
- /dev/dri/renderD128
volumes:
- /etc/localtime:/etc/localtime:ro
- ../dockers-data/frigate:/config
- ../dockers-data-extra/frigate:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000"
- "8971:8971"
- "8554:8554"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
labels:
traefik.enable: "true"
traefik.http.routers.frigate.rule: "Host(`XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`)"
traefik.http.routers.frigate.entrypoints: "https"
traefik.http.routers.frigate.tls: "true"
traefik.http.services.frigate.loadbalancer.server.port: "8971"
traefik.http.services.frigate.loadbalancer.server.scheme: "http"
environment:
FRIGATE_MQTT_USER: "XXXXXXXXXXXXXXXXXXX"
FRIGATE_MQTT_PASSWORD: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
FRIGATE_RTSP_USER: "XXXXXXXXXXXXXXXXXXXXXXXX"
FRIGATE_RTSP_PASSWORD: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
FRIGATE_JWT_SECRET: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
PLUS_API_KEY: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
restart: unless-stopped
networks:
default:
external: true
name: traefik_network Relevant Frigate log output2024-11-26 11:51:45.813826538 192.168.31.5 - - [26/Nov/2024:11:51:45 +0100] "POST /api/login HTTP/1.1" 500 21 "https://192.168.31.5:8971/login" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" "-"
2024-11-26 11:51:46.026917064 ERROR: Exception in ASGI application
2024-11-26 11:51:46.026945000 + Exception Group Traceback (most recent call last):
2024-11-26 11:51:46.026953591 | File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 76, in collapse_excgroups
2024-11-26 11:51:46.026966372 | yield
2024-11-26 11:51:46.026975241 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-11-26 11:51:46.026984600 | response_sent.set()
2024-11-26 11:51:46.026992632 | File "/usr/local/lib/python3.9/dist-packages/anyio/_backends/_asyncio.py", line 763, in __aexit__
2024-11-26 11:51:46.027048994 | raise BaseExceptionGroup(
2024-11-26 11:51:46.027057584 | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
2024-11-26 11:51:46.027065267 +-+---------------- 1 ----------------
2024-11-26 11:51:46.027072740 | Traceback (most recent call last):
2024-11-26 11:51:46.027140556 | File "/usr/local/lib/python3.9/dist-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi
2024-11-26 11:51:46.027149635 | result = await app( # type: ignore[func-returns-value]
2024-11-26 11:51:46.027157806 | File "/usr/local/lib/python3.9/dist-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__
2024-11-26 11:51:46.027210257 | return await self.app(scope, receive, send)
2024-11-26 11:51:46.027219616 | File "/usr/local/lib/python3.9/dist-packages/fastapi/applications.py", line 1054, in __call__
2024-11-26 11:51:46.027227578 | await super().__call__(scope, receive, send)
2024-11-26 11:51:46.027235819 | File "/usr/local/lib/python3.9/dist-packages/starlette/applications.py", line 113, in __call__
2024-11-26 11:51:46.027275698 | await self.middleware_stack(scope, receive, send)
2024-11-26 11:51:46.027280517 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 187, in __call__
2024-11-26 11:51:46.027284359 | raise exc
2024-11-26 11:51:46.027288619 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 165, in __call__
2024-11-26 11:51:46.027292670 | await self.app(scope, receive, _send)
2024-11-26 11:51:46.027297140 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-11-26 11:51:46.027325844 | response_sent.set()
2024-11-26 11:51:46.027330174 | File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-11-26 11:51:46.027334365 | self.gen.throw(type, value, traceback)
2024-11-26 11:51:46.027338555 | File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 82, in collapse_excgroups
2024-11-26 11:51:46.027342816 | raise exc
2024-11-26 11:51:46.027347216 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-11-26 11:51:46.027351406 | response = await self.dispatch_func(request, call_next)
2024-11-26 11:51:46.027355317 | File "/usr/local/lib/python3.9/dist-packages/slowapi/middleware.py", line 136, in dispatch
2024-11-26 11:51:46.027359508 | response = await call_next(request)
2024-11-26 11:51:46.027363908 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-11-26 11:51:46.027367819 | raise app_exc
2024-11-26 11:51:46.027371940 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-11-26 11:51:46.027376200 | await self.app(scope, receive_or_disconnect, send_no_error)
2024-11-26 11:51:46.027412587 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-11-26 11:51:46.027416708 | response_sent.set()
2024-11-26 11:51:46.027438498 | File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-11-26 11:51:46.027445971 | self.gen.throw(type, value, traceback)
2024-11-26 11:51:46.027454003 | File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 82, in collapse_excgroups
2024-11-26 11:51:46.027461266 | raise exc
2024-11-26 11:51:46.027469228 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-11-26 11:51:46.027476562 | response = await self.dispatch_func(request, call_next)
2024-11-26 11:51:46.027484384 | File "/opt/frigate/frigate/api/fastapi_app.py", line 78, in frigate_middleware
2024-11-26 11:51:46.027491857 | response = await call_next(request)
2024-11-26 11:51:46.027500098 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-11-26 11:51:46.027573362 | raise app_exc
2024-11-26 11:51:46.027582162 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-11-26 11:51:46.027589774 | await self.app(scope, receive_or_disconnect, send_no_error)
2024-11-26 11:51:46.027597736 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-11-26 11:51:46.027604790 | response_sent.set()
2024-11-26 11:51:46.027612333 | File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-11-26 11:51:46.027619596 | self.gen.throw(type, value, traceback)
2024-11-26 11:51:46.027628047 | File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 82, in collapse_excgroups
2024-11-26 11:51:46.027634961 | raise exc
2024-11-26 11:51:46.027642993 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-11-26 11:51:46.027650536 | response = await self.dispatch_func(request, call_next)
2024-11-26 11:51:46.027658777 | File "/usr/local/lib/python3.9/dist-packages/starlette_context/middleware/context_middleware.py", line 78, in dispatch
2024-11-26 11:51:46.027697050 | response = await call_next(request)
2024-11-26 11:51:46.027705990 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-11-26 11:51:46.027713463 | raise app_exc
2024-11-26 11:51:46.027721774 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-11-26 11:51:46.027741190 | await self.app(scope, receive_or_disconnect, send_no_error)
2024-11-26 11:51:46.027745730 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
2024-11-26 11:51:46.027749990 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2024-11-26 11:51:46.027754390 | File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-11-26 11:51:46.027758161 | raise exc
2024-11-26 11:51:46.027762491 | File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2024-11-26 11:51:46.027848676 | await app(scope, receive, sender)
2024-11-26 11:51:46.027857685 | File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 715, in __call__
2024-11-26 11:51:46.027865298 | await self.middleware_stack(scope, receive, send)
2024-11-26 11:51:46.027873260 | File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 735, in app
2024-11-26 11:51:46.027880523 | await route.handle(scope, receive, send)
2024-11-26 11:51:46.027888485 | File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 288, in handle
2024-11-26 11:51:46.027895818 | await self.app(scope, receive, send)
2024-11-26 11:51:46.027903641 | File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 76, in app
2024-11-26 11:51:46.027911533 | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2024-11-26 11:51:46.027990802 | File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-11-26 11:51:46.027998485 | raise exc
2024-11-26 11:51:46.028006517 | File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2024-11-26 11:51:46.028013710 | await app(scope, receive, sender)
2024-11-26 11:51:46.028034802 | File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 73, in app
2024-11-26 11:51:46.028038923 | response = await f(request)
2024-11-26 11:51:46.028043044 | File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 301, in app
2024-11-26 11:51:46.028047164 | raw_response = await run_endpoint_function(
2024-11-26 11:51:46.028051494 | File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 214, in run_endpoint_function
2024-11-26 11:51:46.028055615 | return await run_in_threadpool(dependant.call, **values)
2024-11-26 11:51:46.028091164 | File "/usr/local/lib/python3.9/dist-packages/starlette/concurrency.py", line 39, in run_in_threadpool
2024-11-26 11:51:46.028095634 | return await anyio.to_thread.run_sync(func, *args)
2024-11-26 11:51:46.028099894 | File "/usr/local/lib/python3.9/dist-packages/anyio/to_thread.py", line 56, in run_sync
2024-11-26 11:51:46.028103736 | return await get_async_backend().run_sync_in_worker_thread(
2024-11-26 11:51:46.028108066 | File "/usr/local/lib/python3.9/dist-packages/anyio/_backends/_asyncio.py", line 2441, in run_sync_in_worker_thread
2024-11-26 11:51:46.028112047 | return await future
2024-11-26 11:51:46.028116097 | File "/usr/local/lib/python3.9/dist-packages/anyio/_backends/_asyncio.py", line 943, in run
2024-11-26 11:51:46.028120078 | result = context.run(func, *args)
2024-11-26 11:51:46.028124339 | File "/usr/local/lib/python3.9/dist-packages/slowapi/extension.py", line 764, in sync_wrapper
2024-11-26 11:51:46.028127970 | self._check_request_limit(request, func, False)
2024-11-26 11:51:46.028132510 | File "/usr/local/lib/python3.9/dist-packages/slowapi/extension.py", line 630, in _check_request_limit
2024-11-26 11:51:46.028172739 | self.__evaluate_limits(request, _endpoint_key, all_limits)
2024-11-26 11:51:46.028177558 | File "/usr/local/lib/python3.9/dist-packages/slowapi/extension.py", line 497, in __evaluate_limits
2024-11-26 11:51:46.028181539 | limit_key = lim.key_func(request)
2024-11-26 11:51:46.028185659 | File "/opt/frigate/frigate/api/auth.py", line 88, in get_remote_addr
2024-11-26 11:51:46.028189850 | return request.remote_addr or "127.0.0.1"
2024-11-26 11:51:46.028193691 | AttributeError: 'Request' object has no attribute 'remote_addr'
2024-11-26 11:51:46.028197812 +------------------------------------
2024-11-26 11:51:46.028201653
2024-11-26 11:51:46.028205774 During handling of the above exception, another exception occurred:
2024-11-26 11:51:46.028209405
2024-11-26 11:51:46.028230707 Traceback (most recent call last):
2024-11-26 11:51:46.028239228 File "/usr/local/lib/python3.9/dist-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi
2024-11-26 11:51:46.028246910 result = await app( # type: ignore[func-returns-value]
2024-11-26 11:51:46.028319475 File "/usr/local/lib/python3.9/dist-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__
2024-11-26 11:51:46.028323666 return await self.app(scope, receive, send)
2024-11-26 11:51:46.028328275 File "/usr/local/lib/python3.9/dist-packages/fastapi/applications.py", line 1054, in __call__
2024-11-26 11:51:46.028332046 await super().__call__(scope, receive, send)
2024-11-26 11:51:46.028336446 File "/usr/local/lib/python3.9/dist-packages/starlette/applications.py", line 113, in __call__
2024-11-26 11:51:46.028340427 await self.middleware_stack(scope, receive, send)
2024-11-26 11:51:46.028344897 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 187, in __call__
2024-11-26 11:51:46.028348739 raise exc
2024-11-26 11:51:46.028353208 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 165, in __call__
2024-11-26 11:51:46.028357050 await self.app(scope, receive, _send)
2024-11-26 11:51:46.028361450 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-11-26 11:51:46.028365291 response_sent.set()
2024-11-26 11:51:46.028369342 File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-11-26 11:51:46.028373113 self.gen.throw(type, value, traceback)
2024-11-26 11:51:46.028377094 File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 82, in collapse_excgroups
2024-11-26 11:51:46.028397278 raise exc
2024-11-26 11:51:46.028405380 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-11-26 11:51:46.028412923 response = await self.dispatch_func(request, call_next)
2024-11-26 11:51:46.028420815 File "/usr/local/lib/python3.9/dist-packages/slowapi/middleware.py", line 136, in dispatch
2024-11-26 11:51:46.028428218 response = await call_next(request)
2024-11-26 11:51:46.028436319 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-11-26 11:51:46.028443373 raise app_exc
2024-11-26 11:51:46.028451754 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-11-26 11:51:46.028459507 await self.app(scope, receive_or_disconnect, send_no_error)
2024-11-26 11:51:46.028467538 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-11-26 11:51:46.028474662 response_sent.set()
2024-11-26 11:51:46.028482345 File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-11-26 11:51:46.028489678 self.gen.throw(type, value, traceback)
2024-11-26 11:51:46.028497849 File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 82, in collapse_excgroups
2024-11-26 11:51:46.028504415 raise exc
2024-11-26 11:51:46.028512516 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-11-26 11:51:46.028519849 response = await self.dispatch_func(request, call_next)
2024-11-26 11:51:46.028527532 File "/opt/frigate/frigate/api/fastapi_app.py", line 78, in frigate_middleware
2024-11-26 11:51:46.028534656 response = await call_next(request)
2024-11-26 11:51:46.028542478 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-11-26 11:51:46.028549532 raise app_exc
2024-11-26 11:51:46.028557773 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-11-26 11:51:46.028565386 await self.app(scope, receive_or_disconnect, send_no_error)
2024-11-26 11:51:46.028573487 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-11-26 11:51:46.028580541 response_sent.set()
2024-11-26 11:51:46.028588084 File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-11-26 11:51:46.028595348 self.gen.throw(type, value, traceback)
2024-11-26 11:51:46.028603799 File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 82, in collapse_excgroups
2024-11-26 11:51:46.028610643 raise exc
2024-11-26 11:51:46.028618954 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-11-26 11:51:46.028626078 response = await self.dispatch_func(request, call_next)
2024-11-26 11:51:46.028634668 File "/usr/local/lib/python3.9/dist-packages/starlette_context/middleware/context_middleware.py", line 78, in dispatch
2024-11-26 11:51:46.028642002 response = await call_next(request)
2024-11-26 11:51:46.028650103 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-11-26 11:51:46.028657227 raise app_exc
2024-11-26 11:51:46.028684465 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-11-26 11:51:46.028692706 await self.app(scope, receive_or_disconnect, send_no_error)
2024-11-26 11:51:46.028700808 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
2024-11-26 11:51:46.028720992 await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2024-11-26 11:51:46.028725322 File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-11-26 11:51:46.028729024 raise exc
2024-11-26 11:51:46.028733494 File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2024-11-26 11:51:46.028737475 await app(scope, receive, sender)
2024-11-26 11:51:46.028741735 File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 715, in __call__
2024-11-26 11:51:46.028745925 await self.middleware_stack(scope, receive, send)
2024-11-26 11:51:46.028750116 File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 735, in app
2024-11-26 11:51:46.028754237 await route.handle(scope, receive, send)
2024-11-26 11:51:46.028758427 File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 288, in handle
2024-11-26 11:51:46.028762338 await self.app(scope, receive, send)
2024-11-26 11:51:46.028766459 File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 76, in app
2024-11-26 11:51:46.028770579 await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2024-11-26 11:51:46.028774770 File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-11-26 11:51:46.028778681 raise exc
2024-11-26 11:51:46.028782871 File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2024-11-26 11:51:46.028786014 await app(scope, receive, sender)
2024-11-26 11:51:46.028790205 File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 73, in app
2024-11-26 11:51:46.028793976 response = await f(request)
2024-11-26 11:51:46.028798376 File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 301, in app
2024-11-26 11:51:46.028802497 raw_response = await run_endpoint_function(
2024-11-26 11:51:46.028806897 File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 214, in run_endpoint_function
2024-11-26 11:51:46.028810948 return await run_in_threadpool(dependant.call, **values)
2024-11-26 11:51:46.028814998 File "/usr/local/lib/python3.9/dist-packages/starlette/concurrency.py", line 39, in run_in_threadpool
2024-11-26 11:51:46.028818909 return await anyio.to_thread.run_sync(func, *args)
2024-11-26 11:51:46.028823100 File "/usr/local/lib/python3.9/dist-packages/anyio/to_thread.py", line 56, in run_sync
2024-11-26 11:51:46.028827221 return await get_async_backend().run_sync_in_worker_thread(
2024-11-26 11:51:46.028831621 File "/usr/local/lib/python3.9/dist-packages/anyio/_backends/_asyncio.py", line 2441, in run_sync_in_worker_thread
2024-11-26 11:51:46.028835182 return await future
2024-11-26 11:51:46.028839652 File "/usr/local/lib/python3.9/dist-packages/anyio/_backends/_asyncio.py", line 943, in run
2024-11-26 11:51:46.028843633 result = context.run(func, *args)
2024-11-26 11:51:46.028847544 File "/usr/local/lib/python3.9/dist-packages/slowapi/extension.py", line 764, in sync_wrapper
2024-11-26 11:51:46.028851665 self._check_request_limit(request, func, False)
2024-11-26 11:51:46.028855855 File "/usr/local/lib/python3.9/dist-packages/slowapi/extension.py", line 630, in _check_request_limit
2024-11-26 11:51:46.028860116 self.__evaluate_limits(request, _endpoint_key, all_limits)
2024-11-26 11:51:46.028863957 File "/usr/local/lib/python3.9/dist-packages/slowapi/extension.py", line 497, in __evaluate_limits
2024-11-26 11:51:46.028867798 limit_key = lim.key_func(request)
2024-11-26 11:51:46.028871919 File "/opt/frigate/frigate/api/auth.py", line 88, in get_remote_addr
2024-11-26 11:51:46.028875690 return request.remote_addr or "127.0.0.1"
2024-11-26 11:51:46.028879881 AttributeError: 'Request' object has no attribute 'remote_addr' Install methodDocker Compose Object DetectorCoral Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I am getting the same error here. I can hit port :5000 (no auth) and Frigate works fine, but I cannot login via :8971. I am not sure if this is the same problem as #15260 since that user indicates the UI won't load at all versus here we cannot login and I have confirmed the unauthenticated port UI works fine. Relevant part of my logs when I try to login:
|
Beta Was this translation helpful? Give feedback.
-
This appears to be resolved in 0.15.0-beta3 |
Beta Was this translation helpful? Give feedback.
-
still not resolved on 0,15,4 |
Beta Was this translation helpful? Give feedback.
This appears to be resolved in 0.15.0-beta3