danielgross / whatsapp-gpt

MIT License
3.07k stars 596 forks source link

[Client ERROR] Client outdated (405) connect failure #86

Open Souvik111 opened 1 year ago

Souvik111 commented 1 year ago

image

Huskynarr commented 1 year ago

You need only to update the whatsapp dependency. Or use my repo :)

issayevruslan commented 1 year ago

You need only to update the whatsapp dependency. Or use my repo :)

Hi Huskynarr! How are you? I have same issue Can I use your repo? :)

TobiPower20 commented 11 months ago

i have the same problem:

13:31:21.655←[36m [Database INFO] Upgrading database to v1←[0m 13:31:21.697←[36m [Database INFO] Upgrading database to v2←[0m 13:31:21.700←[36m [Database INFO] Upgrading database to v3←[0m 13:31:21.705 [Client/Socket DEBUG] Dialing wss://web.whatsapp.com/ws/chat←[0m 13:31:21.873 [Client/Socket DEBUG] Frame websocket read pump starting 0xc00021e000←[0m 13:31:23.371 [Client/Recv DEBUG] ←[0m 13:31:23.371←[31m [Client ERROR] Client outdated (405) connect failure←[0m 13:31:23.371←[31m [Client/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF←[0m 13:31:23.372 [Client/Socket DEBUG] Frame websocket read pump exiting 0xc00021e000←[0m 13:31:23.371 [Client/QRChannel DEBUG] Closing channel with status {Event:err-client-outdated Error: Code: Timeout:0s}←[0m Login event: err-client-outdated 13:31:23.372 [Client DEBUG] OnDisconnect() called, but it was expected, so not emitting event←[0m

can someone help me. i really want to get this thing up and running

TobiPower20 commented 11 months ago

You need only to update the whatsapp dependency. Or use my repo :)

i have this and then i become this error:

main.go:20:2: missing go.sum entry for module providing package go.mau.fi/whatsmeow; to add: go mod download go.mau.fi/whatsmeow main.go:21:2: missing go.sum entry for module providing package go.mau.fi/whatsmeow/binary/proto; to add: go mod download go.mau.fi/whatsmeow main.go:22:2: missing go.sum entry for module providing package go.mau.fi/whatsmeow/store/sqlstore; to add: go mod download go.mau.fi/whatsmeow main.go:23:2: missing go.sum entry for module providing package go.mau.fi/whatsmeow/types; to add: go mod download go.mau.fi/whatsmeow main.go:24:2: missing go.sum entry for module providing package go.mau.fi/whatsmeow/types/events; to add: go mod download go.mau.fi/whatsmeow main.go:25:2: missing go.sum entry for module providing package go.mau.fi/whatsmeow/util/log; to add: go mod download go.mau.fi/whatsmeow main.go:26:2: missing go.sum entry for module providing package google.golang.org/protobuf/proto; to add: go mod download google.golang.org/protobuf

nqlan commented 9 months ago

@Huskynarr How do I update the whatsapp depency tho?

Huskynarr commented 8 months ago

In go.mod is the version. You can update it manually. Alternative, use my fork. Currently i work on the problem with the session token.

nqlan commented 8 months ago

In go.mod is the version. You can update it manually. Alternative, use my fork. Currently i work on the problem with the session token.

I just used your fork and it worked, thanks :)