Open Bug 1772974 Opened 3 years ago Updated 3 years ago

An error has occurred when adding trial MailFence account if cookies are disabled

Categories

(Thunderbird :: Account Manager, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

People

(Reporter: emoore, Unassigned)

References

(Blocks 1 open bug)

Details

I'm using Thunderbird 102.0b2 under Windows 11Pro. I tried to add a free MailFence account using File -> New -> Get a new mail account. I selected a email address, entered the password, entered the email recovery address , and the activation code in different panes. So far so good, nothing was rejected. I pressed the button to actually add the account. The very last step failed with "An error has occurred".

I looked in the activity manager and there was no entry. I looked in the error console and didn't spot anything related. I then checked my cookie settings and noticed that "Accept cookies from sites" was unchecked. I then tried again and it worked fine. It added a mailfence.com JSESSIONID cookie

Error messages should give the user some information that can be used to troubleshoot the problem. The best solution might be for File -> New -> Get a new mail account to use a popup to warn the user if cookies are not enabled for the mailfence.com domain when they press the Search button for MailFence, and abort whatever API call is normally made. That is a minor annoyance for somebody who might want to search for what addresses were available, but wasn't serious about actually getting a free email account. That seems a acceptable tradeoff to reduce the support costs.

The error console from the failure:

1654567636504 addons.xpi WARN Checking C:\Program Files\Thunderbird BETA\distribution\extensions for addons
services.settings: Failed to load last_modified.json: TypeError: NetworkError when attempting to fetch resource. Utils.jsm:311
1654567636593 addons.xpi-utils WARN Add-on ImportExportToolsNG@cleidigh.kokkini.net is not compatible with application version. 3
1654567636859 addons.xpi-utils WARN Add-on ImportExportToolsNG@cleidigh.kokkini.net is not compatible with application version.
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
hiddenWindow.html
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
sanitytest.html
Error: Can't find profile directory. XULStore.jsm:66:15
WebExtensions: check hidden labels 2 compactHeadersApi.js:423
WebExtensions: Compact Headers loaded compactHeadersApi.js:433
Uncaught TypeError: gFolderDisplay is null
get currentViewValue chrome://messenger/content/msgViewPickerOverlay.js:98
RefreshViewPopup chrome://messenger/content/msgViewPickerOverlay.js:171
RefreshAllViewPopups chrome://messenger/content/msgViewPickerOverlay.js:154
ViewPickerOnLoad chrome://messenger/content/msgViewPickerOverlay.js:293
msgViewPickerOverlay.js:98:9
Successfully loaded OpenPGP library rnp.dll version 0.16+git20220124.f06439f7.MZLA from C:\Program Files\Thunderbird BETA\rnp.dll RNPLib.jsm:100:15
Found 0 public keys and 0 secret keys (0 protected, 0 unprotected) RNPLib.jsm:301:15
Trying to load C:\Program Files\Thunderbird BETA\libotr.dll OTRLib.jsm:64:11
Successfully loaded OTR library C:\Program Files\Thunderbird BETA\libotr.dll OTRLib.jsm:72:13
WebExtensions: load hidden labels compactHeadersApi.js:427
WebExtensions: check hidden labels compactHeadersApi.js:423
1654567637837 tbsortfolders.folderPane DEBUG Init
1654567637837 tbsortfolders.folderPane DEBUG Add observer
tb.account.size_on_disk - Trying to set an unsigned scalar to a negative number. 14
Request to access cookie or storage on “<URL>” was blocked because we are blocking all storage access requests. 14
Unknown Collection "thunderbird/password-recipes" RemoteSettingsClient.jsm:143
WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. index.e22fa0ce.js:1:105035
WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. index.e22fa0ce.js:1:105696
Request for font "Gill Sans" blocked at visibility level 3 (requires 4)
index.e22fa0ce.js:1:97825
WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. index.e22fa0ce.js:1:105035
WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. index.e22fa0ce.js:1:105696
Request for font "Gill Sans" blocked at visibility level 3 (requires 4)
index.e22fa0ce.js:1:97825
Unknown Collection "thunderbird/password-rules" RemoteSettingsClient.jsm:143
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
{9ad0c893-9b99-40b7-ab1f-0c41f571506d}
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
blank
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
{b6910881-ce8a-433f-bf1d-6fbaf85c5f83}
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
blank
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
fetch>UID>.INBOX.Junk Mail>16235
TypeError: toolbox is null
2 context-menu.js:341:42

I replaced free with trial in the title. For some reason I thought I saw it say free in File -> New -> Get a new mail account (despite knowing that normally that menu is used for buying an account) but when I look at it afterwards it clearly says "Buy a new email address".

Summary: An error has occurred when adding free MailFence account → An error has occurred when adding trial MailFence account
Summary: An error has occurred when adding trial MailFence account → An error has occurred when adding trial MailFence account if cookies are disabled

Does it also happen in version 91?

Flags: needinfo?(emoore)
Blocks: tb102found

Using 91.10.0 under Windows 11 Pro I created a new profile, disabled cookies and tried to add a MailFence account. Exact same error.

Flags: needinfo?(emoore)
You need to log in before you can comment on or make changes to this bug.