Closed Bug 2070216 Opened 2 months ago Closed 2 months ago

AccessConnector resource loading failure does not trigger errors in console or client policies page

Categories

(Enterprise Products :: Console, defect)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mcurtean, Assigned: julienw)

References

Details

Attachments

(2 files, 1 external file)

Found in
FxE release 155.1.0 (20260904105831)

Affected versions
FxE release 155.1.0 (20260904105831)
156.0b2 (20260901111324)
156.0a1 (20260826132131)

Preconditions
FxE is installed and signed in.
A Company admin is logged into the Console.
AccessConnector policy has been configured for at company/OU or user level.

{
  "Host": "proxy.enterfox.eu",
  "MatchPatterns": [
    "https://*.mozilla.org",
    "https://mozilla.org",
    "http://hello.world.svc.cluster.local/"
  ],
  "Port": 443
}

Steps to reproduce

  1. In the FxE browser, open http://hello.world.svc.cluster.local/ and observe the page content and accessConnector icon.
  2. Go to about:policies and observe the policy - it matches policy as set in the console.
  3. From the console, edit the policy and modify the Port to "442".
  4. Refresh the open http://hello.world.svc.cluster.local/ page and observe the resource load failure.
  5. Return to about:policies and observe if any AccessConnector error is received.
  6. Check the console events for any accessConnector errors.

Expected result
A telemetry event should show the AccessConnector failure in the console.
An error should should help debug the AccessConnector resource failure.

Actual result
AccessConnector resource loading failure does not trigger errors in console or client policies page

QA Whiteboard: [Pilot][Pasteur][AccessConnector][S1]

My guess is that the event [1] is missing from the backend, so the backend ignores it.

Hey Michael, what's the process to add it? Is that just adding (copying?) it to semconv/model/browser/events.yaml? Any easier process?

[1] https://github.com/mozilla/enterprise-firefox/blob/496e71db8167bbe6907a0deea298a6f5871eef04/browser/components/enterprise/metrics.yaml#L14

Flags: needinfo?(michael)

Hi :julienw, yes you need to add the event definition to browser/events.yaml and then add a mapping here.

The long term fix for this is to stop using Glean to submit security events to the console and instead provided a generated API for the browser to record events.

Flags: needinfo?(michael)
Attached file GitHub Pull Request —
Assignee: nobody → felash
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Flags: qe-verify+
QA Contact: mcurtean
Depends on: 2074735
Attached image proxy error.png —

Verified fixed on 158.0b2 (20260930034338) with macOS Tahoe 26.4.

Flags: qe-verify+
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: