Open Bug 1561864 Opened 6 years ago Updated 6 months ago

[BUG] POST https://discourse.mozilla.org/csp_reports 404 (Not Found)

Categories

(Participation Infrastructure :: Community Ops, defect)

defect
Not set
normal

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: kmehant, Unassigned)

Details

Attachments

(1 obsolete file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36

Steps to reproduce:

  1. Visit https://discourse.mozilla.org/c/reps
  2. Open the console

Actual results:

When I visited the https://discourse.mozilla.org/c/reps the web client is making calls to https://discourse.mozilla.org/csp_reports throwing a 404. That call might be UnAuthorized or may be the resource might not exist. Both the ways of making such a call irrespective of the user or guest privileges would be a bad thing.

Expected results:

If this is due to UnAuthorized act
For guest, the client should make a call to https://discourse.mozilla.org/csp_reports
If the resource is missing 404, then we have to work on the codebase. The link might be broken.

Component: other.mozilla.org → Community Ops
Product: Websites → Participation Infrastructure
Version: Production → other
Attachment #9383506 - Attachment is obsolete: true

The 404 error from the csp_reports endpoint usually means the Content Security Policy report URI isn’t configured correctly on the server. It’s not an authorization problem but a missing or invalid route. Adjusting the CSP settings or adding the endpoint will resolve it, ensuring a smoother, custom limousine–level web performance.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: