Mautrix_Whatsapp erreur socket

My YunoHost server

Hardware: VPS Ovh
YunoHost version: 4.3.6.2
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description

Bonjour

nouvel utilisateur de Yunohost, j’ai installé Mautrix_Whatsapp et tout a bien fonctionné tout de suite. Login whatsapp ok dans matrix, des salons se créaient bien dans matrix à chaque conversation whatsapp, je pouvais initier une conversation whatsapp via le bot dans matrix. (super!)
puis quelques jours plus tard, le bot me dit en réponse à un ‘ping’ :
< You’re logged in as +33… (device #1), but you don’t have a WhatsApp connection.>
je ‘reconnect’ : < Restarted connection to WhatsApp >, puis ‘ping’ : idem
je ‘disconnect’, puis ‘reconnect’, idem
je ‘delete-session’, ‘disconnect’, ‘reconnect’ : < You’re not logged into WhatsApp. Please log in first. >
je ‘login’ : < Failed to log in: unexpected connection event from server >
dans les logs de l’interface web /services :

[User/@rdgx:.../Client/Socket/ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF

je n’ai pas de log dans /var/log/mautrix_whatsapp/, ni dans /opt/yunohost/mautrix_whastapp/, ça m’embête d’ailleurs.

dans les options je vois que le programme utilise le port 8449, je l’ouvre pour voir dans le pare-feu, mais idem (le port n’était pas ouvert quand mautrix_whatsapp fonctionnait)

bref, après désinstallation / réinstallation problème identique.
si vous avez des suggestions je vous en remercie


Hi rdgx, bienvenue!

Ma Francais n’est pas bon, j’ecris Anglais. Excuse!

Mautrix_whatsapp works as whatsapp-webclient. Facebook/Meta require a phone device to be logged in to be allowed to make the choice to use a webclient.

Do you have a formal whatsapp client from Facebook running with a connection? It can be on an unused mobile phone, tablet or Android VM.

thanks for your response.
I have whatsapp app on android phone, login ok, and Mautrix-WhatsApp bridge connected in device (when bot was ok on matrix, logged via this app. last connection since february 8th.) also joined beta.

but why there’s no log in appropriate folders ?

I’ve fixed that in https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh/pull/46

1 Like

Merged :slight_smile:

Thanks,
sorry but what am I supposed to do ?
do I have to just change line 32 in the script install ? (where can I find this file in my system ?)
or
how can I update this app with the testing version ?
thanks for all

Just make an update with Yunohost (Click on System Update, then it should show you that there’s an update for Mautrix-Whatsapp Bridge and then click on update).

ah ok, last time I 've checked the system there was no update for mautrix-whastapp.
it’s ok now and … working
thanks a lot!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.