Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Nomad UI XHR requests are blocked by Firefox's default settings (NS_BINDING_ABORTED) #24647

Open
markasoftware-aqtc opened this issue Dec 11, 2024 · 1 comment
Assignees

Comments

@markasoftware-aqtc
Copy link

markasoftware-aqtc commented Dec 11, 2024

Nomad version

Nomad v1.9.3

Operating system and Environment details

macOS Sequoia, Firefox 133.0

Issue

While browsing around the Nomad web UI, certain things don't auto-refresh the way they do in Chrome. Looking in the browser dev console, a number of XHR requests seem to fail with NS_BINDING_ABORTED, which I believe means Firefox is internally blocking them. Additionally, at least one request fails with NS_ERROR_OUT_OF_MEMORY (my machine has plenty of memory and taking a memory snapshot indicates that the page is using ~50 MiB of memory, which shouldn't be anywhere near Firefox's per-page limits).

Some basic reading online indicates that NS_BINDING_ABORTED means Firefox is blocking the request for one of any number of reasons. My first guess was that it was being blocked as part of Firefox's anti-tracking features that are enabled by default, but even after adding an anti-tracking exception, the failed requests continue.

Reproduction steps

  1. Open Firefox dev console in the Network tab
  2. Navigate to the Nomad web UI homepage
  3. Click on a job, ideally one with some allocations under it
  4. Navigate back to the homepage using the breadcrumbs

Expected Result

All requests should succeed. For example, all requests succeed in Chrome.

Actual Result

A number of requests (when I do this procedure, usually at least 4) fail with NS_BINDING_ABORTED error, and sometimes one will fail with NS_ERROR_OUT_OF_MEMORY also

394588520-6e1fc321-df3b-4e49-a7f1-f8ed46955a68

(confidential job names redacted)

Job file (if appropriate)

N/A

Nomad Server logs (if appropriate)

N/A

Nomad Client logs (if appropriate)

N/A

@tgross
Copy link
Member

tgross commented Dec 11, 2024

Hi @markasoftware-aqtc! I'm going to flag this issue for our web UI expert @philrenaud.

@philrenaud philrenaud self-assigned this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants