Comments (22)
Can you provide more context on the issue? Do you see any errors in the console?
from whatsapp-contact-sync.
sorry my fault
the only thing that appears on the terminal is this
i just remove some tokens
from whatsapp-contact-sync.
I think I know what the issue is.
There's an issue where in some cases the web socket gets reconnected, and then your WhatsApp session in the backend isn't linked to the correct WS.
I was planning on deprecating the WS approach as it contains a lot of bugs, and replacing it with web hooks.
I'll try to get around to it soon and fix the underlying issue.
In the meantime, usually clearing browser cache and refreshing the page will solve the issue.
from whatsapp-contact-sync.
ok thx
i tried with 3 different browsers none of them work :|
on the mobile its keep trying read the QR code with no success
from whatsapp-contact-sync.
That sucks, I'll try to get it fixed during the weekend.
from whatsapp-contact-sync.
thx :)
from whatsapp-contact-sync.
hey :)
did you manage to take a look ?
from whatsapp-contact-sync.
Sorry, but not yet (but haven't forgotten about it).
Hopefully sometime this week/end.
from whatsapp-contact-sync.
@VozDeOuro I just merged a PR (#27) which should fix this bug, can you confirm it works for you now?
from whatsapp-contact-sync.
hey :)
the problems keep happening here is a screenshot from the cellphone perspective, i try to scan it but nothing happens
the qrcode was blurry by myself
from whatsapp-contact-sync.
I had this issue just now, and I solved it by just changing the background colour of the page. It worked!
To some colour like above.
from whatsapp-contact-sync.
@Sarveshmrao can you elaborate on what you did? To me it seems like something else caused it to function correctly.
@VozDeOuro Just so I'm sure I understood correctly, which one of these happened to you?:
- You weren't able to scan the QR with WhatsApp - you opened the WhatsApp scanner and nothing happened
- You were able to scan the QR with WhatsApp, and the app didn't continue to the next screen
from whatsapp-contact-sync.
@Sarveshmrao can you elaborate on what you did? To me it seems like something else caused it to function correctly.
@VozDeOuro Just so I'm sure I understood correctly, which one of these happened to you?:
- You weren't able to scan the QR with WhatsApp - you opened the WhatsApp scanner and nothing happened
- You were able to scan the QR with WhatsApp, and the app didn't continue to the next screen
Hey @guyzyl
I was not able to scan the code in WhatsApp or a normal QR Code Scanner. Hence I changed the background and the next second it scanned and logged me in and took me to the Google Auth step.
I'm self hosting both Backend and Frontend FYI.
from whatsapp-contact-sync.
@Sarveshmrao can you elaborate on what you did? To me it seems like something else caused it to function correctly.
@VozDeOuro Just so I'm sure I understood correctly, which one of these happened to you?:
- You weren't able to scan the QR with WhatsApp - you opened the WhatsApp scanner and nothing happened
- You were able to scan the QR with WhatsApp, and the app didn't continue to the next screen
I open the WhatsApp and it's look like I'm scanning nothing, because nothing happens
I will try that trick to change the background color
from whatsapp-contact-sync.
@Sarveshmrao that's a very interesting solution!
Can one of you please test if adding a border to the QR fixes the issue? I'm not able to replicate it with my phone.
You can do it by adding the following block:
canvas {
border-width: 10px;
border-color: white;
}
from whatsapp-contact-sync.
@Sarveshmrao that's a very interesting solution!
Can one of you please test if adding a border to the QR fixes the issue? I'm not able to replicate it with my phone.
You can do it by adding the following block:canvas { border-width: 10px; border-color: white; }
Don't add a border white. Add anything else other than black and white, as those are the colors in which the QR is generated.
from whatsapp-contact-sync.
@Sarveshmrao that's a very interesting solution!
Can one of you please test if adding a border to the QR fixes the issue? I'm not able to replicate it with my phone.
You can do it by adding the following block:canvas { border-width: 10px; border-color: white; }Don't add a border white. Add anything else other than black and white, as those are the colors in which the QR is generated.
Good point.
Does adding a border colored at rgb(87, 13, 248)
fix the issue? (that's the primary color of DaisyUI)
Try a width of 5px
so it's not too overpowering.
from whatsapp-contact-sync.
thats fixed it so the problem was with the border :)
you can close this issue if you want.
and thx for you help
from whatsapp-contact-sync.
@VozDeOuro Just merged the fix and closed the issue.
Thanks for reporting this bug and testing out the solution :)
from whatsapp-contact-sync.
@VozDeOuro Sorry for bugging you, but do you mind checking the version that is now on main
?
I tested the purple border with my phone and it didn't work.
I now changed the border color to white, and want to make sure it does the job for everyone.
from whatsapp-contact-sync.
@VozDeOuro Sorry for bugging you, but do you mind checking the version that is now on
main
? I tested the purple border with my phone and it didn't work. I now changed the border color to white, and want to make sure it does the job for everyone.
Just checked out the new version. Yes, it works!
from whatsapp-contact-sync.
@Sarveshmrao thanks!!!
We can leave this issue behind now :)
from whatsapp-contact-sync.
Related Issues (20)
- Syncing Contacts Not Working on Docker, Locally, or via Website HOT 6
- Docker Build Fails due to TypeScript Error in web/src/main.ts HOT 1
- Increase sync speed by improving concurrency
- Restore whatsapp-web.js version to latest
- Calling of `client.getProfilePicUrl` slows down sync HOT 1
- Just a comment HOT 2
- Add/improve explanations relative to data safety HOT 1
- Help users to easily revoke access to the service HOT 1
- Feature request : Let user choose to overwrite picture-by-picture HOT 4
- Nothing happens after scanning QR code HOT 6
- Add Dependabot for whatsapp-web.js
- [feature request] period syncing (every x amount of time to sync pictures again). HOT 3
- [Bug Report] Whatsapp contact sync does not work for the second time, after doing it the first time. HOT 5
- Higher Picture Quality for photo sync? HOT 6
- Label contacts that was "whatsapp photo contact synced"? HOT 1
- [Feature Request] Logout from WhatsApp after syncing photos from WhatsApp to Google Contacts. HOT 5
- QR doesn't appear on first load if container was just launched
- Incomplete loading of photos (blurry photos) in WhatsApp contacts sync with Google Contacts HOT 1
- Add a note to synced contacts to allow partial overwrite HOT 1
- Fix GitHub star button location on mobile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-contact-sync.