danielgross / whatsapp-gpt

MIT License
3.07k stars 598 forks source link

QR code doesn't generated..Login event: timeout #88

Open Shilpi741245 opened 11 months ago

Shilpi741245 commented 11 months ago

I got this error while running go run main.go file in the command prompt. I installed all necessary libraries and sqlite3. But QR isn't generated. I will paste the error here. Please help me to fix it.

C:\Users\Shilpi.Majumder\whatsapp-gpt-main>go run main.go 11:20:56.484←[36m [Database INFO] Upgrading database to v1←[0m 11:20:56.646←[36m [Database INFO] Upgrading database to v2←[0m 11:20:56.754←[36m [Database INFO] Upgrading database to v3←[0m 11:20:56.927 [Client/Socket DEBUG] Dialing wss://web.whatsapp.com/ws/chat←[0m 11:20:57.183 [Client/Socket DEBUG] Frame websocket read pump starting 0xc000250000←[0m 11:21:00.774←[31m [Client/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF←[0m 11:21:00.775 [Client/Socket DEBUG] Frame websocket read pump exiting 0xc000250000←[0m 11:21:00.775 [Client/Recv DEBUG] ←[0m 11:21:00.775 [Client DEBUG] Emitting Disconnected event←[0m 11:21:00.776 [Client/QRChannel DEBUG] Closing channel with status {Event:timeout Error: Code: Timeout:0s}←[0m Login event: timeout

BDNapster commented 5 months ago

getting issue whatsapp-gpt-main>go run main.go 01:59:21.110 [Client/Socket DEBUG] Dialing wss://web.whatsapp.com/ws/chat←[0m 01:59:21.694 [Client/Socket DEBUG] Frame websocket read pump starting 0xc00021c000←[0m 01:59:26.852 [Client/Recv DEBUG] ←[0m 01:59:26.852←[31m [Client ERROR] Client outdated (405) connect failure←[0m 01:59:26.852 [Client/QRChannel DEBUG] Closing channel with status {Event:err-client-outdated Error: Code: Timeout:0s}←[0m Login event: err-client-outdated 01:59:26.853←[31m [Client/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF←[0m 01:59:26.853 [Client/Socket DEBUG] Frame websocket read pump exiting 0xc00021c000←[0m 01:59:26.854 [Client DEBUG] OnDisconnect() called, but it was expected, so not emitting event←[0m