Giter Club home page Giter Club logo

Comments (22)

guyzyl avatar guyzyl commented on June 8, 2024

Can you provide more context on the issue? Do you see any errors in the console?

from whatsapp-contact-sync.

VozDeOuro avatar VozDeOuro commented on June 8, 2024

sorry my fault
the only thing that appears on the terminal is this
image
i just remove some tokens

from whatsapp-contact-sync.

guyzyl avatar guyzyl commented on June 8, 2024

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.

VozDeOuro avatar VozDeOuro commented on June 8, 2024

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.

guyzyl avatar guyzyl commented on June 8, 2024

That sucks, I'll try to get it fixed during the weekend.

from whatsapp-contact-sync.

VozDeOuro avatar VozDeOuro commented on June 8, 2024

thx :)

from whatsapp-contact-sync.

VozDeOuro avatar VozDeOuro commented on June 8, 2024

hey :)
did you manage to take a look ?

from whatsapp-contact-sync.

guyzyl avatar guyzyl commented on June 8, 2024

Sorry, but not yet (but haven't forgotten about it).
Hopefully sometime this week/end.

from whatsapp-contact-sync.

guyzyl avatar guyzyl commented on June 8, 2024

@VozDeOuro I just merged a PR (#27) which should fix this bug, can you confirm it works for you now?

from whatsapp-contact-sync.

VozDeOuro avatar VozDeOuro commented on June 8, 2024

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
image

from whatsapp-contact-sync.

Sarveshmrao avatar Sarveshmrao commented on June 8, 2024

I had this issue just now, and I solved it by just changing the background colour of the page. It worked!
image
To some colour like above.

from whatsapp-contact-sync.

guyzyl avatar guyzyl commented on June 8, 2024

@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 avatar Sarveshmrao commented on June 8, 2024

@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.

VozDeOuro avatar VozDeOuro commented on June 8, 2024

@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.

guyzyl avatar guyzyl commented on June 8, 2024

@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 avatar Sarveshmrao commented on June 8, 2024

@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.

guyzyl avatar guyzyl commented on June 8, 2024

@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.

VozDeOuro avatar VozDeOuro commented on June 8, 2024

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.

guyzyl avatar guyzyl commented on June 8, 2024

@VozDeOuro Just merged the fix and closed the issue.
Thanks for reporting this bug and testing out the solution :)

from whatsapp-contact-sync.

guyzyl avatar guyzyl commented on June 8, 2024

@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.

Sarveshmrao avatar Sarveshmrao commented on June 8, 2024

@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.

guyzyl avatar guyzyl commented on June 8, 2024

@Sarveshmrao thanks!!!
We can leave this issue behind now :)

from whatsapp-contact-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.