+
Skip to content

Intermittent: Failed to load ‘https://knilxof.org:4443/ping’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError #174

Open
@JohanLorenzo

Description

@JohanLorenzo

Steps to reproduce

Manually:

  1. Restart your computer (it enabled reproduction 4/4 times -- thanks for the trick @npark-mozilla ).
  2. Dowload this Firefox profile and start Firefox with it
  3. In foxbox: cargo build
  4. In the app: gulp
  5. In foxbox: ./run.sh
  6. In Firefox: go to https://localhost:8000

Automatically:

  1. Restart your computer.
  2. Apply [Blocked] Selenium tests: Use Marionette instead of add-on based driver #161
  3. npm test | grep -v 'firefox_profile'

Results

The "connect to your foxbox" button remains greyed out. This makes the Seleniums tests in #161 flaky (around 1/3 times).

The webconsole shows:

Error occurred while fetching content:  TypeError: NetworkError when attempting to fetch resource.app.js:2:11054

ie</t.prototype[ne.fetch]/<()app.js:2
(Async: promise callback) ie</t.prototype[ne.fetch]()app.js:2
ie</t.prototype.fetchJSON()app.js:2
Ce</t.prototype._initDiscovery()app.js:3
Ce</t.prototype.init()app.js:3
Ee</t.prototype.main()app.js:3
<anonymous>app.js:3
c()alameda.js:1
(Async: promise callback) h()alameda.js:1
newContext/P/<()alameda.js:1
newContext/P()alameda.js:1
i()alameda.js:1
newContext/A</<()alameda.js:1
(Async: EventListener.handleEvent) newContext/A<()alameda.js:1
newContext/j()alameda.js:1
h()alameda.js:1
newContext/P/<()alameda.js:1
newContext/P()alameda.js:1
(Async: promise callback) o/t()alameda.js:1
<anonymous>bootstrap.js:1
(Async: promise callback) <anonymous>bootstrap.js:1
c()alameda.js:1
newContext/P()alameda.js:1
i()alameda.js:1
(Async: EventListener.handleEvent) newContext/A<()alameda.js:1
newContext/j()alameda.js:1
h()alameda.js:1
newContext/P/<()alameda.js:1
newContext/P()alameda.js:1
(Async: promise callback) o/t()alameda.js:1
<anonymous>alameda.js:1
<anonymous>alameda.js:1


Retrying box discovery... Reason is  TypeError: NetworkError when attempting to fetch resource.app.js:3:3225
TypeError: NetworkError when attempting to fetch resource.sww.js:405:37

Failed 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
Error occurred while fetching content:  TypeError: NetworkError when attempting to fetch resource.app.js:2:11054

Retrying box discovery... Reason is  TypeError: NetworkError when attempting to fetch resource.app.js:3:3225
TypeError: NetworkError when attempting to fetch resource.sww.js:405:37

[Looping over and over for more than 60s]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载