Skip to content
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

Endless Loading Spinner - Firefox Extension #9253

Open
1 task done
MartinLPetrauskas opened this issue May 19, 2024 · 34 comments
Open
1 task done

Endless Loading Spinner - Firefox Extension #9253

MartinLPetrauskas opened this issue May 19, 2024 · 34 comments
Assignees
Labels
browser Browser Extension bug

Comments

@MartinLPetrauskas
Copy link

Steps To Reproduce

  1. Open Firefox
  2. Click on Bitwarden extension icon
  3. Loading spinner appears and nothing will load

Expected Result

Expected to see vault and various different options in Bitwarden

Actual Result

bitwarden_error

Screenshots or Videos

No response

Additional Context

No response

Operating System

Linux

Operating System Version

Kubuntu 22.04

Web Browser

Firefox

Browser Version

124.0.1

Build Version

2024.4.2

Issue Tracking Info

  • 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.
@MartinLPetrauskas MartinLPetrauskas added browser Browser Extension bug labels May 19, 2024
@a-discordant-tune
Copy link

Possibly related to https://bugzilla.mozilla.org/show_bug.cgi?id=1891305, which is observed on Windows and has additional impacts (causes rest of browser UI to cease loading pages)

@jakobvase
Copy link

I had this on Firefox 125.0.3, but it's gone now I updated to 126.0.0.

@kamaradclimber
Copy link

kamaradclimber commented May 21, 2024

Could this be the same issue than #8759?

  • Firefox 126.0 (64-bit)
  • Operating System: MacOS/Windows/Linux (Distro): Linux - Archlinux
  • Are you a part of any organizations? Yes
  • What year approximately did you create your account? April 9th, 2019
  • Can you log in and successfully view your vault from our web page? Yes

@krillerdk
Copy link

For me the issue occurs when switching accounts. Initial login works fine. But after switching account, it will sometimes give me this endless spinner.
After restarting firefox twice the issue is currently not there. But a single restart of firefox was not enough.
Thisis on Firefox 126.0

@jcbeck37
Copy link

jcbeck37 commented May 22, 2024

I had this on Firefox 125.0.3, but it's gone now I updated to 126.0.0.

I have this issue in Firefox 126.0.0, but intermittently. This time just after logging back in (due to this bug)

Restarting Firefox 3 times did not solve it. I'm still "logged in" but my extension vault is not loading.

Locking and then re-entering my password did "fix" it for the moment.

@sonofjon
Copy link

I have this issue on FF 126.0 on a Mac.

@RuneNyhuus
Copy link

I have same issues with Firefox 126.0 and Bitwarden extension 2024.4.2
I get logged out, and then when i log back in, its and endless spinning....

@mrichtarsky
Copy link

Same issue since about two weeks. Windows, Firefox 125.0.3. Android and Windows apps work fine.

@robproject
Copy link

robproject commented May 24, 2024

Same issue
FF 126.0
bw extension 2024.4.2
bw server 2024.5.0
macos 14.5 (23F79)

desktop app 2024.5.0 is working

@william-davies
Copy link

william-davies commented May 24, 2024

I have a similar issue. After I log in in the Bitwarden Firefox extension, it just loads forever. So I can't actually see anything in my Vault.

Firefox 126.0
BitWarden exension 2024.4.2
MacOs Sonoma 14.5

Restarting Firefox resolves it, but this issue happens around every week.

@SergeantConfused
Copy link

Hello everyone,

Thank you all for your input. Is anyone's Firefox browser also not loading webpages when the Bitwarden browser extension seems to be indefinitely loading?

Thank you in advance,

@mrichtarsky
Copy link

Is anyone's Firefox browser also not loading webpages when the Bitwarden browser extension seems to be indefinitely loading?

No, webpages load fine.

@william-davies
Copy link

A new problem just came up today. This time I click on the Bitwarden extension icon and the modal that pops up is just loading. I can't even try to log in anymore. And then when I click away and click on the Bitwarden extension icon again, it doesn't even pop up a modal. And then my whole Firefox seems to get bricked. I can click on hyperlinks and open new tabs and search for something. But these new tabs will never load any content. I can fix this by restarting Firefox. I tried re-installing Bitwarden but immediately got the same issue. The Bitwarden extension icon disappeared as well. It still took up a place on the Firefox UI at the top, but there was just no blue shield.

