Open Bug 887506 Opened 11 years ago Updated 2 years ago

Remote debugger connection times out,

Categories

(DevTools :: about:debugging, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: liuche, Unassigned)

References

(Blocks 1 open bug)

Details

While connecting to an Android device, desktop debugger will intermittently fail to connect and display a "connection timeout" error. "Incoming connection" dialog was displayed on the Android device and accepted - upon visiting a page on the Android device, the desktop debugger will then display "Available remote tabs/processes". Not sure why this is happening, and happy to take logs.
What is the value of devtools.debugger.remote-timeout in your desktop Firefox and can you confirm that connecting to your device takes longer than that when it fails? Paul, could you maybe add a control to cancel a pending connection in your connection screen rewrite, so that we can bump the timeout to a much higher value?
Panos: the desktop value is 20000. This seems pretty intermittent though - I can't reproduce very frequently now.
OK, 20 seconds is the default, which should be plenty if the user doesn't forget to respond to the connection prompt. Paul, another idea: how about we display an explanatory text about the need to allow the connection on the other end in the connection screen after the user clicks on "connect", and remove it when the first packet is received?
Priority: -- → P3
20 seconds seems like plenty of time. This wasn't actually the problem that I was seeing (timing out due to not accepting the connection on Android-side), but a dialog on the connecting device would certainly be useful.
Blocks: 894352
No longer blocks: 894352
Summary: Remote debugger connection times out, then displays device → Remote debugger connection times out,
Product: Firefox → DevTools
Component: Debugger → about:debugging
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.