tulir / whatsmeow

Go library for the WhatsApp web multidevice API
https://go.mau.fi/whatsmeow
Mozilla Public License 2.0
2.1k stars 385 forks source link

Error in Paring Device with QR #584

Closed bhavesh53 closed 3 months ago

bhavesh53 commented 4 months ago

i am getting this error after scan QR .

09:43:18.677 [Client INFO] Successfully paired 09:43:18.880 [Client ERROR] Unknown stream error: 09:43:18.976 [Client/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF

TanvirSingh007 commented 4 months ago

I am also not able to pair new devices due to this error.

JustSoursop commented 4 months ago

I've tested the latest mdtest and had successed login via qr code.

Actually I've same case yesterday but unable to figure it out. Today I'd tested the same code and it works fine.

RakeshBhaiKush commented 4 months ago

I am also not able to pair new devices due to this error.

Hello,

Could we possibly connect via Google Meet or another platform? I'm encountering some problems with Git installation.

TanvirSingh007 commented 4 months ago

I am also not able to pair new devices due to this error.

Hello,

Could we possibly connect via Google Meet or another platform? I'm encountering some problems with Git installation.

It is out of scope of this thread. However, you can read the documentation to install git. It is pretty straightforward.

RakeshBhaiKush commented 4 months ago

It is out of scope of this thread. However, you can read the documentation to install git. It is pretty straightforward.

Sorry for this its done , you are still facing scanning issue ?

TanvirSingh007 commented 4 months ago

Yes, I am still facing the issue. I am facing the same issue with whatsapp-web.js, which is a javascript library to implement the same functionality.

RakeshBhaiKush commented 4 months ago

Yes, I am still facing the issue. I am facing the same issue with whatsapp-web.js, which is a javascript library to implement the same functionality.

Do you think this issue happens after the latest whatsapp update !! or it is anyother reason !!

TanvirSingh007 commented 4 months ago

I think its due to some update to whatsappweb from Meta as the functionality seems to be breaking in different regions at different times, across different libraries.

RakeshBhaiKush commented 4 months ago

I think its due to some update to whatsappweb from Meta as the functionality seems to be breaking in different regions at different times, across different libraries.

Oh by any change how much time it gonna take !!

TanvirSingh007 commented 4 months ago

IDK

RakeshBhaiKush commented 4 months ago

IDK

:(

rajuaryan21 commented 4 months ago

This is perhaps related to IP. Not working for indian numbers. Perhaps you need to use proxy.

rajuaryan21 commented 4 months ago

However on local machine this works but not on cloud server.

rajuaryan21 commented 4 months ago

check this thread discussion here: https://github.com/WhiskeySockets/Baileys/issues/779

RakeshBhaiKush commented 4 months ago

However on local machine this works but not on cloud server.

Thanks for the update

TanvirSingh007 commented 4 months ago

check this thread discussion here: https://github.com/WhiskeySockets/Baileys/issues/779

I believe I am getting the same issue.

RakeshBhaiKush commented 3 months ago

Any update guys

AyushmanChatterjee commented 3 months ago

Getting the same issue. I am also trying to pair an Indian number on a cloud server hosted in Mumbai region.

TanvirSingh007 commented 3 months ago

Has anyone tried to use proxies to solve this problem?

AyushmanChatterjee commented 3 months ago

Do you have any working proxy server details? I can test it but it seems I might need to setup a proxy server myself for testing.

nnarayanmuchhal commented 3 months ago

We've tested it with residential proxies with that it works... But it has become very costly affair.. If we keep lesser number of IP's and pay as per IP's then chances are banning goes up if we keep rotating IP's then the cost of data transfer is too high.. so it is too difficult to maintain the cost and sell services at lower price..

TanvirSingh007 commented 3 months ago

We've tested it with residential proxies with that it works... But it has become very costly affair.. If we keep lesser number of IP's and pay as per IP's then chances are banning goes up if we keep rotating IP's then the cost of data transfer is too high.. so it is too difficult to maintain the cost and sell services at lower price..

I was looking into using residential proxies for my use and I was wondering about the costs. I believe we don't have any better solution for the problem at the moment.

RakeshBhaiKush commented 3 months ago

I have tried with some VPN some numbers are getting connected some not

ahmedRSA commented 3 months ago

how this issue related to whatsmeow ? transfer this issue to discussion

alsak0de commented 3 months ago

https://github.com/tulir/whatsmeow/issues/590#issuecomment-2122813237

hamidcu commented 3 months ago
  1. Login to your local.
  2. if login is success on local setup. copy local db file ( example : examplestore.db ) file to cloud folder.
  3. run