Open Bug 1810175 Opened 3 years ago Updated 2 years ago

Network Service Discovery not supported

Categories

(Firefox for Android :: Browser Engine, defect)

All
Android
defect

Tracking

()

People

(Reporter: csadilek, Unassigned)

Details

From github: https://github.com/mozilla-mobile/fenix/issues/16835.

Steps to reproduce

On a LAN, fire up a linux machine with avahi-daemon (or equivalent mdns program).

On firefox, try to visit machine-name.local:port

Expected behavior

We're able to connect to machine-name.local:port

Actual behavior

"Unable to connect" error message

Device information

  • Android device: Pie
  • Fenix version: 80.0.1-beta.2

Please note that while searching for mDNS support on android in general, I found a few articles from several years ago saying it's not supported by the OS, but I found a claim about support being available in Android API 16 and up via "Network Service Discovery" library.

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)
Flags: needinfo?(cpeterson)
Severity: -- → S4
Component: General → Browser Engine

I tested on my own device (Pixel 6 with Android 14) , mDNS is working.

Doc: https://source.android.com/docs/core/ota/modular-system/dns-resolver#mdns-local-resolution

Something you should pay attention to:

Starting from November 2021, Android resolver supports mDNS .local resolution

VPN and mobile data connections are excluded from .local resolution.

You need to log in before you can comment on or make changes to this bug.