View Issue Details

IDProjectCategoryView StatusLast Update
0006625Talerwallet (WebExtension)public2026-01-25 14:10
ReporterFlorian Dold Assigned Tosebasjm Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9 
Summary0006625: give better errors when web extension backend doesn't respond
DescriptionDue to various browser issues, it is possible that the web extension background page doesn't respond properly to our messages.

Instead of just being "stuck", all the wallet UI pages should try to display better error messages.

Ideally we'd link to some FAQ with instructions on what to try/do about it.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Franz Gratzer

2020-10-16 14:20

reporter   ~0017018

Florian asked me to provide the inspection output for the Taler Extension. Hopefully the "Console" output is the needed information:

Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. update.js:26
    schedule moz-extension://716c2fe1-f7dd-4588-b0be-852de013edf2/include/update.js:26
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. extension.js:113
    <anonymous> moz-extension://716c2fe1-f7dd-4588-b0be-852de013edf2/extension.js:113
TypeError: PrecompiledScript.executeInGlobal: Argument 1 is not an object. ExtensionContent.jsm:567:25
Use of nsIFile in content process is deprecated. 3 NetUtil.jsm:253:8
wallet not available while handling header background.js:18666:21
[ ... the same line many times repeated ... ]
wallet not available while handling header background.js:18666:21
Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
    updatePopupStats moz-extension://6fb2f216-7b39-4eea-b24d-d9e12ca1a45e/lib/ui-service.js:231
ui-service.js:231:25
wallet not available while handling header background.js:18666:21
wallet not available while handling header background.js:18666:21
Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
    updatePopupStats moz-extension://6fb2f216-7b39-4eea-b24d-d9e12ca1a45e/lib/ui-service.js:231
ui-service.js:231:25
wallet not available while handling header background.js:18666:21
Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
    updatePopupStats moz-extension://6fb2f216-7b39-4eea-b24d-d9e12ca1a45e/lib/ui-service.js:231
ui-service.js:231:25
wallet not available while handling header background.js:18666:21
[ ... the same line repeated ... ]
wallet not available while handling header background.js:18666:21
Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
    updatePopupStats moz-extension://6fb2f216-7b39-4eea-b24d-d9e12ca1a45e/lib/ui-service.js:231
ui-service.js:231:25
wallet not available while handling header background.js:18666:21
wallet not available while handling header background.js:18666:21
Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
    updatePopupStats moz-extension://6fb2f216-7b39-4eea-b24d-d9e12ca1a45e/lib/ui-service.js:231
ui-service.js:231:25
wallet not available while handling header background.js:18666:21
[ ... the same line repeated ... ]
wallet not available while handling header background.js:18666:21
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. popup.html
wallet not available while handling header background.js:18666:21
[ ... the same line repeated ... ]
wallet not available while handling header background.js:18666:21
could not retrieve balances Error: wallet core not available
    OperationFailedError moz-extension://94bd416f-acb4-4859-8a1a-2a39c5cb764c/dist/pageEntryPoint.js:4236
    callBackend moz-extension://94bd416f-acb4-4859-8a1a-2a39c5cb764c/dist/pageEntryPoint.js:10525
pageEntryPoint.js:10953:26
    updateBalance moz-extension://94bd416f-acb4-4859-8a1a-2a39c5cb764c/dist/pageEntryPoint.js:10953
    rejected moz-extension://94bd416f-acb4-4859-8a1a-2a39c5cb764c/dist/pageEntryPoint.js:526
wallet not available while handling header background.js:18666:21
[ ... the same line repeated ... ]
wallet not available while handling header background.js:18666:21
Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
    updatePopupStats moz-extension://6fb2f216-7b39-4eea-b24d-d9e12ca1a45e/lib/ui-service.js:231
ui-service.js:231:25
wallet not available while handling header background.js:18666:21
[ ... the same line many times repeated ... ]
wallet not available while handling header background.js:18666:21
Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
    updatePopupStats moz-extension://6fb2f216-7b39-4eea-b24d-d9e12ca1a45e/lib/ui-service.js:231
