Closed Bug 1100944 Opened 10 years ago Closed 9 years ago

Intermittently "Operation timed out: connecting to runtime" message displayed even if the simulator opens

Categories

(DevTools Graveyard :: WebIDE, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(firefox34 unaffected, firefox35 fixed, firefox36 fixed)

RESOLVED FIXED
Firefox 36
Tracking Status
firefox34 --- unaffected
firefox35 --- fixed
firefox36 --- fixed

People

(Reporter: phorea, Assigned: jryans)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Reproduced with Firefox 34 beta 9, Dev Edition 35.0a2 and Nightly 36.0a1 2014-11-17 under Win 7 64-bit.

Steps to reproduce:
1. Open WebIDE using a profile where simulators were previously installed
2. Connect to any simulator
3. When it is opened, select another simulator from the list

Expected results:
Selected simulator opens

Actual results:
2/3. The simulator is opened, but the following message is displayed on "Troubleshooting" section: Operation timed out: connecting to runtime Firefox OS x.y
Browser console:
"Connection status changed: connecting" app-manager.js:100
"Operation timed out: connecting to runtime Firefox OS 2.0" webide.js:316:4
UI.reportError() webide.js:316
UI.setupBusyTimeout/this._busyTimeout<() webide.js:258
I've seen this behavior too.  It feels like the simulator takes longer to open and listen for a connection, but I don't there were any simulator changes.

We could just bump WebIDE's timeout to work around it, but my guess some code change in WebIDE is making this slower somehow.

It should not be affected by simulator versions, but test with 2.2 to ensure consistent results.

Hoping someone can find a regression window, or else I can try when I get some time.
I've the with all the version of simulator with the firefox developer edition.
Also with the app manager the simulator window is opened but is black and from the app manager result not connected.
The issue reproduces with 2.2 simulator too.

Last good revision: 1e2993c99323 (2014-09-24)
First bad revision: 1735ff2bb23e (2014-09-25)
Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1e2993c99323&tochange=1735ff2bb23e

Inbounds:
Last good revision: f8ad56c861c1
First bad revision: 4e596b0a38e2
Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=f8ad56c861c1&tochange=4e596b0a38e2

I suspect bug 1055011.
(In reply to Petruta Rasa [QA] [:petruta] from comment #3)
> I suspect bug 1055011.

I was hoping it would be something more "interesting" than the one where we lowered the timeout... :(

Petruta, in comment 0 you say it also affects Firefox 34, but bug 1055011 is not in 34.  Is it perhaps a different problem then?

In the mean time, I'll up the timeout at least.
Flags: needinfo?(petruta.rasa)
/r/841 - Bug 1100944 - Nudge WebIDE timeout higher. r=paul

Pull down this commit:

hg pull review -r b0f414ad24dfaba0261d07de357da82e2b4efbcf
I just tried to reproduce on Firefox 34 beta 11. I encountered the message once, but that time the simulator failed to open. It could have been a different problem there, but it's not easy to catch it. I'll update if I'll have new info.
Flags: needinfo?(petruta.rasa)
Attachment #8526226 - Flags: review?(paul) → review+
https://hg.mozilla.org/mozilla-central/rev/962915030d1d
Assignee: nobody → jryans
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 36
Comment on attachment 8526226 [details]
MozReview Request: bz://1100944/jryans

Approval Request Comment
[Feature/regressing bug #]: Bug 1055011
[User impact if declined]: Users will see a "connection timeout" in WebIDE, even though the connection will eventually succeed.  Bug 1055011 set a timeout that was a bit too low.
[Describe test coverage new/current, TBPL]: m-c
[Risks and why]: Low, just changing a timeout value.
[String/UUID change made/needed]: None
Attachment #8526226 - Flags: approval-mozilla-aurora?
Attachment #8526226 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
I'm using the developer edition (36.0a2 (2014-12-27)) and the problem still exists with the simulator version 1.3-1.4-2.0, 2.1 and 2.2 don't have this problem.
Attachment #8526226 - Attachment is obsolete: true
Attachment #8618647 - Flags: review+
Hi

I am also facing the same problem reported by Petruta initially. It is on the latest version of FFOS - 38.0.6. I have installed FF simulator versions 1.3, 1.4, 2.0 and 3.0 but while running my app on any of these simulators, I am getting the error "Operation timed out:installing and running app"

Kindly help me to resolve this issue urgently.

Regards
Rashmi

Please note : These simulators were working fine in the earlier version of Firefox 37.0.3
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.