-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] FxaPushSupportFeature is not resetting push subscription #15899
Comments
@jonalmeida is this something for the Fenix team to fix or is it something the AC team wants to handle? |
@jonalmeida - logs from startup on Fenix nightly. |
From some debugging so far we've seen that snorp's logs are different from Janet's. For snorp, we've hit the "fxa cannot communicate with your device" and the recovery mechanism is failing on bug mozilla-mobile/android-components#7143 which should be notifying us that our subscriptions are invalid. I verified this by manually re-subscribing for our fxa push subscription and that seems to recover instantly. For Janet, I'm seeing missing information in the send tab push messages that are coming through. Push messages with a On release, this is what we see in the logs (Leanplum is logging the full message for us):
For Nightly, when sending a tab I see this in the logs (sent to me via a direct message):
|
I agree, at first glance this seems wrong. |
Yeah, I'm not sure about this one either. I'm not super familiar with the internals of send tab (particularly around the integration with pushbox and when that fetch happens). Generally, new channel requests don't remove old channels from Push (the old channel remains valid unless it's explicitly dropped by the client), so it's odd that you're seeing this. I'm not sure where the breakage might be occurring,but I'll file this bug to track. |
Cross-linking for context, I have the start of a theory about why this recovery mechanism is failing: |
@jonalmeida - here are logs from doing a sign-out, sign-in, send tab on latest Fenix nightly. sign-out-sign-in-send-tab.txt |
Thanks @jdragojevic ! Just to verify, you are still not seeing a Send Tab show up? In the logs, we are very clearly receiving a push message, decrypting, and notifying the account manager with the push message:
|
@jonalmeida - the most recent logs (#15899 (comment)) are from after an uninstall / reinstall of the Fenix nightly application. From the slack conversation the other day - I confirmed that signing in / out was not enough to solve the problem, but the uninstall / reinstall did fix it. |
Thanks Janet, I wrongly assumed these logs were before the uninstall/install. Everything looks fine in these new logs. Coming back to the original logs from snorp then, I think I'm fine with closing this as a duplicate of mozilla-mobile/android-components#7143 |
From @snorp 's logs we can see that FxaDeviceConstellation is requesting that we reset our push token, but we do not see a response from the
FxaPushSupportFeature
that should be monitoring that change.┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: