bitwarden / clients

Bitwarden client apps (web, browser extension, desktop, and cli).
https://bitwarden.com
Other
9.02k stars 1.18k forks source link

"Errors have occurred" when creating new Chrome extension login #171

Closed minmarble closed 6 years ago

minmarble commented 7 years ago

When attempting to make a new login for a site using the Chrome browser extension, this error pops up:

extension_error

You're able to make a login using the web vault, but it doesn't seem to sync with the extension itself and will not show the new login you've made in the extension.

I have disabled all other Chrome extensions except Bitwarden itself to test for conflicts and it still seems to be a problem.

kspearrin commented 7 years ago

@minmarble It appears that you are having issues connecting to the bitwarden server for some reason. Can you try doing a manual sync and see if you get an error with that as well?

minmarble commented 7 years ago

@kspearrin After adding a login to the web vault, then going to Settings > Manage section > Sync in the extension, it still does not seem to update, even after the "Syncing complete" prompt.

It also doesn't seem to update to the latest time of the sync when it's done manually... it says the last sync was done more than 30 minutes ago, which is when I opened Chrome (and started my computer) for the first time today.

kspearrin commented 7 years ago

@minmarble Are you familiar with how to view the dev tools on the extension to see if there are any network errors occurring during the sync?

You can swing into our dev chat room if you like and I can walk you through it: https://gitter.im/bitwarden/Lobby

jjdelc commented 7 years ago

Seeing same error here (Firefox Nightly + Ubuntu), the text is a bit different. It says "An unexpected error has occurred" when trying to manually add a new site.

kspearrin commented 7 years ago

@jjdelc log out and back in app to fix it for now.

jjdelc commented 7 years ago

Logged out, now I see the same red error trying to log in.

kspearrin commented 7 years ago

Can you email me at https://bitwarden.com/contact so I can get more info.

jjdelc commented 7 years ago

Done, I also joined the gitter channel

jjdelc commented 7 years ago

@minmarble do you have uMatrix installed? I just tried disabling the extension completly and it worked.

The problem was that even when I "switched off" the filtering, I still had trouble. And there were no sources pointing to anything bitwarden in the uMatrix menu to indicate that some requests were being blocked. The only way to get around was completly disable the extension.

walrus543 commented 7 years ago

@jjdelc no need to disable uMatrix. There are a few connections to allow in the behind-the-scene mode. Here is what I allowed on my end:

behind-the-scene api.bitwarden.com xhr allow behind-the-scene identity.bitwarden.com xhr allow behind-the-scene maillink.bitwarden.com other allow behind-the-scene vault.bitwarden.com other allow

jjdelc commented 7 years ago

@Primokorn Thanks! I was trying with matrix-off and didn't have any luck.

I found though that disabling and enabling it also resolved the issue, a re-enabled uMatrix even without any rules added also allowed bitwarden to work.

LivingWithHippos commented 7 years ago

I fixed this with the rule " bitwarden.com allow" into the my-rules section

walrus543 commented 7 years ago

@jjdelc Disabling uMatrix is not a good idea since you allow (even temporarily) all the traffic. @LivingWithHippos yes... if you want to allow everything from bitwarden including analytics.

bb010g commented 7 years ago

For whatever reason, when I checked the log and tried to enable it from there, it was marked as coming from youtube.com despite trying to create the password in a different tab. I ended up using @Primokorn's exceptions with a * filter instead of behind-the-scene.

SylwesterZarebski commented 7 years ago

With Firefox 54.0.1 behind-the-scene do not work for me. I have to use * instead, like @bb010g do.

kspearrin commented 6 years ago

This should be resolved now.

569258yin commented 2 years ago

I also had the same problem。 On the server I built myself, I can log in using the browser web page, but the login error using the plug-in After I uninstalled the plug-in, I can log in normally for the first time. When I close Chrome and reopen it and need to log in again, I get an error when I log in.

chrome: 98.0.4758.80 bitwarden plugin: 1.55.0