[Bug]: General stats page failed to load due to 'TypeError' #12003
-
Describe the problem you are havingThe general stats page sometimes fails to load causing a blank page. The console contains "TypeError: Cannot read properties of undefined (reading 'cpu')" in Brave/Chrome, or "TypeError: U.cpu_usages[Z.pid.toString()] is undefined" in Firefox's case. Happened in both Brave and Firefox. Steps to reproduce
Version0.14.0-89a478c Frigate config fileNot relevant. Relevant log outputNothing notable.
2024-06-16 21:06:29.112506749 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:29 -0500] "GET /api/logs/frigate?start=-40 HTTP/1.1" 200 5465 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:06:31.792912093 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:31 -0500] "GET /api/logs/nginx?start=-40 HTTP/1.1" 200 11612 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:06:35.430337486 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:35 -0500] "GET /system HTTP/1.1" 200 2653 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:35.558402450 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:35 -0500] "GET /api/profile HTTP/1.1" 200 18 "https://x.x.x.x:5000/system" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:35.558760746 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:35 -0500] "GET /api/config HTTP/1.1" 200 57266 "https://x.x.x.x:5000/system" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:35.639315387 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:35 -0500] "GET /ws HTTP/1.1" 101 692 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:36.804423295 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:36 -0500] "GET /api/logs/nginx?start=793 HTTP/1.1" 200 1210 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:06:37.169222358 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:37 -0500] "GET /api/logs/nginx?start=713&end=753 HTTP/1.1" 200 11521 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:06:39.665282001 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:39 -0500] "GET /system HTTP/1.1" 200 2653 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:39.790995565 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:39 -0500] "GET /api/profile HTTP/1.1" 200 18 "https://x.x.x.x:5000/system" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:39.795210805 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:39 -0500] "GET /api/config HTTP/1.1" 200 57266 "https://x.x.x.x:5000/system" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:39.857305009 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:39 -0500] "GET /ws HTTP/1.1" 101 692 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:42.180351339 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:42 -0500] "GET /api/logs/nginx?start=798 HTTP/1.1" 200 1495 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:06:44.049851657 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:44 -0500] "GET /system HTTP/1.1" 200 2653 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:44.210484595 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:44 -0500] "GET /api/profile HTTP/1.1" 200 18 "https://x.x.x.x:5000/system" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:44.216516843 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:44 -0500] "GET /api/config HTTP/1.1" 200 57266 "https://x.x.x.x:5000/system" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:44.299538561 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:44 -0500] "GET /ws HTTP/1.1" 101 692 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0" "-"
2024-06-16 21:06:47.190058455 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:47 -0500] "GET /api/logs/nginx?start=804 HTTP/1.1" 200 1209 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:06:51.145575254 ::ffff:10.1.2.1 - - [16/Jun/2024:21:06:51 -0500] "GET / HTTP/1.1" 200 7593 "-" "HomeAssistantSupervisor/2024.06.0 aiohttp/3.9.5 Python/3.12" "-"
2024-06-16 21:06:52.199814019 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:52 -0500] "GET /api/logs/nginx?start=809 HTTP/1.1" 200 492 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:06:54.632445625 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:54 -0500] "GET /api/config HTTP/1.1" 200 57266 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:06:54.632505616 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:54 -0500] "GET /api/profile HTTP/1.1" 200 18 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:06:57.506574916 ::ffff:10.0.50.1 - - [16/Jun/2024:21:06:57 -0500] "GET /api/logs/nginx?start=811 HTTP/1.1" 200 831 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:07:03.505353805 ::ffff:10.0.50.1 - - [16/Jun/2024:21:07:03 -0500] "GET /api/logs/nginx?start=814 HTTP/1.1" 200 305 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:07:09.505968235 ::ffff:10.0.50.1 - - [16/Jun/2024:21:07:09 -0500] "GET /api/logs/nginx?start=815 HTTP/1.1" 200 305 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:07:11.568900883 ::ffff:10.0.50.1 - - [16/Jun/2024:21:07:11 -0500] "GET /api/config HTTP/1.1" 200 57266 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:07:11.568959204 ::ffff:10.0.50.1 - - [16/Jun/2024:21:07:11 -0500] "GET /api/profile HTTP/1.1" 200 18 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:07:11.692589330 ::ffff:127.0.0.1 - - [16/Jun/2024:21:07:11 -0500] "" 400 0 "-" "-" "-"
2024-06-16 21:07:14.802613976 ::ffff:10.0.50.1 - - [16/Jun/2024:21:07:14 -0500] "GET /api/logs/nginx?start=816 HTTP/1.1" 200 943 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:07:19.813152654 ::ffff:10.0.50.1 - - [16/Jun/2024:21:07:19 -0500] "GET /api/logs/nginx?start=820 HTTP/1.1" 200 305 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:07:24.823427480 ::ffff:10.0.50.1 - - [16/Jun/2024:21:07:24 -0500] "GET /api/logs/nginx?start=821 HTTP/1.1" 200 305 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:07:30.473846976 ::ffff:10.0.50.1 - - [16/Jun/2024:21:07:30 -0500] "GET /api/profile HTTP/1.1" 200 18 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:07:30.473993178 ::ffff:10.0.50.1 - - [16/Jun/2024:21:07:30 -0500] "GET /api/config HTTP/1.1" 200 57266 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-"
2024-06-16 21:07:30.474669468 ::ffff:10.0.50.1 - - [16/Jun/2024:21:07:30 -0500] "GET /api/logs/nginx?start=822 HTTP/1.1" 200 305 "https://x.x.x.x:5000/logs" "(MY-USER-AGENT)" "-" Operating systemDebian Install methodDocker Compose Network connectionMixed Camera make and modelNot relevant. Any other information that may be helpful |
Beta Was this translation helpful? Give feedback.
Answered by
NickM-27
Jun 17, 2024
Replies: 1 comment 7 replies
-
Need to see a copy of your stats from /API/stats |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fixed in #12002