ui-service.js:231:25
wallet not available while handling header background.js:18666:21
Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
    updatePopupStats moz-extension://6fb2f216-7b39-4eea-b24d-d9e12ca1a45e/lib/ui-service.js:231
ui-service.js:231:25
wallet not available while handling header background.js:18666:21
[ ... the same line many times repeated ... ]
wallet not available while handling header background.js:18666:21
Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
    updatePopupStats moz-extension://6fb2f216-7b39-4eea-b24d-d9e12ca1a45e/lib/ui-service.js:231
ui-service.js:231:25

Franz Gratzer

2020-10-16 14:30

reporter   ~0017019

I forgot to add my screenshots.

db.png shows original settings before I switched all values to "true". But that didn't help. (even after re-starting Firefox.)

loading.png shows what I get after I try to withdraw KUDOS into my browser wallet. (This screen stays forever.)
loading.png (29,275 bytes)   
loading.png (29,275 bytes)   
db.png (37,917 bytes)   
db.png (37,917 bytes)   

Florian Dold

2020-10-16 15:05

manager   ~0017020

Thanks, these are exactly the logs I was looking for. From the logs, it's not really clear what's going wrong, other than "the WebExtension UI is unable to talk to the WebExtension background page".

Just to confirm, is this using the latest version of the wallet from the Mozilla Addon store? (Should show up as "0.8.0.2" under about:addons)

I wasn't able to reproduce this myself with 78.3.0esr. We had a similar problem in the past, where the extension simple wouldn't work on certain profiles.

Would it be possible for you to try the Taler wallet under a fresh Firefox profile? You can either start Firefox as "firefox --new-instance --ProfileManager" or go to about:profiles to run it in a new profile.

Once we know if this is an issue with certain profiles / configurations, we can figure out what's going on from there.

Franz Gratzer

2020-10-16 15:53

reporter   ~0017021

Yes 0.8.0.2 is the Version number I get if I open the details view in the Add-on Manager.

The Taler extension instantly worked in the new profile where this was the only extension without any personalisation of the browser.

My original profile might be rather unusual. I always use private browsing, delete all data when closing the browser, I use Adblocker Ultimate and have the Gnome Extensions manager installed. Aside from that I have made several adjustments for more privacy (but I didn't need to go into the "about:config" page for that. So it shouldn't be way out of the ordinary.)

sebasjm

2022-01-20 15:08

developer   ~0018648

I have added a notification that shows a title (that depends on the page) and the error message when opened.
Also, if devMode is on it will show the details.

The next step is to add some categories to make suggestions based on the error code.

Issue History

Date ModifiedUsernameFieldChange
2020-10-16 09:17Florian DoldNew Issue
2020-10-16 09:17Florian DoldStatusnew => assigned
2020-10-16 09:17Florian DoldAssigned To => Florian Dold
2020-10-16 14:20Franz GratzerNote Added: 0017018
2020-10-16 14:30Franz GratzerNote Added: 0017019
2020-10-16 14:30Franz GratzerFile Added: loading.png
2020-10-16 14:30Franz GratzerFile Added: db.png
2020-10-16 15:05Florian DoldNote Added: 0017020
2020-10-16 15:53Franz GratzerNote Added: 0017021
2021-08-24 18:43Christian GrothoffAssigned ToFlorian Dold => sebasjm
2021-08-24 18:53Christian GrothoffTarget Version => 0.9
2022-01-19 14:39sebasjmTag Attached: needs ui design
2022-01-20 15:08sebasjmStatusassigned => informing
2022-01-20 15:08sebasjmResolutionopen => fixed
2022-01-20 15:08sebasjmNote Added: 0018648
2022-11-04 19:53Christian GrothoffStatusinforming => closed
2023-04-13 18:37Florian DoldCategorywallet (WebExtensions) => wallet (WebExtension)
2026-01-25 14:10Christian GrothoffTag Detached: needs ui design