-
Notifications
You must be signed in to change notification settings - Fork 12
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
Intermittent "NotAllowedError: Failed to write the report." on Chrome v115+ #92
Comments
This is the first we have heard of. The output report has stayed the same. Writing to device "0" for example does not always work if the OS enumerates them in a different order. |
This was pretty easy to reproduce, and I could see that when approving the device it returns 3 different objects where we were always taking the first of this list. Filtering this to only return and accept ones with usagePage 12 has made the issue go away for me |
Correction: Issue might have been present on earlier Chrome version (115) and was exposed by a combination of Windows upgrade and Chrome update. |
I reviewed with our firmware engineer; she recommends: |
thanks guys, I'm able to fix it locally since I can access these fields. Will update my package once #93 is merged since it seems to also take care of an uncaught promise rejection. Won't close this issue myself until above is merged |
This is now fixed in version |
The following uncaught exception (or promise rejection, not sure)
"NotAllowedError: Failed to write the report."
gets thrown from within functionsetupXkeysPanel
.On Chrome versions 117+ (tested on 117, 118, 120), this happens consistently until Chrome is restarted* ( can use chrome://restart ). *The issue gets resolved only after a random number of Chrome restarts and sometimes requiring XKeys to be replugged. The issue can then be reintroduced after a certain random number of Chrome restarts again.
The issue is never reproduced on Chrome v115 and below.Chrome v116 behaviour is untested.In Chrome device log ( chrome://device-log/ ) I see either one of these 2 errors when the issue occurs when calling setupXkeysPanel:
Output report buffer too long (36 > 2).
This device does not support output reports.
Reproduced with:
Any ideas?
The text was updated successfully, but these errors were encountered: