Closed Bug 1182765 Opened 10 years ago Closed 9 years ago

Firefox OS phone does not appear in WebIDE "Remote Runtime" menu when laptop on wifi

Categories

(DevTools Graveyard :: WebIDE, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: emorley, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: foxfood)

Using the instructions at: https://developer.mozilla.org/en-US/docs/Tools/WebIDE/Setting_up_runtimes#Connecting_over_WiFi 1) Ensure laptop and Firefox OS phone on same wifi network 2) On phone go to settings -> developer -> tick "DevTools via WiFi" 3) On the laptop in today's Nightly open WebIDE and go to the "Remote Runtime" menu Expected: Phone appears Actual: Zero entries under "wifi devices" on the remote runtimes menu. Laptop: Windows 8.1 x64 running Nightly built from https://hg.mozilla.org/mozilla-central/rev/2c91d57441fd FirefoxOS: Using most recent OTA, build identifier: 20150707033152
Component: Gaia::Feedback → Developer Tools: WebIDE
Product: Firefox OS → Firefox
Version: unspecified → Trunk
With devtools.discovery.log set to True in about:config in Nightly, I see this in the browser console: 10:54:21.510 DISCOVERY: Send to 50624: { "device": "ed-laptop", "services": {} } discovery.js:69 10:54:26.520 DISCOVERY: PURGING MISSING DEVICES discovery.js:69
Note I don't have "unrestricted developer mode" enabled on the phone (if this makes any difference); though the docs don't mention this at all, nor does the developer menu in settings mention I need this.
Hmm if I connect the laptop via ethernet (as opposed to wifi) I see the device listed. This is even with the wifi network marked as a "private" network (same as the ethernet network adapter) and so less firewalled. The settings between the ethernet and wifi adapter seem identical, so not sure what's going on. Also, even if I connect the laptop via wifi, when I get the "scan" vs "scan and remember" prompt on the phone - choosing either of those options does nothing (returns to the homescreen) and does not show me a camera view to capture the QR code :-(
(In reply to Ed Morley [:emorley] from comment #3) > Also, even if I connect the laptop via wifi sorry, s/wifi/ethernet/
Same here. If both the Desktop and the phone are connected to the "Mozilla" wifi then the phone appears in the device list. But neither the "scan" nor "scan and remember" worked.
Happens to me too on the latest (20150629010206) master build. The only message in logcat is: I/GeckoDump( 209): XXX FIXME : Got a mozContentEvent: remote-debugger-prompt
So, Ed appears to be describing two separate issues: 1. The device does not appear in the remote runtime list (it's not discovered) 2. After working around that, the WiFi QR scan buttons do nothing However, Kan-Ru and Panos appear to only have trouble with the scan buttons. Let's keep this bug about issue 1 (device does not appear in remote runtime list). For issue 2 (scan buttons fail), I'll investigate this in bug 1176967.
Depends on: 1176967
Ed, as far as getting the device to be discovered at all via WiFi, in past cases, these issues have been specific to the particular WiFi network, perhaps due to the router's implementation or configuration. It's also possible a firewall or similar is blocking the discovery packets on your desktop machine. Ed, is the WiFi network router under your control? Also, to try to eliminate variables, are you able to re-test on a different WiFi network, such as at a coffee shop or something?
Flags: needinfo?(emorley)
Yeah the router is under my control, it's the one provided by my ISP: http://bt.custhelp.com/app/answers/detail/a_id/46549/~/bt-home-hub-5 I'll give it a try on another wifi network soon :-)
Flags: needinfo?(emorley)
(In reply to Ed Morley [:emorley] from comment #9) > Yeah the router is under my control, it's the one provided by my ISP: > http://bt.custhelp.com/app/answers/detail/a_id/46549/~/bt-home-hub-5 Great, you are the first one reporting this issue where this is true. :) Try to look through the router configuration for any settings about multicast packets. You need to allow them on the WiFi network (they do not need to go out to the public internet, just the local WiFi network). There may not be specific settings for this, but it could be bundled into some kind of firewall feature. It's hard to say without seeing the configuration panel. > I'll give it a try on another wifi network soon :-) This should give us another data point about whether it is something about the desktop / laptop computer vs. the WiFi network.
Summary: Firefox OS phone does not appear in "Remote Runtime" menu even with "DevTools via WiFi" enabled → Firefox OS phone does not appear in WebIDE "Remote Runtime" menu when laptop on wifi
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.