Creating passkeys fails: Uncaught (in promise) Error: The operation either timed out or was not allowed. #268

Closed
opened 2025-07-08 08:44:53 -04:00 by AtHeartEngineer · 0 comments

Originally created by @brianjmurrell on 1/16/2025

Vaultwarden Support String

Nothing happens when I click on the
image
button. Developer tools console in the browser doesn't even show anything new.

On reloading that /admin/diagnostics page however the console does report:

Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
Error with Permissions-Policy header: Unrecognized feature: 'battery'.
Error with Permissions-Policy header: Unrecognized feature: 'document-domain'.
Error with Permissions-Policy header: Unrecognized feature: 'execution-while-not-rendered'.
Error with Permissions-Policy header: Unrecognized feature: 'execution-while-out-of-viewport'.
Error with Permissions-Policy header: Unrecognized feature: 'web-share'.
Navigated to https://vw.interlinx.bc.ca:56443/admin/diagnostics
admin_diagnostics.js:201 Uncaught TypeError: Cannot read properties of null (reading 'indexOf')
    at initVersionCheck (admin_diagnostics.js:201:25)
    at init (admin_diagnostics.js:400:5)
    at HTMLDocument.<anonymous> (admin_diagnostics.js:415:5)

Maybe that is why.

Vaultwarden Build Version

v1.32.7

Deployment method

OS Package (apt, yum/dnf, pacman, apk, nix, ...)

Custom deployment method

No response

Reverse Proxy

Not yet

Host/Server Operating System

Linux

Operating System Version

Fedora 40

Clients

Browser Extension

Client Version

2024.12.4

Steps To Reproduce

  1. Go to github.com -> Settings -> Passwords & Authentication -> Add a passkey
  2. Click on Add passkey button
  3. Choose a login to save the passkey to
  4. Click Save passkey

Expected Result

Passkey should be saved.

Actual Result

image

Devtools console reports:

fido2-page-script.js:294 Uncaught (in promise) Error: The operation either timed out or was not allowed.
    at Messenger.<anonymous> (fido2-page-script.js:294:35)
    at Generator.next (<anonymous>)
    at fulfilled (fido2-page-script.js:230:58)

Logs

Jan 15 20:33:04 vaultwarden[2900454]: [2025-01-15 20:33:04.077][request][INFO] POST /identity/connect/token
Jan 15 20:33:04 vaultwarden[2900454]: [2025-01-15 20:33:04.080][response][INFO] (login) POST /identity/connect/token => 400 Bad Request
Jan 15 20:33:07 vaultwarden[2900454]: [2025-01-15 20:33:07.151][request][INFO] POST /identity/connect/token
Jan 15 20:33:07 vaultwarden[2900454]: [2025-01-15 20:33:07.151][response][INFO] (login) POST /identity/connect/token => 400 Bad Request

Screenshots or Videos

No response

Additional Context

Passkeys add fine using the same browser, extension, etc. when using the bitwarden.com vault server.

*Originally created by @brianjmurrell on 1/16/2025* ### Vaultwarden Support String Nothing happens when I click on the ![image](https://github.com/user-attachments/assets/ee54c927-5bdf-4e8f-a8f6-3801cf42800b) button. Developer tools console in the browser doesn't even show anything new. On reloading that `/admin/diagnostics` page however the console does report: ``` Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'. Error with Permissions-Policy header: Unrecognized feature: 'battery'. Error with Permissions-Policy header: Unrecognized feature: 'document-domain'. Error with Permissions-Policy header: Unrecognized feature: 'execution-while-not-rendered'. Error with Permissions-Policy header: Unrecognized feature: 'execution-while-out-of-viewport'. Error with Permissions-Policy header: Unrecognized feature: 'web-share'. Navigated to https://vw.interlinx.bc.ca:56443/admin/diagnostics admin_diagnostics.js:201 Uncaught TypeError: Cannot read properties of null (reading 'indexOf') at initVersionCheck (admin_diagnostics.js:201:25) at init (admin_diagnostics.js:400:5) at HTMLDocument.<anonymous> (admin_diagnostics.js:415:5) ``` Maybe that is why. ### Vaultwarden Build Version v1.32.7 ### Deployment method OS Package (apt, yum/dnf, pacman, apk, nix, ...) ### Custom deployment method _No response_ ### Reverse Proxy Not yet ### Host/Server Operating System Linux ### Operating System Version Fedora 40 ### Clients Browser Extension ### Client Version 2024.12.4 ### Steps To Reproduce 1. Go to github.com -> Settings -> Passwords & Authentication -> Add a passkey 2. Click on Add passkey button 3. Choose a login to save the passkey to 4. Click Save passkey ### Expected Result Passkey should be saved. ### Actual Result ![image](https://github.com/user-attachments/assets/dffdf724-025d-468e-9489-2d881dbe9a07) Devtools console reports: ``` fido2-page-script.js:294 Uncaught (in promise) Error: The operation either timed out or was not allowed. at Messenger.<anonymous> (fido2-page-script.js:294:35) at Generator.next (<anonymous>) at fulfilled (fido2-page-script.js:230:58) ``` ### Logs ```text Jan 15 20:33:04 vaultwarden[2900454]: [2025-01-15 20:33:04.077][request][INFO] POST /identity/connect/token Jan 15 20:33:04 vaultwarden[2900454]: [2025-01-15 20:33:04.080][response][INFO] (login) POST /identity/connect/token => 400 Bad Request Jan 15 20:33:07 vaultwarden[2900454]: [2025-01-15 20:33:07.151][request][INFO] POST /identity/connect/token Jan 15 20:33:07 vaultwarden[2900454]: [2025-01-15 20:33:07.151][response][INFO] (login) POST /identity/connect/token => 400 Bad Request ``` ### Screenshots or Videos _No response_ ### Additional Context Passkeys add fine using the same browser, extension, etc. when using the bitwarden.com vault server.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#268