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

After scanning the QR code it will return the new QR code #3031

Closed
1 task done
gaurangDhameliya opened this issue May 14, 2024 · 9 comments
Closed
1 task done

After scanning the QR code it will return the new QR code #3031

gaurangDhameliya opened this issue May 14, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@gaurangDhameliya
Copy link

gaurangDhameliya commented May 14, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When I start the session for the connect the whatsapp instance and I'm getting the QR code.
But When I scan the QR it will automatic give me a second updated QR till that I just got the single QR code and whenever I scan the QR it return the new updated QR and If I scan the second QR it will throw the error like "Device could not connect
2024-05-14_11-21
"

And the second QR code string I got it will give me a undefine keyword string as below

undefined,hp+aGiU1V8pUzEA5v5cDrZzDXsoCq/LiB4DCknh+Gjk=,mGUDw6AwC+U4AjmZCHtXwhvDVzgUs+jmKZ/lmeaUIGY=,oSmob7xHdMEuBy64J/ifRNaDsJ044fmbXoDxinAUKj0=,1

Also, I will run fine and connect very well in the local ubuntu pc and the same configuration is not work in ubuntu server from the last 2 day

Expected behavior

I'm getting the new QR after scan the first QR

Steps to Reproduce the Bug or Issue

  1. Start the session
  2. Get the QR
  3. Scan the QR

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

OS: Ununtu 22.04
Phone OS: Android, iOS
whatsapp-web.js version: 1.23.0
WhatsApp Web version [run await client.getWWebVersion()]:
Node.js Version: 20.13.11

Additional context

No response

@gaurangDhameliya gaurangDhameliya added the bug Something isn't working label May 14, 2024
@Ankit-Yadav-21
Copy link

Exactly same here

@AkashSaikia
Copy link

Hello @Ankit-Yadav-21 and @gaurangDhameliya
I am facing the same issue. It seems few people are facing the issue.

Looks like it happens with

  • Number is from India
  • Operating system is Ubuntu

It works fine when we try it on Windows 11 [ Development machine ]
It even works fine on Ubuntu when we try with a SG [ non indian ] mobile number.

I have tried combination of version changes, but no luck yet.

@RAKESHSUVIDYA
Copy link

Hello @Ankit-Yadav-21 and @gaurangDhameliya I am facing the same issue. It seems few people are facing the issue.

Looks like it happens with

  • Number is from India
  • Operating system is Ubuntu

It works fine when we try it on Windows 11 [ Development machine ] It even works fine on Ubuntu when we try with a SG [ non indian ] mobile number.

I have tried combination of version changes, but no luck yet.

It is also not working in windows hosting. I have checked many times.

@gaurangDhameliya
Copy link
Author

Hello Guys ,
Right now I'm using the ubuntu pc 22.04 version and it is working fine but the same server OS configuration I used to deployed but it doesn't work on the server.

@Hasnen-mr
Copy link

Hasnen-mr commented May 14, 2024

Hello, I am facing the same issue

Also getting error like this on mobile side when scan QR code.

Couldn't Login please check your Internet connection

@Ankit-Yadav-21
Copy link

Hello @Ankit-Yadav-21 and @gaurangDhameliya I am facing the same issue. It seems few people are facing the issue.

Looks like it happens with

  • Number is from India
  • Operating system is Ubuntu

It works fine when we try it on Windows 11 [ Development machine ] It even works fine on Ubuntu when we try with a SG [ non indian ] mobile number.

I have tried combination of version changes, but no luck yet.

Yeah same for me also

@janke184
Copy link

Same error here!

@Ankit-Yadav-21
Copy link

now i am facing same error on my local computer kindly suggest solution

@themazim
Copy link

This is also the case with default / vanilla WhatsApp and thus not related to this library.

Also there a a lot of closed issues regarding this, which all explain this.

Apparently some users had some luck with chrome / chromium versions that are 122 or smaller. So try this:

https://mirror.cs.uchicago.edu/google-chrome/pool/main/g/google-chrome-stable/google-chrome-stable_122.0.6261.111-1_amd64.deb

Either way, this issue will be closed, since it is NOT related to the lib.

@alechkos alechkos marked this as a duplicate of #3021 May 14, 2024
@alechkos alechkos closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
Repository owner locked and limited conversation to collaborators May 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants