Page MenuHomePhabricator

Synthetic test errors 2026-01-11 "HAR recording not started" for Firefox
Closed, ResolvedPublic

Description

Yesterday I did a sitespeed.io release that is automatically picked up by our systems. That release included a new version of bidi-har (Mozillas implementation to get a HAR file using bidi-webdriver). The new release includes a way to get response content (HTML/CSS/JS) in the in HAR file. However it sees like somehow that broke our system because we got a lot of error logs. I will do a manual rollback and will add an issue for Mozilla.

(node:32) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 31 message listeners added to [WebSocket]. MaxListeners is 30. Use emitter.setMaxListeners() to increase limit

/usr/src/app/node_modules/ff-test-bidi-har-export/src/har-recorder.js:51
      throw new Error("HAR recording not started");
            ^

Error: HAR recording not started
    at HarRecorder.recordEvent (/usr/src/app/node_modules/ff-test-bidi-har-export/src/har-recorder.js:51:13)
    at SeleniumBiDiHarRecorder._onMessage (/usr/src/app/node_modules/ff-test-bidi-har-export/src/adapters/selenium-bidi-har-recorder.js:320:20)

Event Timeline

Peter updated the task description. (Show Details)

I changed the configuration to use the latest working version for now and then rollbacked to a new updated version.

Nothing to do on our side. I reverted back to an old version of bidi-har and the errors went away.