Closed Bug 1569750 Opened 7 years ago Closed 7 years ago

Monitor isn't showing data despite being logged in with an active monitor account

Categories

(Firefox :: Protections UI, defect, P1)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: kristian, Assigned: groovecoder)

Details

(Whiteboard: [protection-report][skyline])

Attachments

(1 file)

Attached file aboutsupport.txt

Hi

I just tried clicking "Turn on monitor" on the about:protections page, and it works but "Turn on monitor" is still shown.

So I did a bit of debugging. "User is not subscribed to Monitor" is shown every time about:protections is reloaded and a request is made to https://monitor.firefox.com/user/breach-stats which return {"errorMessage":"Cannot find FXA for that OAuth token."}, so something is wrong.

I have a suspicion that "Cookie AutoDelete" and/or the "Lockwise" addon could be the culprit. I have removed the Lockwise addon today as it is builtin now, but maybe it did mess something up? I did try starting Firefox in safe-mode, but it didn't change anything.

Nightly 70.0a1 (20190729095501)

  • Kristian Klausen

Thanks for filing this bug, I've seen this behavior in recent days, too. I'm logged into my Sync account and I previously used to see my Monitor stats on about:protections but now it's just showing the generic "Turn on Monitor" card.

Micah, Ryan, can you look into this, please? :)

Let me know if you need my help reproducing/debugging.

Thanks!

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(tigleym)
Flags: needinfo?(rfkelly)
Summary: "Turn on Monitor" isn't → Monitor isn't showing data despite being logged in with an active monitor account
Whiteboard: [protection-report][skyline]

I noticed this today as well. Firefox has a cached OAuth token that has expired, but the version of Monitor that is currently in production rejects it with a 404 error rather than a 400 or 401, so the client never ends up learning that the token is invalid. Signing out of Sync and signing back in causes it to start working again.

I expect things will all start working correctly as soon as https://github.com/mozilla/blurts-server/pull/1138 hits the production servers, with no user action required. :groovecoder, do we have an ETA on such deployment?

If necessary, we could work around this on the client side in the meantime by special-casing the "Cannot find FXA for that OAuth token" error message and treating it like a 401. (In fact :mtigley's original patch did this, but I advised against it for future-proofing reasons; I wouldn't be opposed to it for backwards-compatibility reasons though...).

Flags: needinfo?(tigleym)
Flags: needinfo?(rfkelly)
Flags: needinfo?(lcrouch)
Priority: -- → P1

This should be fixed now.

Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(lcrouch)
Resolution: --- → FIXED
Assignee: nobody → lcrouch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: