Skip to content

Blank Net Error page on name resolution failure

Noticed in tor browser 13.0. Not reproducible in tor browser 12.5, or latest firefox.

Steps to reproduce

  1. Connect to tor.
  2. Type in the urlbar "https:xxxxx"

Result

Net error page is empty apart from a single "Try Again" button.

Expect

A not found page.

Log

Error in stderr:

[notice] Have tried resolving or connecting to address '[scrubbed]' at 3 different places. Giving up.

JavaScript error: undefined, line 0: Error: Missing host permission for the tab

JavaScript error: resource://gre/modules/URIFixup.sys.mjs, line 626: NS_ERROR_UNKNOWN_PROXY_HOST: Component returned failure code: 0x804b002a (NS_ERROR_UNKNOWN_PROXY_HOST) [nsIDNSService.asyncResolve]

JavaScript error: resource://gre/modules/URIFixup.sys.mjs, line 626: NS_ERROR_UNKNOWN_PROXY_HOST: Component returned failure code: 0x804b002a (NS_ERROR_UNKNOWN_PROXY_HOST) [nsIDNSService.asyncResolve]

JavaScript error: chrome://global/content/aboutNetError.mjs, line 424: InvalidStateError: An exception was thrown

And in the net error page's console:

Uncaught (in promise) DOMException: An exception was thrown

initPage chrome://global/content/aboutNetError.mjs:424

chrome://global/content/aboutNetError.mjs:1570

It seems that RPMCheckAlternateHostAvailable is throwing.

Edited by henry
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information