mautrix / whatsapp

A Matrix-WhatsApp puppeting bridge
https://maunium.net/go/mautrix-whatsapp
GNU Affero General Public License v3.0
1.26k stars 172 forks source link

websocket disconnected before info query returned response #696

Closed michelleDeko closed 4 months ago

michelleDeko commented 4 months ago

Hi,

I woke up today with the bridge not working anymore. I was trying to reconnect it, but it didn't work. Now I tried logging out and loggin in again and now I'm getting the following error: Failed to start phone code login: websocket disconnected before info query returned response

Already tried updating and restarting the service, but it still doesn't work.

I'm also getting this error: Bridge is using outdated WhatsApp web protocol (2.2329.9, latest is 2.3000.0)

Does anyone have an idea on how to fix this?

gianklug commented 4 months ago

currently getting a

⚠ Your message was not bridged: you are not connected to WhatsApp

not sure if it's just a temporary thing, not near the phone with whatsapp rn to reconnect

tulir commented 4 months ago

Outdated versions of the bridge aren't supported

gianklug commented 4 months ago
May 21 11:40:28 matrix-01 mautrix-whatsapp[119]: May 21, 2024 11:40:28 ERR Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF module=Client/Socket user_id=
May 21 12:03:48 matrix-01 mautrix-whatsapp[119]: May 21, 2024 12:03:48 ERR Client outdated (405) connect failure (client version: 2.2353.59) module=Client user_id=
May 21 12:03:48 matrix-01 mautrix-whatsapp[119]: May 21, 2024 12:03:48 ERR Got a client outdated connect failure. The bridge is likely out of date, please update immediately. user_id=
May 21 12:03:48 matrix-01 mautrix-whatsapp[119]: May 21, 2024 12:03:48 ERR Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF module=Client/Socket user_id=
michelleDeko commented 4 months ago

Outdated versions of the bridge aren't supported

I'm using version v0.9.0+dev.5c8c736c, so I think I'm using the newest version?

gianklug commented 4 months ago

@tulir also happening to me on latest.

michelleDeko commented 4 months ago

@gianklug yup, exactly the same error I'm getting in the console

tulir commented 4 months ago

5c8c736c is a 10 month old version, nowhere near latest.

also happening to me on latest.

your logs indicate you're using a 5 month old version (2.2353.59 was latest in december: https://github.com/tulir/whatsmeow/commit/9d803dd927351f5684accc00c0d0febd47fe3876)

michelleDeko commented 4 months ago

5c8c736 is a 10 month old version, nowhere near latest.

oh rip, sorry, I was thinking it was the newest, because the bot added todays date to the "version" output Also just realized that the branch changed from master to main, so yeah, this was the a mistake I made 😅