Remember until signed out -does not exists in Windows app

I know it is not a familiar language but one of expectation before I start installation is: Access internet connection

Anyway , when I click blue button “Install/Zainstaluj” it is the last moment I see the window. It closes and return without any messages to powershell.

To make it clear - I uninstalled my previous version 1.1.0 and now start it from scratch .

OK, I see the progress. I was able to install msixbundle from powershell console using

Add-AppxPackage -Path “.\passbolt-windows-1.3.1.msixbundle”

Now I’am logged in, version is 1.3.1 - will see how it looks like after one hour inactivity

13:40 I switched to WinPassbolt and

obraz

no changes at all :frowning:

K.

maybe you find it useful:

PS C:\Users\k.pxxxxxx\Downloads> Get-AppxPackage | Where-Object { $_.Name -eq “Passbolt.Passbolt” }

Name : Passbolt.Passbolt
Publisher : CN=741D8DC2-3150-4E31-91A8-695906ECE6D2
Architecture : X64
ResourceId :
Version : 1.3.1.0
PackageFullName : Passbolt.Passbolt_1.3.1.0_x64__knr9d7csm7gng
InstallLocation : C:\Program Files\WindowsApps\Passbolt.Passbolt_1.3.1.0_x64__knr9d7csm7gng
IsFramework : False
PackageFamilyName : Passbolt.Passbolt_knr9d7csm7gng
PublisherId : knr9d7csm7gng
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : False
Dependencies : {Microsoft.UI.Xaml.2.8_8.2304.12003.0_x64__8wekyb3d8bbwe, Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe, Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe, Microsoft.VCLibs.1 40.00_14.0.30704.0_x64__8wekyb3d8bbwe…}
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok

C:>ver
Microsoft Windows [Version 10.0.19045.4780]
C:>

@krzys128,

The internet connection information during installation is just to inform the user about a permission which require the local internet usage to connect to the API.

Meaning the 1.3.1 is downloaded, I suggest to understand was can block the desktop app to refresh the connection. Actually the 1.3.1 does not have client reporting a logout error after 1hour. So my conclusion can be : it comes from the environment.

  • Which API version are you using ?
  • Is it a virtual machine where you are connected ?
  • Which version of windows is used ?

Concerning nginx :

  • Check if any grpc is set which create a session timeout sometimes.
  • Check the configuration about any max connection or message limit

Concerning mysql I am not sure it can be related, as it is an API connection. In any, if the refresh session failed due to the environment it will raise the dialog without any error. The client is only responsible for the session refresh and check and able to behaviour based on what it received, or based on session inactivity (screen lock, sleep mode,…)

well, I can asnwer what I know

  • Server 4.7.0 / Client 1.3.1
  • my desktop is not virtual, it is Microsoft Windows [Version 10.0.19045.4780]
  • server is L Oracle Linux Server release 8.9 running on OVS( I am going to migrate it soon to Oracle KVM)

No idea how to check grpc but installation is out of the box - If you didn’t set it I did not set it as well

below /etc/nginx/nginx.conf maybe it tells you what you need

user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;

# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;

events {
    worker_connections 1024;
}

http {
    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    access_log  /var/log/nginx/access.log  main;

    sendfile            on;
    tcp_nopush          on;
    tcp_nodelay         on;
    keepalive_timeout   65;
    types_hash_max_size 2048;

    include             /etc/nginx/mime.types;
    default_type        application/octet-stream;

    # Load modular configuration files from the /etc/nginx/conf.d directory.
    # See http://nginx.org/en/docs/ngx_core_module.html#include
    # for more information.
    include /etc/nginx/conf.d/*.conf;

    server {
        listen       80 default_server;
        listen       [::]:80 default_server;
        server_name  _;
        root         /usr/share/nginx/html;

        # Load configuration files for the default server block.
        include /etc/nginx/default.d/*.conf;

        location / {
        }

        error_page 404 /404.html;
            location = /40x.html {
        }

        error_page 500 502 503 504 /50x.html;
            location = /50x.html {
        }
    }


one more file which could give some hints …

/var/log/nginx/access.log

[04/Sep/2024:15:21:55+0200] 200 "GET/auth/is-authenticated.json?api-version=v2
[04/Sep/2024:15:22:55+0200] 200 "GET/auth/is-authenticated.json?api-version=v2
[04/Sep/2024:15:23:55+0200] 200 "GET/auth/is-authenticated.json?api-version=v2
[04/Sep/2024:15:24:55+0200] 200 "GET/auth/is-authenticated.json?api-version=v2
[04/Sep/2024:15:25:55+0200] 200 "GET/auth/is-authenticated.json?api-version=v2
[04/Sep/2024:15:26:55+0200] 200 "GET/auth/is-authenticated.json?api-version=v2
[04/Sep/2024:15:26:55+0200] 200 "GET/users/me.json?api-version=v2
[04/Sep/2024:16:01:27+0200] 401 "GET/auth/is-authenticated.json?api-version=v2
[04/Sep/2024:16:01:27+0200] 401 "GET/users/me.json?api-version=v2
[04/Sep/2024:16:02:28+0200] 401 "GET/auth/is-authenticated.json?api-version=v2
[04/Sep/2024:16:03:29+0200] 401 "GET/auth/is-authenticated.json?api-version=v2

Hey @krzys128 ,

Thanks for your replies, we tried to manage to replicate your issue :

  • Without lock screen: The session stay alive as expected during hours
  • With lock screen : The session stay alive as expected during hours
  • With sleep mode : The session stay alive until validity

By the way it seems it can comes from the configuration from your device. We tried to manage many case of configuration without any success to reproduce it.

Here we can see :

[04/Sep/2024:15:26:55+0200] 200 "GET/users/me.json?api-version=v2
[04/Sep/2024:16:01:27+0200] 401 "GET/auth/is-authenticated.json?api-version=v2
[04/Sep/2024:16:01:27+0200] 401 "GET/users/me.json?api-version=v2

Many the refresh does not works correctly. Just for information, in this case the client is not responsible to logout the session, only to refresh it.

ok, so I started look for problems on my side.

I have got a clean workstation with Microsoft Windows [Version 10.0.19044.3324] and as less security politics as possible. Tried to install passbolt-windows-1.3.1.msixbundle file but it returns error : lack of Microsoft.UI.Xaml.2.8 . You wrote this installer contains all necessary file to install WinPassbolt - it seems not all.
Anyway I am going to install full SDK ( which is not common in office’s computers) and see what will be next

list of additionally installed components below

and log when I try to install v 1.3.1

PS C:\Users\k.paszkiewicz\Downloads> Get-AppPackageLog -ActivityID 049812e2-0428-0005-7822-98042804db01

Time ID Message


11.09.2024 10:55:27 603 Started deployment Add operation on a package with main parameter passbolt-windows-1.3.1.msixbundle and Options 0 and 0. See Troubleshooting packaging, deployment, and query of Windows apps - Win32 apps | Microsoft Learn for help diagnosin
g app deployment issues.
11.09.2024 10:55:27 164 The app bundle signature was validated for core content of the app bundle published by CN=741D8DC2-3150-4E31-91A8-695906ECE6D2. App packages won’t be validated until they are read.
11.09.2024 10:55:27 391 The bundle streaming reader was created successfully for bundle Passbolt.Passbolt_1.3.1.0_neutral_~knr9d7csm7gng.
11.09.2024 10:55:27 10002 Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\8d20a062-a0e5-4d05-916d-13d50c131a54_S-1-5-21-3165102338-895340118-2760880794-269469_2.rslc for Add Operation on Pack
age Passbolt.Passbolt_1.3.1.0_neutral
~knr9d7csm7gng.
11.09.2024 10:55:27 607 Deployment Add operation on package Passbolt.Passbolt_1.3.1.0_neutral
~knr9d7csm7gng has been de-queued and is running for user SID S-1-5-21-3165102338-895340118-2760880794-269469.
11.09.2024 10:55:27 614 Bundle Uri file:///C:/Users/k.paszkiewicz/Downloads/passbolt-windows-1.3.1.msixbundle contains packages: “passbolt-windows_1.3.1.0_x86.msix”: Passbolt.Passbolt_1.3.1.0_x86__knr9d7csm7gng “p
assbolt-windows_1.3.1.0_x64.msix”: Passbolt.Passbolt_1.3.1.0_x64__knr9d7csm7gng “passbolt-windows_1.3.1.0_ARM.msix”: Passbolt.Passbolt_1.3.1.0_arm__knr9d7csm7gng “passbolt-windows_1.3.1.0_A
RM64.msix”: Passbolt.Passbolt_1.3.1.0_arm64__knr9d7csm7gng “passbolt-windows_1.3.1.0_language-cs.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-cs_knr9d7csm7gng “passbolt-windows_1
.3.1.0_language-de.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-de_knr9d7csm7gng “passbolt-windows_1.3.1.0_language-es.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-es

knr9d7csm7gng “passbolt-windows_1.3.1.0_language-fr.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-fr_knr9d7csm7gng “passbolt-windows_1.3.1.0_language-it.msix”: Passbolt.Passbolt_1
.3.1.0_neutral_split.language-it_knr9d7csm7gng “passbolt-windows_1.3.1.0_language-ja.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-ja_knr9d7csm7gng “passbolt-windows_1.3.1.0_langu
age-ko.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-ko_knr9d7csm7gng “passbolt-windows_1.3.1.0_language-lt.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-lt_knr9d7csm7gn
g “passbolt-windows_1.3.1.0_language-nl.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-nl_knr9d7csm7gng “passbolt-windows_1.3.1.0_language-pl.msix”: Passbolt.Passbolt_1.3.1.0_neutr
al_split.language-pl_knr9d7csm7gng “passbolt-windows_1.3.1.0_language-pt.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-pt_knr9d7csm7gng “passbolt-windows_1.3.1.0_language-ro.msix”
: Passbolt.Passbolt_1.3.1.0_neutral_split.language-ro_knr9d7csm7gng “passbolt-windows_1.3.1.0_language-ru.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-ru_knr9d7csm7gng “passbolt-
windows_1.3.1.0_language-sv.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-sv_knr9d7csm7gng “passbolt-windows_1.3.1.0_language-tr.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.lan
guage-tr_knr9d7csm7gng “passbolt-windows_1.3.1.0_language-zh-hans.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-zh-hans_knr9d7csm7gng “passbolt-windows_1.3.1.0_language-zh-hant.ms
ix”: Passbolt.Passbolt_1.3.1.0_neutral_split.language-zh-hant_knr9d7csm7gng “passbolt-windows_1.3.1.0_scale-100.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.scale-100_knr9d7csm7gng “passb
olt-windows_1.3.1.0_scale-125.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.scale-125_knr9d7csm7gng “passbolt-windows_1.3.1.0_scale-150.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.scale
-150_knr9d7csm7gng “passbolt-windows_1.3.1.0_scale-400.msix”: Passbolt.Passbolt_1.3.1.0_neutral_split.scale-400_knr9d7csm7gng.
11.09.2024 10:55:27 157 The app package signature was validated for core content of the app package published by CN=741D8DC2-3150-4E31-91A8-695906ECE6D2. Payload won’t be validated until the files are read.
11.09.2024 10:55:27 216 App manifest validation warning: Declared namespace http://schemas.microsoft.com/developer/appx/2015/build is inapplicable, it will be ignored during manifest processing.
11.09.2024 10:55:27 170 The streaming reader was created successfully for app package Passbolt.Passbolt_1.3.1.0_x64__knr9d7csm7gng.
11.09.2024 10:55:27 157 The app package signature was validated for core content of the app package published by CN=741D8DC2-3150-4E31-91A8-695906ECE6D2. Payload won’t be validated until the files are read.
11.09.2024 10:55:27 170 The streaming reader was created successfully for app package Passbolt.Passbolt_1.3.1.0_neutral_split.language-pl_knr9d7csm7gng.
11.09.2024 10:55:27 157 The app package signature was validated for core content of the app package published by CN=741D8DC2-3150-4E31-91A8-695906ECE6D2. Payload won’t be validated until the files are read.
11.09.2024 10:55:27 170 The streaming reader was created successfully for app package Passbolt.Passbolt_1.3.1.0_neutral_split.scale-100_knr9d7csm7gng.
11.09.2024 10:55:27 854 Successfully added the following uri(s) to be processed: file:///C:/Users/k.paszkiewicz/Downloads/passbolt-windows-1.3.1.msixbundle file:///C:/Users/k.paszkiewicz/Downloads/passbolt-window
s-1.3.1.msixbundle\passbolt-windows_1.3.1.0_x64.msix file:///C:/Users/k.paszkiewicz/Downloads/passbolt-windows-1.3.1.msixbundle\passbolt-windows_1.3.1.0_language-pl.msix file:///C:/Users/k.
paszkiewicz/Downloads/passbolt-windows-1.3.1.msixbundle\passbolt-windows_1.3.1.0_scale-100.msix.
11.09.2024 10:55:27 628 Windows cannot install package Passbolt.Passbolt_1.3.1.0_x64__knr9d7csm7gng because this package depends on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.8
" published by “CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”, with neutral or x64 processor architecture and minimum version 8.2304.12003.0, along with
this package to install. The frameworks with name “Microsoft.UI.Xaml.2.8” currently installed are: {}
11.09.2024 10:55:27 605 The last successful state reached was Indexed. Failure occurred before reaching the next state Resolved. hr: 0x80073CF3
11.09.2024 10:55:27 401 Deployment Add operation with target volume C: on Package Passbolt.Passbolt_1.3.1.0_neutral_~knr9d7csm7gng from: (passbolt-windows-1.3.1.msixbundle) failed with error 0x80073CF3. See htt
p://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
11.09.2024 10:55:27 404 AppX Deployment operation failed for package Passbolt.Passbolt_1.3.1.0_neutral
~_knr9d7csm7gng with error 0x80073CF3. The specific error text for this failure is: Windows cannot install pac
kage Passbolt.Passbolt_1.3.1.0_x64__knr9d7csm7gng because this package depends on a framework that could not be found. Provide the framework “Microsoft.UI.Xaml.2.8” published by “CN=Microso
ft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”, with neutral or x64 processor architecture and minimum version 8.2304.12003.0, along with this package to install. T
he frameworks with name “Microsoft.UI.Xaml.2.8” currently installed are: {}

@krzys128,

Thanks for your reply, first of all passbolt-windows-1.3.1.msixbundle has been extracted from microsoft itself. If they are some issue with dependencies missing we can investigate.

I saw that you have installed it previously without any issue what has been changed with the refreshed version ?

Normally SDK should not be installed we can check if something missed from the windows installer, this installer is extracted from the store itself, we will investigate what is happening with the dependencies

@krzys128,

Until we are checking the msixbundle issue do you have access to winget ? GitHub - microsoft/winget-cli: WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).

Well, it seems your msixbundle does not contain all necessary libraries. I was able to add Microsoft.UI.Xaml.2.8 and now:

PS C:\Users\k.paszkiewicz\Downloads> Add-AppxPackage -Path .\passbolt-windows-1.3.1.msixbundle
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Pakiet nie przeszedł weryfikacji aktualizacji, zależności lub konfliktów.
Windows cannot install package Passbolt.Passbolt_1.3.1.0_x64__knr9d7csm7gng because this package depends on a framework that could not be found. Provide the framework “Microsoft.NET.Native.Framework.2.2” published by "CN=Microso
ft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 2.2.29512.0, along with this package to install. The frameworks with name "Microsoft.NET.Nat
ive.Framework.2.2" currently installed are: {}
NOTE: For additional information, look for [ActivityId] 049812e2-0428-0001-9b4b-98042804db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 049812e2-0428-0001-9b4b-98042804db01
At line:1 char:1
+ Add-AppxPackage -Path .\passbolt-windows-1.3.1.msixbundle
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I have an access to WindowsPackageManager but again… it expects some libraries/components which are not installed on pc where I try to install it .

  • AppX Deployment operation failed for package Microsoft.DesktopAppInstaller_2024.709.2344.0_neutral_~_8wekyb3d8bbwe with error 0x80073CF3. The specific error text for this failure is: Window
    s cannot install package Microsoft.DesktopAppInstaller_1.23.1911.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework “Microsoft.V
    CLibs.140.00.UWPDesktop” published by “CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”, with neutral or x64 processor architecture and minimum version 14.0
    .30704.0, along with this package to install. The frameworks with name “Microsoft.VCLibs.140.00.UWPDesktop” currently installed are: {}*