Blank Announcement Banner intermittent on the support forum home and product page home

NEW
Unassigned

Status

support.mozilla.org
Forum
P3
normal
2 years ago
6 months ago

People

(Reporter: guigs [guigs] PST (please needinfo me!), Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [ee-needtofix])

Attachments

(1 attachment)

Created attachment 8729074 [details]
screenshot of bar.png

Steps to reproduce: 
1. Open firefox after a refresh
2. Log into an admin account
3. Takes you to https://support.mozilla.org/en-US/
4. blank announcement appears breifly, on other pages if not dismissed it will appear at the top of the questions forum. 

Another way to reproduce
1. Make sure you are not signed in, Open a new Private Window in Firefox
2. Navigate to https://support.mozilla.org/en-US/
3. Notice the brief appearance of the announcement bar

Troubleshooting done so far: 
*On the Admin announcement console looked for any blank active entries -> only Korean(may be wrong here on the language) and Italian
The bar has a class "announce-geoip-suggestion" and I see an error in the JS console that might be related: "Error: Error retrieving geoip data". It's preceded by the following CORS error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://location.services.mozilla.com/v1/country?key=fa6d7fc9-e091-4be1-b6c1-5ada5815ae9d. (Reason: missing token 'x-csrftoken' in CORS header 'Access-Control-Allow-Headers' from CORS preflight channel).

In other words, we're asking MLS if we can include an x-csrftoken header and they're denying us. I don't think we actually need a CSRF token for them, though. It's probably some global thing we set in jQuery for all AJAX requests. Or maybe not.

bstoroz: Can you take a look at this when you have a chance?
Assignee: nobody → bstoroz
Status: NEW → ASSIGNED
Duplicate of this bug: 1260075
Whiteboard: [ee-needtofix]
Brittany I'll de-assign you from this bug so we can enable others to work on this, due to lack of activity. Thanks for offering to help. Please reach out if you have time to work on this or other bugs.
Assignee: bstoroz → nobody
Status: ASSIGNED → NEW

Updated

2 years ago
Duplicate of this bug: 1281846
(Reporter)

Updated

6 months ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.