{"action":"created","issue":{"url":"https://api.github.com/repos/fxbox/app/issues/174","repository_url":"https://api.github.com/repos/fxbox/app","labels_url":"https://api.github.com/repos/fxbox/app/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/fxbox/app/issues/174/comments","events_url":"https://api.github.com/repos/fxbox/app/issues/174/events","html_url":"https://github.com/fxbox/app/issues/174","id":159656675,"number":174,"title":"Intermittent: Failed to load ‘https://knilxof.org:4443/ping’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError","user":{"login":"JohanLorenzo","id":5907366,"avatar_url":"https://avatars.githubusercontent.com/u/5907366?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanLorenzo","html_url":"https://github.com/JohanLorenzo","followers_url":"https://api.github.com/users/JohanLorenzo/followers","following_url":"https://api.github.com/users/JohanLorenzo/following{/other_user}","gists_url":"https://api.github.com/users/JohanLorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanLorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanLorenzo/subscriptions","organizations_url":"https://api.github.com/users/JohanLorenzo/orgs","repos_url":"https://api.github.com/users/JohanLorenzo/repos","events_url":"https://api.github.com/users/JohanLorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/JohanLorenzo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fxbox/app/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/fxbox/app/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-06-10T15:08:36Z","updated_at":"2016-06-15T08:59:46Z","closed_at":null,"body":"## Steps to reproduce\r\n\r\nManually:\r\n1. Restart your computer (it enabled reproduction 4/4 times -- thanks for the trick @npark-mozilla ).\r\n1. Dowload [this Firefox profile](https://github.com/JohanLorenzo/app/blob/3d299dfd273097ca988db4336e2d22dcae516d00/tests/lib/profile.zip?raw=true) and start Firefox with it\r\n1. In foxbox: `cargo build`\r\n1. In the app: `gulp`\r\n1. In foxbox: `./run.sh`\r\n1. In Firefox: go to https://localhost:8000\r\n\r\nAutomatically:\r\n1. Restart your computer.\r\n1. Apply #161 \r\n1.  `npm test | grep -v 'firefox_profile'`\r\n\r\n\r\n## Results\r\nThe \"connect to your foxbox\" button remains greyed out. This makes the Seleniums tests in #161 flaky (around 1/3 times).\r\n\r\nThe webconsole shows:\r\n```\r\nError occurred while fetching content:  TypeError: NetworkError when attempting to fetch resource.app.js:2:11054\r\n\r\nie</t.prototype[ne.fetch]/<()app.js:2\r\n(Async: promise callback) ie</t.prototype[ne.fetch]()app.js:2\r\nie</t.prototype.fetchJSON()app.js:2\r\nCe</t.prototype._initDiscovery()app.js:3\r\nCe</t.prototype.init()app.js:3\r\nEe</t.prototype.main()app.js:3\r\n<anonymous>app.js:3\r\nc()alameda.js:1\r\n(Async: promise callback) h()alameda.js:1\r\nnewContext/P/<()alameda.js:1\r\nnewContext/P()alameda.js:1\r\ni()alameda.js:1\r\nnewContext/A</<()alameda.js:1\r\n(Async: EventListener.handleEvent) newContext/A<()alameda.js:1\r\nnewContext/j()alameda.js:1\r\nh()alameda.js:1\r\nnewContext/P/<()alameda.js:1\r\nnewContext/P()alameda.js:1\r\n(Async: promise callback) o/t()alameda.js:1\r\n<anonymous>bootstrap.js:1\r\n(Async: promise callback) <anonymous>bootstrap.js:1\r\nc()alameda.js:1\r\nnewContext/P()alameda.js:1\r\ni()alameda.js:1\r\n(Async: EventListener.handleEvent) newContext/A<()alameda.js:1\r\nnewContext/j()alameda.js:1\r\nh()alameda.js:1\r\nnewContext/P/<()alameda.js:1\r\nnewContext/P()alameda.js:1\r\n(Async: promise callback) o/t()alameda.js:1\r\n<anonymous>alameda.js:1\r\n<anonymous>alameda.js:1\r\n\r\n\r\nRetrying box discovery... Reason is  TypeError: NetworkError when attempting to fetch resource.app.js:3:3225\r\nTypeError: NetworkError when attempting to fetch resource.sww.js:405:37\r\n\r\nFailed to load ‘https://knilxof.org:4443/ping’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError when attempting to fetch resource.’.sww.js:392:2\r\nError occurred while fetching content:  TypeError: NetworkError when attempting to fetch resource.app.js:2:11054\r\n\r\nRetrying box discovery... Reason is  TypeError: NetworkError when attempting to fetch resource.app.js:3:3225\r\nTypeError: NetworkError when attempting to fetch resource.sww.js:405:37\r\n\r\n[Looping over and over for more than 60s]\r\n```"},"comment":{"url":"https://api.github.com/repos/fxbox/app/issues/comments/226128972","html_url":"https://github.com/fxbox/app/issues/174#issuecomment-226128972","issue_url":"https://api.github.com/repos/fxbox/app/issues/174","id":226128972,"user":{"login":"azasypkin","id":1713708,"avatar_url":"https://avatars.githubusercontent.com/u/1713708?v=3","gravatar_id":"","url":"https://api.github.com/users/azasypkin","html_url":"https://github.com/azasypkin","followers_url":"https://api.github.com/users/azasypkin/followers","following_url":"https://api.github.com/users/azasypkin/following{/other_user}","gists_url":"https://api.github.com/users/azasypkin/gists{/gist_id}","starred_url":"https://api.github.com/users/azasypkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azasypkin/subscriptions","organizations_url":"https://api.github.com/users/azasypkin/orgs","repos_url":"https://api.github.com/users/azasypkin/repos","events_url":"https://api.github.com/users/azasypkin/events{/privacy}","received_events_url":"https://api.github.com/users/azasypkin/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T08:59:46Z","updated_at":"2016-06-15T08:59:46Z","body":"OK then I think I'm missing something in the integration tests setup.. Let's talk on irc once you come back from London :)"}}
{"actor":{"display_login":"azasypkin"}}