This issue has happened three times in around two hours.

Firefox 126.0
BitWarden exension 2024.4.2
MacOs Sonoma 14.5

Thank you!

@craig-jennings
Copy link

I have the same behavior on Windows 11/Brave 1.66 (Chromium 125). When I inspect the widget, I'm seeing this error in the console

Uncaught (in promise) TypeError: Failed to execute 'decrypt' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'.

@upcboy
Copy link

upcboy commented May 28, 2024

I have the same behavior on Windows 11/Brave 1.66 (Chromium 125). When I inspect the widget, I'm seeing this error in the console

Uncaught (in promise) TypeError: Failed to execute 'decrypt' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'.

I'm seeing the same thing on Chrome ( 125.0.6422.113 ) and Brave( v1.66.115 125.0.6422.112 ) . Chrome worked until i forced it to update the extension to 2024.05.0
Brave stopped working first and was always on 2024.05.0 since i noticed the issue.

The issue also exists on the Beta version of the Bitwarden Extension.

@stiffbruno
Copy link

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

@isleshocky77
Copy link

isleshocky77 commented May 29, 2024

This is happening on Chrome Version: 2024.5.1 as well. 2024.4.2 still works just fine.

@nicolastorrente
Copy link

Im having this issue also

Plugin version 2024.5.1
Browser: Chome stable in ubuntu (Versión 125.0.6422.112 (Build oficial) (64 bits))

@justindbaur justindbaur self-assigned this May 30, 2024
@justindbaur
Copy link
Member

Hey all, we are looking into this, no one has been able to recreate this internally at Bitwarden yet. I will hopefully be hopping on a call with a user tomorrow to debug the problem. What I first want to do here is make sure there aren't two bugs going on here that are just manifesting themselves in the same way.

Has anyone using the Firefox extension seen errors like the following:

Uncaught (in promise) TypeError: Failed to execute 'decrypt' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'.

I'm currently working on the theory that this particular error message is Chrome/Chromium based browsers ONLY but if I am wrong about that, please let me know.

If Firefox users aren't seeing that particular error, are you seeing any other error?

One more thing, anyone who is looking to report their instance of the bug or willing to update their original report some of the extra information I am interested in are:

  • Operating System: MacOS/Windows/Linux (Distro)
  • Are you a part of any organizations?
  • What year approximately did you create your account? The tickets we've received seem to be from accounts created in 2017/2018.
  • Can you log in and successfully view your vault from our web page?

Thank you for all your help and your patience, hopefully we will get a fix out shortly for you all.

@stiffbruno
Copy link

Hey Justin, my issue is only with the Chrome extension.

Operating System: Windows 11 Pro 23H2 22635.3646
Are you a part of any organizations? No, regular cloud account.
Account creation date: August 11, 2018
Can you log in and successfully view your vault from our web page? Yes.

Google Chrome version: 125.0.6422.113
Google Chrome Bitwarden extension version 2024.5.1

Desktop App version 2024.5.0: Working fine.
The 2024.4.2 version extensions, both on Chrome (sideloaded) and Firefox are working fine.

@kamaradclimber
Copy link

If Firefox users aren't seeing that particular error, are you seeing any other error?

I don't see the mentioned error.

Here are the developer tools console errors:

downloadable font: Glyph bbox was incorrect (glyph ids 4 5 12 16 17 20 21 22 23 29 31 33 35 37 38 39 40 41 42 43 45 47 48 49 50 61 62 66 67 68 69 70 75 76 78 80 86 87 88 98 99 102 103 105 109 111 112 113 123 124 125 128 129 130 131 137 138 139 143 145 146 154 158 159 160 161 162 163 171 172 176) (font-family: "bwi-font" style:normal weight:400 stretch:100 src index:1) source: moz-extension://b04b2b20-9ae0-44e9-8c95-66380ba8dffc/popup/fonts/bwi-font.ttf

Error while fetching an original source: unsupported protocol for sourcemap request webpack:///%3Cno%20source%3E
Source URL: webpack:///%3Cno%20source%3E

