-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Linux Desktop Client blanks out when entering vault key #6560
Comments
I can confirm this on Ubuntu 20.04 for version 2023.9.2. When I start typing my master password in the field, the window blanks out. Menus are accessible, but the app itself is unusable. |
I'm seeing this behavior, but user interaction doesn't seem to affect it. I can open the application and just wait 3-5 seconds to see the "crash". Menus are still clickable, but the central UI is just blank. If I keep my mouse cursor on the screen it seems to wait not exhibit the "crash" but one mouse-out and mouse-back kicks it off. The current AppImage seems to be My error is similar to above: Logs(node:262630) DeprecationWarning: file property is deprecated and will be removed in v5. (Use `bitwarden --trace-deprecation ...` to show where the warning was created) (node:262630) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'init') at BiometricsService. (/opt/Bitwarden/resources/app.asar/main.js:47194:55) at Generator.next () at /opt/Bitwarden/resources/app.asar/main.js:47160:71 at new Promise () at biometrics_service_awaiter (/opt/Bitwarden/resources/app.asar/main.js:47156:12) at BiometricsService.init (/opt/Bitwarden/resources/app.asar/main.js:47193:16) at Main. (/opt/Bitwarden/resources/app.asar/main.js:53805:46) at Generator.next () at fulfilled (/opt/Bitwarden/resources/app.asar/main.js:53702:58) (node:262630) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) (node:262630) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of null (reading 'null') at new Menubar (/opt/Bitwarden/resources/app.asar/main.js:45540:131) at MenuMain. (/opt/Bitwarden/resources/app.asar/main.js:45594:56) at Generator.next () at fulfilled (/opt/Bitwarden/resources/app.asar/main.js:45564:58) (node:262630) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3) |
Thanks for the bug report! I am able to reliably reproduce on Ubuntu 22.04.2 with both deb and AppImage. It looks like this might have been caused by our recent Electron update. The team is looking into a resolution now. Potentially related: electron/electron#32760 |
Same Issue on newest Fedora Beta |
Same issue on AppImage and flatpack installs on ubuntu 23.04, even just login screen when first setting up, enter email field shows for 3/5 seconds then blanks out, using the menu, view->reload shows it again for 3 to 5 seconds and blanks again Command line Trace luke@luke-strix-670e-f-7900x3d ~/opt/Bitwarden ./Bitwarden-2023.9.2-x86_64.AppImage
(node:64111) DeprecationWarning: file property is deprecated and will be removed in v5.
(Use `bitwarden --trace-deprecation ...` to show where the warning was created)
(node:64111) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'init')
at BiometricsService.<anonymous> (/tmp/.mount_BitwarZFVBrF/resources/app.asar/main.js:47194:55)
at Generator.next (<anonymous>)
at /tmp/.mount_BitwarZFVBrF/resources/app.asar/main.js:47160:71
at new Promise (<anonymous>)
at biometrics_service_awaiter (/tmp/.mount_BitwarZFVBrF/resources/app.asar/main.js:47156:12)
at BiometricsService.init (/tmp/.mount_BitwarZFVBrF/resources/app.asar/main.js:47193:16)
at Main.<anonymous> (/tmp/.mount_BitwarZFVBrF/resources/app.asar/main.js:53805:46)
at Generator.next (<anonymous>)
at fulfilled (/tmp/.mount_BitwarZFVBrF/resources/app.asar/main.js:53702:58)
(node:64111) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:64111) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of null (reading 'null')
at new Menubar (/tmp/.mount_BitwarZFVBrF/resources/app.asar/main.js:45540:131)
at MenuMain.<anonymous> (/tmp/.mount_BitwarZFVBrF/resources/app.asar/main.js:45594:56)
at Generator.next (<anonymous>)
at fulfilled (/tmp/.mount_BitwarZFVBrF/resources/app.asar/main.js:45564:58)
(node:64111) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
10:01:00.528 › Checking for update
10:01:01.028 › Update for version 2023.9.2 is not available (latest version: 2023.9.2, downgrade is disallowed). |
What version should we be running as I am still getting this crash with the most recent published version? |
2023.9.1 works like a charm |
Indeed seems like an issue with 2023.9.2. As mentioned above, most likely related change is the Electron bump: #6511. |
I installed the previous version as commented before, but now the window don't even open. I'm just getting this on the console.
to update i used the next hash
also tried with the version 2022.8.4 |
Same issue on Pop_os, using browser extention for now. Edit: Password manager in the browser, is kinda sus, I went paranoid and install previous .deb version [https://github.com/bitwarden/clients/releases/download/desktop-v2023.8.4/Bitwarden-2023.8.4-amd64.deb], uninstalled latest flatpak, and no issues at all. |
Same problem here on Fedora Linux 38 (Workstation Edition) with the flatpack version. |
Meantime whenever Bitwarden-2023.9.1-x86_64.AppImage starts it automatically upgrades itself to the buggy Bitwarden-2023.9.2-x86_64.AppImage. I didn't find any setting to disable this behaviour. Also tried to set the file read only for everyone and changed the owner to root: even launched as normal user the file is replaced as well. Any hint to prevent the automatic update, at least until a fix is released? |
I can reproduce with Fedora 38 |
I have the same behavior with flatpak version: Running PopOS 22.04 |
I have had problems using Blend OS and Fedora38 both installed via Flatpak. AppImage does the same thing. Recent since yesterday. I have uninstalled and reinstalled including different OS. Only thing that seems to work is the browser extension, and I hate browser extensions. Currently using Fedora Silverblue 38. |
Same issue on a fresh install of Linux Mint 21.2 Cinnamon 5.8.4, for both the .appimage and the .deb; like above, I also saw the same error message in the command line, although they did happen before the page disappeared:
I looked into my
|
Same issue on Debian 12 bookworm with Flatpak version:
|
See same on Arch linux with latest version with:
Reverted version to 2023.9.1 and |
Pretty sure this is borked on every Linux distro via all distribution channels |
Solved with new release 2023.9.3: |
Since flatpak is usually a delay from OG release this will downgrade to 2023.9.1 which will work in the meantime.
Update: 2023.9.3 made it to Flatpak so this workaround is no longer needed |
Isnt fixed, same Problem on 2023.9.3: unning '/usr/bin/bwrap --args 40 bitwarden --trace-deprecation' |
It works again in Fedora 38 with 2023.9.3 version from flathub. But I still get this annoying message "We're sorry, it looks like Bitwarden crashed" message in Gnome every time Bitwarden is locked. If you start it from command line, it's full of error messages. E.g. things like this: (node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag |
in Gnome its works with version 2023.9.3. In KDE not, same error there, blank after 2sek |
@ricjuhnl @sgilissen @llabusch93 I am also on Debian 12 and have the latest Flatpak version installed (2023.10.0), deactivating graphics acceleration solved it for me.
No solution for the problem, but at least a workaround. |
I have a similar issue. Had the blanking issue, 2023.9.3 fixed it for me (on KDE 5.27), but now 2023.10.0 introduced a new issue, where the window goes blank except some very few elements. I can still see the cursor (and everything technically works, i.e. I can unlock the vault) but nothing else. Even devtools are mostly blank. So it's back to being unusable again. @offline4ever Thank you so much for the workaround. It seems to work. I'm getting more and more frustrated with the Bitwarden situation on Linux though... |
Yeah if you hit .333 in baseball you are a first ballot hall of famer. When only 1/3rd of your releases work in software you need to find a new profession. |
EDIT: 2023.10.1 does not resolve the blank issue. Looks like a fresh desktop client release is out. Let's see if it addresses the blank issue. https://github.com/bitwarden/clients/releases/tag/desktop-v2023.10.1 |
2023.10.0 was working fine for me with Fedora 39, but when I upgraded to 2023.10.1 I got the white screen. Edit: I not sure what is going on but I had to go back to 2023.9.2 to get this working again. It appears to have something to do with login. |
Kubuntu 23.10, flatpak 1.14.4-2, Bitwarden 2023.10.1 I was able to get Bitwarden working by turning off the "GPU acceleration" for that flatpak. I used Flatseal to make that change but I think there are other ways of setting flatpak permissions too. |
Seems to only occur on some GPUs, e.g. some Intel GPUs. See also bitwarden/clients#6560. Cannot go back to electron 25 easily due to NixOS#272912. Since upstream has a commit to do this, backport it (it does not apply cleanly, though, so vendor).
Seems to only occur on some GPUs, e.g. some Intel GPUs. See also bitwarden/clients#6560. Cannot go back to electron 25 easily due to #272912. Since upstream has a commit to do this, backport it (it does not apply cleanly, though, so vendor). (cherry picked from commit 333dadb)
Still seeing the same behaviour on Fedora39 with Bitwarden 2023.12.0 via flatpak (i.e. crashes before I can enter the password) |
I found the error in mine. after installation in fedora bitwarden didn't have background permission. try sudo flatpak permission-set background background com.bitwarden.desktop |
Steps To Reproduce
Expected Result
Vault key entered and vault unlocked
Actual Result
Bitwarden client blanks out completely. Can be restored by "view" -> "reload", but vault unlock try causes same result
Screenshots or Videos
Bildschirmaufzeichnung.vom.12.10.2023.11.39.17.webm
Additional Context
Uninstalling 2023.9.2 and reinstalling 2023.9.1 makes everything working ok again.
Output from Shell when Bitwarden is run from there:
(node:39123) DeprecationWarning: file property is deprecated and will be removed in v5.
(Use
bitwarden --trace-deprecation ...
to show where the warning was created)libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
(node:39123) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'init')
at BiometricsService. (/opt/Bitwarden/resources/app.asar/main.js:47194:55)
at Generator.next ()
at /opt/Bitwarden/resources/app.asar/main.js:47160:71
at new Promise ()
at biometrics_service_awaiter (/opt/Bitwarden/resources/app.asar/main.js:47156:12)
at BiometricsService.init (/opt/Bitwarden/resources/app.asar/main.js:47193:16)
at Main. (/opt/Bitwarden/resources/app.asar/main.js:53805:46)
at Generator.next ()
at fulfilled (/opt/Bitwarden/resources/app.asar/main.js:53702:58)
(node:39123) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)11:42:59.090 › Error: No password found
11:42:59.143 › Error: No password found
11:42:59.193 › Error: No password found
11:42:59.194 › Error: No password found
11:42:59.194 › Error: No password found
11:42:59.240 › Error: No password found
11:42:59.275 › TypeError: Cannot read properties of undefined (reading 'osSupportsBiometric')
at BiometricsService. (/opt/Bitwarden/resources/app.asar/main.js:47199:55)
at Generator.next ()
at /opt/Bitwarden/resources/app.asar/main.js:47160:71
at new Promise ()
at biometrics_service_awaiter (/opt/Bitwarden/resources/app.asar/main.js:47156:12)
at BiometricsService.osSupportsBiometric (/opt/Bitwarden/resources/app.asar/main.js:47198:16)
at BiometricsService. (/opt/Bitwarden/resources/app.asar/main.js:47209:58)
at Generator.next ()
at fulfilled (/opt/Bitwarden/resources/app.asar/main.js:47157:58)
11:42:59.276 › TypeError: Cannot read properties of undefined (reading 'osSupportsBiometric')
at BiometricsService. (/opt/Bitwarden/resources/app.asar/main.js:47199:55)
at Generator.next ()
at /opt/Bitwarden/resources/app.asar/main.js:47160:71
at new Promise ()
at biometrics_service_awaiter (/opt/Bitwarden/resources/app.asar/main.js:47156:12)
at BiometricsService.osSupportsBiometric (/opt/Bitwarden/resources/app.asar/main.js:47198:16)
at DesktopCredentialStorageListener. (/opt/Bitwarden/resources/app.asar/main.js:47383:59)
at Generator.next ()
at /opt/Bitwarden/resources/app.asar/main.js:47311:71
at new Promise ()
11:42:59.277 › Error: No password found
11:43:00.186 › Error: No password found
[39123:1012/114301.905771:ERROR:nss_util.cc(357)] After loading Root Certs, loaded==false: NSS error code: -8018
11:43:01.975 › Error: No password found
11:43:02.202 › Error: No password found
11:43:02.685 › Error: No password found
11:43:02.931 › Error: No password found
11:43:03.213 › Error: No password found
[39157:1012/114304.117925:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
Operating System
Linux
Operating System Version
Ubuntu 22.04
Installation method
Direct Download (from bitwarden.com)
Build Version
Version 2023.9.2 Shell 26.3.0 Renderer 116.0.5845.228 Node 18.16.1 Architecture x64
Issue Tracking Info
The text was updated successfully, but these errors were encountered: