clients icon indicating copy to clipboard operation
clients copied to clipboard

Random authentication issue on linux

Open lbouriez opened this issue 8 months ago • 14 comments

Steps To Reproduce

We are using bw to authenticate to bitwarden in our CI, was working perfectly until a few days ago where randomly we get:

Account does not exist/snapshot/clients/apps/cli/build/bw.js:36644 state.accounts[userId].profile = diskAccount.profile; ^

TypeError: Cannot read properties of null (reading 'profile') at StateService. (/snapshot/clients/apps/cli/build/bw.js:36644:62) at Generator.next () at /snapshot/clients/apps/cli/build/bw.js:36552:71 at new Promise () at /snapshot/clients/apps/cli/build/bw.js:36548:12 at /snapshot/clients/apps/cli/build/bw.js:36639:61 at StateService. (/snapshot/clients/apps/cli/build/bw.js:37299:44) at Generator.next () at /snapshot/clients/apps/cli/build/bw.js:36552:71 at new Promise ()

We get this error randomly once every 10 runs. The API-key used is always the same.

Expected Result

We should be connected

Actual Result

We are not connected

Screenshots or Videos

No response

Additional Context

No response

Operating System

Linux

Operating System Version

No response

Shell

Bash

Build Version

2024.6

Issue Tracking Info

  • [X] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

lbouriez avatar Jun 14 '24 13:06 lbouriez