Code Monkey home page Code Monkey logo

Comments (15)

LiloBzH avatar LiloBzH commented on September 26, 2024 1

Same issue with Firefox Extension

sometimes , after sleep of windows,
after entering the password, the extension starts loading but no longer moves.
To unblock, you must restart Firefox or deactivate then reactivate the extension (and enter the password again) for it to work again.

from vaultwarden.

BlackDex avatar BlackDex commented on September 26, 2024 1

Might be related to this: bitwarden/clients#9253
If you say that it is working with an older version of the extension, then i think something has changed on the client side which is causing an issue.

You might want to try a clean account and add some test entries and see if that keeps working.
Then if that is the case you can try to export your vault, and import it into the test account and see if it starts failing again.
If that is the case, there might be some entry which is causing issues.

from vaultwarden.

BlackDex avatar BlackDex commented on September 26, 2024

Seems to work just fine for me.
Do you see any connection attempts and/or errors why you try to sync via the Chrome Extension?

from vaultwarden.

bunicb avatar bunicb commented on September 26, 2024

Sync seems to work fine, I get the green banner with Syncing complete.
When looking in the Chrome console I get one error periodically:

background.js:2 Uncaught (in promise) TypeError: Failed to execute 'decrypt' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'.
    at ip.<anonymous> (background.js:2:942102)
    at Generator.next (<anonymous>)
    at s (background.js:2:936910)

The next one is shown when switching to vault tab, and has a larger stack trace:

Unhandled error in angular Error: Uncaught (in promise): TypeError: Failed to execute 'decrypt' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'.
TypeError: Failed to execute 'decrypt' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'.
    at NV.<anonymous> (web-crypto-function.service.ts:342:38)
    at Generator.next (<anonymous>)
    at o (main.js:10:348918)
    at u.invoke (zone.js:368:26)
    at Object.onInvoke (ng_zone.ts:443:29)
    at u.invoke (zone.js:367:52)
    at s.run (zone.js:129:43)
    at zone.js:1257:36
    at u.invokeTask (zone.js:402:31)
    at Object.onInvokeTask (ng_zone.ts:428:29)
    at I (zone.js:1193:31)
    at zone.js:1100:17
    at zone.js:1116:33
    at a (main.js:1:1146473)
    at u.invoke (zone.js:368:26)
    at Object.onInvoke (ng_zone.ts:443:29)
    at u.invoke (zone.js:367:52)
    at s.run (zone.js:129:43)
    at zone.js:1257:36
    at u.invokeTask (zone.js:402:31)

I tried bypassing the reverse proxy, but to no avail.

from vaultwarden.

BlackDex avatar BlackDex commented on September 26, 2024

Try to fully logout and login and see what that does.

from vaultwarden.

bunicb avatar bunicb commented on September 26, 2024

Tried it, same issue. Tried logging in to Bitwarden cloud, just to confirm it's doing this only with my instance, and that worked without issues.
Desktop app of the same version seems to work fine.

from vaultwarden.

BlackDex avatar BlackDex commented on September 26, 2024

Now, i do not think it would do that much, but could you try the testing tagged Vaultwarden image? And see if that somehow solves it?

from vaultwarden.

BlackDex avatar BlackDex commented on September 26, 2024

Not sure, but could you check if you might have some invalid data in the database by running the following Database Query
after making a backup of the database:

SELECT * FROM ciphers WHERE atype=2 AND data LIKE '%"Type":null%';

If that returns one or more rows, then try to execute this query:

UPDATE ciphers
SET data = REPLACE(data, '"Type":null', '"Type":0')
WHERE data LIKE '%"Type":null%';

from vaultwarden.

bunicb avatar bunicb commented on September 26, 2024

Tried the testing image, no difference.
The SELECT query returned zero rows.

from vaultwarden.

BlackDex avatar BlackDex commented on September 26, 2024

Also, what KDF settings do you have configured?

from vaultwarden.

LiloBzH avatar LiloBzH commented on September 26, 2024

yes that's this issue !

KDF : 600000

from vaultwarden.

bunicb avatar bunicb commented on September 26, 2024

Apparently had it set to the previous default of 10000. Set it to 600000, no change.

Tried it with a clean account and it seems to work. Imported data, works, added it to the organization and collections, and it seems to work fine. Still doesn't work with my original account.

Not sure what the issue is, it looks like the only differences are attachments in some items, which are not present in current items and added Duo 2FA. Will try adding those one by one to see if there are any differences.

from vaultwarden.

bunicb avatar bunicb commented on September 26, 2024

Added some attachments, and added Duo integration. Duo doesn't seem to work because it now wants a Universal prompt, but otherwise the new account works, so it seems something is odd with my old account.

from vaultwarden.

stiffbruno avatar stiffbruno commented on September 26, 2024

Hello, I have the same problem since Chrome extension version 2024.5.0. Has anyone found a solution yet?

from vaultwarden.

BlackDex avatar BlackDex commented on September 26, 2024

There has been a new release of the extensions just a few hours ago which contains fixed for decryption issues. It probably is related to that. Since this does look more like a client issue, going to move this from issues.

from vaultwarden.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.