Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FbnsClient Push Notification not working #100

Open
Ho3einWave opened this issue Sep 9, 2022 · 7 comments
Open

FbnsClient Push Notification not working #100

Ho3einWave opened this issue Sep 9, 2022 · 7 comments
Labels

Comments

@Ho3einWave
Copy link

Ho3einWave commented Sep 9, 2022

recently my app is not receiving the push notification everything was working but now the push event doesn't get anything

ig:mqtt:fbns Connecting to FBNS... +0ms
ig:mqtt:fbns Constructing connection +1ms
ig:mqtt:fbns Connected to MQTT +1s
ig:mqtt:fbns Received auth: {"ck":464389304437390,"cs":"3Fx/sG5w1qFClsKuW7/A1N4eMDY=","sr":30,"di":"0a0ca4ba-5f3e-4320-8cf1-e4e0059e0cb1","ds":"FBuZ26OW5iTlrdCmWRqE8vVGKNs="} +1ms

These are the debugging logs I get

@OoHerbethoO
Copy link

Here in my app it also stopped receiving pushes

@Ho3einWave
Copy link
Author

{
    "message": "",
    "igAction": "news",
    "actionPath": "news",
    "collapseKey": "reachability_silent_push",
    "pushId": "5e84b4a725e4bHb53015e40H5e84b9408611dH141",
    "pushCategory": "reachability_silent_push",
    "intendedRecipientUserId": "48637238848",
    "badgeCount": {
        "direct": 6
    }
}

this is the last thing I get from the push event

@Ho3einWave
Copy link
Author

Ho3einWave commented Sep 10, 2022

I think its an Instagram problem or Instagram is changing something in their MQTT.

how can I monitor the MQTT data?
I found an Instagram patch with the latest version in this repo
I tried to reverse engineer the com.instagram.android:mqtt with Frida script that was provided in repo but its doesn't work and I'm not experienced in reverse engineering I hope the project owner helps us to update this repo

@Ho3einWave
Copy link
Author

@Nerixyz

@Nerixyz
Copy link
Owner

Nerixyz commented Sep 10, 2022

I tried to reverse engineer the com.instagram.android:mqtt with Frida script that was provided in repo but its doesn't work and I'm not experienced in reverse engineering

The script is probably outdated:

/**
* search for the string 'MessageEncoder'
*
* EXPECTED:
* any.any("MessageEncoder", new IllegalArgumentException(() + "Unknown message type: " + a), "send/unexpected; type=%s", b)
*
* OR
*
* search for the string 'No message encoder'
*
* EXPECTED:
* throw new IOException("No message encoder");
*
* CURRENT: v123.0.0.21.114 @ x86
*/

I haven't really kept up with any changes to MQTT on instagram.

@Nerixyz Nerixyz added the FBNS label Sep 10, 2022
@zulkifliraihan
Copy link

Yeah, i can't get realtime notification too

@cnkx
Copy link

cnkx commented Sep 16, 2022

Yeah, i can't get realtime notification too

Actually same here! I used to use this library regularly months ago but I think problems started to occur. Sometimes some notifications were coming else some were not. I can't see any realtime notifications today (using last version of instagram_mqtt library). I believe though I've made the correct settings even though the past months have been working regularly, the most frequently used pending chat notification has stopped coming. I checked the logs saved so far and just noticed it today.

@Nerixyz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants