browserpass-extension icon indicating copy to clipboard operation
browserpass-extension copied to clipboard

Pop-up problem : Promise rejected after context unloaded

Open electro575 opened this issue 3 years ago • 2 comments

Hi, i'm using debian bullseye and firefox with the webext-browserpass extension.

The version of software are, -firefox-esr 91.9.0esr-1~deb11u1 -webext-browserpass 3.7.2-1+b4 -debian 5.10.0-14 SMP Debian 5.10.113-1

The problem is, when i click on the webext-browserpass, i choose the good website on the database to fill the login webpage but no pop-up to fill the gpg field appear.

I have already tried this actions, -purge and install webext-browserpass and pass -remove and install firefox (not purge)

After this, i have investigating on firefox and the debug module page.

I have found this logs on the "console",

Logs Firefox debug module

Promise resolved after context unloaded		vapi-background.js:1459
Promise resolved after context unloaded		storage.js:153
Promise rejected after context unloaded: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved		popup.dist.js:25116
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. 	popup-fenix.html
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. 	popup.html
Promise rejected after context unloaded: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved		popup.dist.js:25116

Be appear it's a background problem ?

What can be a solution ? Thanks a lot

electro575 avatar May 22 '22 07:05 electro575

Hi, most likely it's a problem with pinentry and/or browser not seeing your environment variables related to gpg. The easiest way to verify is to run Firefox from terminal, and checking if this fixes the issue. See also this section, maybe it can give some good hints? https://github.com/browserpass/browserpass-native#error-unable-to-fetch-and-parse-login-fields

max-baz avatar May 23 '22 12:05 max-baz

Nothing change but when i have execute this command, i can click on the webext button to fill fields without popup.

"pass show ..."

The problem stay the same :

Promise rejected after context unloaded: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved

promisify moz-extension://5a446add-60d3-4e54-b74c-c0a3c8cdf5ff/js/popup.dist.js:25116

Ths is this part of popup.dist.js

       // Return a promise
        return new Promise((resolve, reject) => {
            try {
                // Try to run the original function, with the trimmed args list
                f(...safeArgs, (...cbArgs) => {

Thank you a lot

electro575 avatar May 26 '22 16:05 electro575