downloadable font: Glyph bbox was incorrect (glyph ids 4 5 12 16 17 20 21 22 23 29 31 33 35 37 38 39 40 41 42 43 45 47 48 49 50 61 62 66 67 68 69 70 75 76 78 80 86 87 88 98 99 102 103 105 109 111 112 113 123 124 125 128 129 130 131 137 138 139 143 145 146 154 158 159 160 161 162 163 171 172 176) (font-family: "bwi-font" style:normal weight:400 stretch:100 src index:1) source: moz-extension://b04b2b20-9ae0-44e9-8c95-66380ba8dffc/popup/fonts/bwi-font.ttf
State version: 58

@justindbaur
Copy link
Member

For anyone having the TypeError: Failed to execute 'decrypt' on 'SubtleCrypto' problem in Chrome/Chromium browsers. Could you try sideloading the DO-NOT-USE-FOR-PROD-dist-chrome-MV3-b587105.zip artifact from this build and see if it fixes your problem? If you don't feel comfortable sideloading, we are going to be uploading this fix to our beta extension first and I will update this issue with a link to that when its been approved. Thank you so much for all your reports in helping us fix the issue.

For the firefox issue, we believe this is a separate issue from the Chrome one, we are still looking into it and are struggling to reproduce it consistently.

@upcboy
Copy link

upcboy commented May 30, 2024

For anyone having the TypeError: Failed to execute 'decrypt' on 'SubtleCrypto' problem in Chrome/Chromium browsers. Could you try sideloading the DO-NOT-USE-FOR-PROD-dist-chrome-MV3-b587105.zip artifact from this build and see if it fixes your problem? If you don't feel comfortable sideloading, we are going to be uploading this fix to our beta extension first and I will update this issue with a link to that when its been approved. Thank you so much for all your reports in helping us fix the issue.

For the firefox issue, we believe this is a separate issue from the Chrome one, we are still looking into it and are struggling to reproduce it consistently.

This does seem to resolve the Chrome issue I was facing. After sideloading the extension I can now login with out issue.

@stiffbruno
Copy link

For anyone having the TypeError: Failed to execute 'decrypt' on 'SubtleCrypto' problem in Chrome/Chromium browsers. Could you try sideloading the DO-NOT-USE-FOR-PROD-dist-chrome-MV3-b587105.zip artifact from this build and see if it fixes your problem? If you don't feel comfortable sideloading, we are going to be uploading this fix to our beta extension first and I will update this issue with a link to that when its been approved. Thank you so much for all your reports in helping us fix the issue.

For the firefox issue, we believe this is a separate issue from the Chrome one, we are still looking into it and are struggling to reproduce it consistently.

It worked for me, it managed to load all my data.

@NR2014
Copy link

NR2014 commented May 31, 2024

