Can't launch Passbolt App

I have installed passbolt LXC container (running on proxmox). The install worked perfectly and I have installed LetsEncrypt certificate. Currently I’m using the Chrome extension to view and update passwords and accounts.

Next step was to install the Windows desktop app through the Microsoft Store but when I go to launch it , it gives this error:

An unexpected error has occurred:

Message: The parameter is incorrect.

The parameter is incorrect.

Stack Trace:
System.ArgumentException: The parameter is incorrect.

The parameter is incorrect.

at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32, HSTRING, HSTRING, Int32) + 0xc6
at Microsoft.Web.WebView2.Core.ICoreWebView2_3__Impl.Stubs.SetVirtualHostNameToFolderMapping(__ComObject, String, String, CoreWebView2HostResourceAccessKind) + 0xdd
at passbolt.Services.WebviewService.BackgroundWebviewService.d__2.MoveNext() + 0x13f
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at passbolt.Controllers.MainController.d__17.MoveNext() + 0x2e1
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at passbolt.Controllers.MainController.d__15.MoveNext() + 0x210
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at passbolt.MainPage.<Background_NavigationStarting>d__7.MoveNext() + 0x94
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object) + 0x1e
at System.Action`1.Invoke(T) + 0x28
at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33

When I run the debug installation, the app will run and I can see this error:

Connecting to ‘https://background.dist/Background/dist/background-workspace.js.map’ violates the following Content Security Policy directive: “connect-src . The request has been blocked.

In the debug console, I’m have added the warning in a png.

Some other errors I can see in event viewer is :

Deployment Remove operation with target volume C: on Package Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe from: (Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe) failed with error 0x80073CF3.

I have reset the Microsoft Store and tried installed Microsoft.VCLibs.140.00_14.0.33519.0 and countless other “fixes” but the app keeps on failing to run.

Any ideas?

Any devs on here that knows what’s happening? I can’t launch the desktop app (through MS Store).

Bump, bump. Anyone can help?

Hello @corky !

Personally it’s the first time I see this kind of CSP error.
Sure, if this script is not loaded, the app won’t as well.

Do you know if you encounter any issue regarding the installation of the windows app?
Where you able to import your account with the account kit downloaded from the browser extension?

The windows app embed its own CSP rules. I wonder if during the import something wrong happened or not?

I would suggest the classic clean and retry approach just to see. Could you remove the entire application and also the Passbolt data from the Credential Locker.
In the credential locker you should find up to 3 values for your account that is associated to Passbolt and they are named:

  • configuration
  • account-metadata
  • account-secret

To remove them, you can find instructions here https://support.microsoft.com/en-us/windows/credential-manager-in-windows-1b5c916a-6a16-889f-8581-fc16e8165ac0

Hi Steph,

Thanks for replying and make those suggestions. It was a weird error and didn’t make sense. Worst part is you can can’t run it like a normal programs, run with compatibility mode etc.

Anyhoo…. your suggestion of removing the passwords in credential seems to have done the trick. I also searched the registry and removed any references to the passbolt app .

After re-installing the app, I was able to import the account kit and now have a working app on my desktop. Yeah!!!

Thanks again Steph

That’s great news!

Enjoy it!