Skip to content

← All questions

net::ERR_ABORTED on an authenticated route is our single biggest source of failures

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

Top error signature in a clean single-worker run, by a wide margin:

text
page.goto: net::ERR_ABORTED at https://staging-app.example.com/workspace/<uuid>/home

55 of the 192 failures I captured, plus a big pile of click timeouts that I am fairly sure are downstream of it. The step behind it is a page-object method that deep-links the workspace:

ts
await this.page.goto(`/workspace/${workspaceId}/home`, { waitUntil: 'domcontentloaded' });
await this.page.waitForURL(new RegExp(`/workspace/${workspaceId}`), { timeout: 30_000 });

It is intermittent — the same scenario passes on a rerun maybe a third of the time. Failure screenshots are either a blank white page or the app frozen on "Loading session…". Our auth is client-side.

Is waitUntil: 'domcontentloaded' the wrong wait here?

3 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related