I am also facing the same issue on Waterfox(G6.0.15 (64-bit).. Also the firefox add-on are not up to date compared to the chrome version .

Everytime i have issue with bitwarden add-on , i need to uninstall and reinstall the add-on , it will work for some weeks and then start to have the same issue. Please rectify the issue , its annoying.

@mrichtarsky
Copy link

@justindbaur Thanks for looking into this issue and updating us! Here are a few findings that may help.

My vault is set to never timeout, however since a few days (perhaps related to this issue) I notice I am logged out when unlocking my computer the next day. This just happened. So I tried to login and hit the issue:

Steps:

  • Try to login
  • Loading spinner appears
  • Disable and enable the extension in Firefox
  • Login

Login is now successful. This results in these network requests:

network_requests

The dark highlight denotes the first call after reenabling the extension. So everything above is from the failed login until I disabled the extension. Note the failing websocket requests (404). But they happen in both cases, so do not seem to be the immediate reason.

Let me know if you need further info from these requests, I have saved the HAR file (but do not want to share).

I did pause the extension in the debugger when the spinner appeared yesterday, it was hitting a timeout callback waiting for a response, didn't seem immediately helpful. Do not see the spinner now to make a screenshot but let me know if that would help.

This is running against my own Vaultwarden server, which is running on the latest version. I also restarted it while the spinner did show, which did not make it go away (yesterday, not part of above screenshot). Not part of any organizations, all other clients work fine (Windows & Android)

@shadow-identity
Copy link

shadow-identity commented May 31, 2024

@justindbaur, I use Firefox Developer Edition. I think this bug is the same as described here: #9309
Regarding your questions:

Operating System: macOS 14.5 (23F79)
Are you a part of any organizations? No
What year approximately did you create your account? 2023
Can you log in and successfully view your vault from our web page? Yes

I reproduce it on FF 127.0b9 (64-bit), extension version is 2024.4.2 (why is it different from the Chrome's web store?)
I don't reproduce it on FF 126.0.1 (64-bit) (same accounts, same system).

It happened couples of days ago for the first time.

In the extension's devtools, I see only this warning below (no errors reported to the console, nothing related to type error you quoted).

After clicking on the extension button, FF broke. Pages don't load, devtools do not work.

downloadable font: Glyph bbox was incorrect (glyph ids 4 5 12 16 17 20 21 22 23 29 31 33 35 37 38 39 40 41 42 43 45 47 48 49 50 61 62 66 67 68 69 70 75 76 78 80 86 87 88 98 99 102 103 105 109 111 112 113 123 124 125 128 129 130 131 137 138 139 143 145 146 154 158 159 160 161 162 163 171 172 176) (font-family: "bwi-font" style:normal weight:400 stretch:100 src index:1) source: moz-extension://aaf55415-ea43-414a-bbec-1c0ce054c315/popup/fonts/bwi-font.ttf 

@EDIflyer
Copy link

EDIflyer commented Jun 1, 2024

Just to confirm I experienced this a couple of times recently too.

Chrome Version 125.0.6422.142 (Official Build) (64-bit)
Bitwarden Version 2024.4.2
Server version: 2024.5.0

Operating System: Windows 11
Are you a part of any organizations? Yes (recently upgraded from personal Premium to Teams a month ago)
What year approximately did you create your account? 2021
Can you log in and successfully view your vault from our web page? Yes. Can also view it OK in Firefox.

I've noticed this a couple of times recently. One time if I moved from tab to vault it would then let me see the entries OK. This time it wouldn't work for either Tab or Vault. Send/Generator/Settings all accessible OK. I then rebooted the machine after a Windows Update and it worked OK when I came back in.

@Phlosioneer
Copy link

Phlosioneer commented Jun 2, 2024

Experienced this on firefox 126.0, windows 11. Using the top-right menu to re-lock it and then unlocking it again fixed it, for now. While it was spinning endlessly, I popped the dropdown out into its own window. Developer Tools's debugger on the popped-out window did not detect any code being run except a periodic heartbeat command. I unfortunately lost the exact name of the command, but it was pausing near a comment like "Check if this dangling promise is intentional" and an @eslint annotation. (The dangling promise is probably completely unrelated, just trying to describe where in the code the heartbeat was happening.) Whatever the spinner is waiting for, wasn't being executed.

No errors in the dev console, though, and no unusual logs. Did not check network tab.

@Luckz
Copy link

Luckz commented Jun 3, 2024

Can confirm that locking and unlocking again now worked as a workaround in Edge (2024.5.2 from CWS) without installing the build artifact linked further above.

@fily1212
Copy link

fily1212 commented Jun 8, 2024

I experienced today and yesterday with Firefox 126.0.1
Yesterday, I resolved to uninstall the Bitwarden extension and reinstall it.
I have Windows 11, the bitwarden extension version 2024.4.2
Today it happened again

EDIT: Today, I resolved unlogging and doing the login again. I don't remember if I tried in the past (I think yes and did not work, some weeks ago but not 100% sure)

@mrichtarsky
Copy link

@justindbaur Any update here? Were you able to reproduce this? Thanks!

@bd808
Copy link

bd808 commented Jun 10, 2024

Yet another "me too" post on this general error scenario. I started seeing this issue today with Firefox 126.0.1 on MacOS 14.5 (M3 Max) and the 2024.4.2 Bitwarden addon. Symptoms were that the Bitwarden addon's popup dialog would not open and tabs would not load either.

Restarting Firefox, restarting networking, and even restarting the laptop did not change the addon's behavior of first showing a blank page and then the popup not even opening. Firefox would restore tabs from local cache on startup but would not load new pages or reload existing tabs.

Disabling the addon got Firefox working again initially. Uninstalling and reinstalling the addon seems to have returned both Firefox and the addon to normal function, but I have not done much more than authenticate via the addon and load this page since reinstalling.

@LiloBzH
Copy link

LiloBzH commented Jun 10, 2024

same probleme

Extension : 2024.4.2
Firefox 126 / Windows 11

when waking up for example, I enter the password and the extension loads infinitely
deactivation / reactivation fixes the problem but it's not a solution ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser Browser Extension bug
Projects
None yet
Development

No branches or pull requests