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

Logs on Status Page - broken Chrome 104 #1400

Closed
1 of 3 tasks
devenbj opened this issue Aug 5, 2022 · 5 comments
Closed
1 of 3 tasks

Logs on Status Page - broken Chrome 104 #1400

devenbj opened this issue Aug 5, 2022 · 5 comments
Labels

Comments

@devenbj
Copy link

devenbj commented Aug 5, 2022

Describe The Bug

The Homebridge Logs on the Status page remains blank, even though the Logs menu item takes me to a fully visible logs page. :) This is not an issue on the latest version of Safari on Mac, nor on Firefox Ubuntu. It is an issue on Chrome 104 on Ubuntu and Mac. It was not present on Chrome 103 on Windows 11, nor Edge 103 on Windows 11.

I have restarted the server, homebridge, cleared browser cache and restarted browsers, reset to default layout, manually removed and added logs widget. No impact.

The logs are browser errors that are showing up.

Please let me know if there is any other logging or troubleshooting to assist.

Logs

main.2129f16d21c6e853.js:1 ERROR Error: This API only accepts integers
    at main.2129f16d21c6e853.js:1:1881023
    at Array.forEach (<anonymous>)
    at f._verifyIntegers (main.2129f16d21c6e853.js:1:1880968)
    at f.resize (main.2129f16d21c6e853.js:1:1878155)
    at s.fit (main.2129f16d21c6e853.js:1:1775772)
    at main.2129f16d21c6e853.js:1:169420
    at Ee.<computed> (polyfills.72f9dfbbeffa1ed2.js:1:29353)
    at X.invokeTask (polyfills.72f9dfbbeffa1ed2.js:1:7865)
    at Object.onInvokeTask (main.2129f16d21c6e853.js:1:2257303)
    at X.invokeTask (polyfills.72f9dfbbeffa1ed2.js:1:7786)
handleError @ main.2129f16d21c6e853.js:1
main.2129f16d21c6e853.js:1 ERROR Error: This API only accepts integers
    at main.2129f16d21c6e853.js:1:1881023
    at Array.forEach (<anonymous>)
    at f._verifyIntegers (main.2129f16d21c6e853.js:1:1880968)
    at f.resize (main.2129f16d21c6e853.js:1:1878155)
    at s.fit (main.2129f16d21c6e853.js:1:1775772)
    at Object.next (main.2129f16d21c6e853.js:1:169949)
    at A.next (main.2129f16d21c6e853.js:1:1690948)
    at R._next (main.2129f16d21c6e853.js:1:1690632)
    at R.next (main.2129f16d21c6e853.js:1:1690327)
    at h (main.2129f16d21c6e853.js:1:1701116)

Config

No response

Homebridge UI Version

4.50.0

Homebridge Version

1.5.0

Node.js Version

16.16.0

Operating System

Ubuntu / Debian (or a variant)

Environment Info

  • Using Docker?
  • Using Hyper-V?
  • Using hb-service?

Raspberry Pi Model

No response

@devenbj devenbj added the bug label Aug 5, 2022
@longzheng
Copy link

I traced the issue down to this._charSizeService.measure()

On Chrome 104, this._measureElement.getBoundingClientRect(); is returning all 0s

image

On Firefox, it returns valid values

image

@OwlBawl
Copy link

OwlBawl commented Aug 6, 2022

The same issue here here after last Chrome update

@oznu
Copy link
Member

oznu commented Aug 7, 2022

@bo-2221
Copy link

bo-2221 commented Aug 7, 2022

homebridge-config-ui-x v4.50.1-test.5 is working, the log shows something again

Thanks

@OwlBawl
Copy link

OwlBawl commented Aug 7, 2022

Confirm working now

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

No branches or pull requests

5 participants