I released the debug build to stable/uri-debug. You can switch to it
with

  snap refresh --channel stable/uri-debug thunderbird

My own debug attempts show that any URI missing the scheme will fail to
identify the scheme and port number and therefore fail with
NS_ERROR_MALFORMED_URI.

For instance, >google.com:553< will error and this is the debug log:

  console.log: "URI in getURI: google.com:553"
  console.log: "URI scheme: google.com"
  console.log: "URI port: -1"

Whereas >https://google.com:55< will raise no exception and the debug
log says:

  console.log: "URI in getURI: google.com:55"
  console.log: "URI scheme: https"
  console.log: "URI port: 55"

HOWEVER, other valid URIs (such as >imap://google.com:55<) will fail with no
debug log output but with this error:

  JavaScript error: resource://gre/modules/URIFixup.sys.mjs, line 985:
  NS_ERROR_FAILURE: Component returned failure code: 0x80004005
  (NS_ERROR_FAILURE) [nsIIOService.newURI]

I also tried >ftp://google.com:55< just for the hell of it, and that was very
interesting, as it caused a "open the ftp link with System Handler" window to
pop up (screen-shot attached).

So maybe the portal is wreaking some havoc here.

Bottom line for now is: Try only http or https: schemes, even if you are
specifiying 993 or 995 (or whatever) port.


** Changed in: thunderbird (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: thunderbird (Ubuntu)
     Assignee: (unassigned) => Nathan Teodosio (nteodosio)

** Attachment added: "2025-10-23-190514_1920x1200_scrot.png"
   
https://bugs.launchpad.net/bugs/1904789/+attachment/5920024/+files/2025-10-23-190514_1920x1200_scrot.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1904789

Title:
  [snap] Cannot confirm security exception for invalid certificate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1904789/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to