whatsapp-osint icon indicating copy to clipboard operation
whatsapp-osint copied to clipboard

Program finishes execution before Syncing is complete

Open BananaGeneral opened this issue 11 months ago • 6 comments

So after linking a device using the QR code, the program tries to find the given username argument, but since the link just happened, there's no time for the browser to finish syncing all the conversations, and the program cannot find the contacts.

 Loaded
Trying to find: Banana Kong
Banana Kong is not found. Returning...(Maybe your contact is in the archive. Check it)

IMG_15F257F98E57-1

If there was a way to keep the browser open to finish the syncing, the problem would be solved.

BananaGeneral avatar Jul 22 '23 19:07 BananaGeneral

Thank you for your first issue to whatsapp-osint! I really appreciate your interest and hope you enjoy the repository.

github-actions[bot] avatar Jul 22 '23 19:07 github-actions[bot]

@BananaGeneral how long does it take approximately? I've never seen this sync stuff before

jasperan avatar Jul 22 '23 21:07 jasperan

I tested it on a new instance, and it took about one minute to complete. I imagine it varies depending on how many open conversations one has / the internet connection speed.

BananaGeneral avatar Jul 22 '23 21:07 BananaGeneral

If you re-run it with the saved session, do you run into issues? Just asking to check the priority of this issue because I have a lot of work right now and I want to know if it's severe or mid

jasperan avatar Jul 24 '23 09:07 jasperan

Regular chrome and this "developer" mode doesn't seem to share the cache/cookies held by the WhatsApp sessions.

It won't work until the sync on the browser whatsapp-osint opens (the one with the automated notification) is complete.

Just thought of letting you know cause more people might run into this in the future.

BananaGeneral avatar Jul 24 '23 12:07 BananaGeneral

Thanks @BananaGeneral, I will see which HTML elements I can get from that state, although it will be hard for me to reproduce since I have never received that "sync in progress" message. It would be ideal if you could submit a Pull Request since you are prompted to that screen. If you don't know enough, don't worry, I will try to figure out another way.

The repo is supposedly created to work with chromedriver and not the developer mode from regular Chrome as this restricts me from reproducing the error accurately since we aren't in the same environment.

But thank you for bringing it to my attention. 👍🏻

jasperan avatar Jul 24 '23 15:07 jasperan