Open 0xF0CACC1A opened 1 month ago
Hi @0xF0CACC1A
I can confirm this, I'll look into it.
Thanks for reporting
Branch issue-90-QR_code_doesn_t_show_up created!
Hi @0xF0CACC1A
I was able to reproduce the problem by disconnecting mudslide
in the WA App, and then run mudslide login
.
What worked for me is to first run mudslide logout
(this clears the authentication cache), and then run mudslide login
.
Can you check if that also solves your issue?
Hi @robvanderleek I have the same problem. I tried your suggestion and it didn't work. When I run it on a machine that is not a docker container it works, it doesn't work inside docker. Could it be related?
It seems to be in a loop trying to connect login.log
Hi @0xF0CACC1A
I was able to reproduce the problem by disconnecting
mudslide
in the WA App, and then runmudslide login
.What worked for me is to first run
mudslide logout
(this clears the authentication cache), and then runmudslide login
. Can you check if that also solves your issue?
Unlike you, I haven't disconnected mudslide in the WA App because I've never connected it before
Hi @0xF0CACC1A I was able to reproduce the problem by disconnecting
mudslide
in the WA App, and then runmudslide login
. What worked for me is to first runmudslide logout
(this clears the authentication cache), and then runmudslide login
. Can you check if that also solves your issue?
Unlike you, I haven't disconnected mudslide in the WA App because I've never connected it before
Btw I'm (still) using version 0.25.2
Hi @robvanderleek,
First, thanks for the code with the easy installation and commands!
I have the same problem with the QR code generation. Previously, I was using version 0.25.2 and suddenly the command got stuck. I tried reinstalling with the latest version 0.25.3, but the QR code is still not generating, even after logging out and logging in again.
Same here.
I use login command with -v, please see image attached
New install here
$ npx mudslide@latest -vvv login ℹ info In the WhatsApp mobile app go to "Settings > Connected Devices > ℹ info Connect Device" and scan the QR code below
{"level":30,"time":1716542071351,"pid":400494,"hostname":"HOSTNAME","browser":["Linux","Chrome","10.15.0"],"helloMsg":{"clientHello":{"ephemeral":"hky7P9bclx7D6U0YACQJxXqZwoNkbk4OzAHOuhUupEo="}},"msg":"connected to WA"}
{"level":10,"time":1716542071451,"pid":400494,"hostname":"HOSTNAME","class":"ns","msg":"recv 350 bytes, total recv 350 bytes"}
{"level":10,"time":1716542071451,"pid":400494,"hostname":"HOSTNAME","class":"ns","msg":"recv frame"}
{"level":10,"time":1716542071452,"pid":400494,"hostname":"HOSTNAME","handshake":{"serverHello":{"ephemeral":"WJzaL0A0bTEfR0pfQKqT0210Sg+N5aqv0kT4fbKV2kM=","static":"zCQd/Q0Iz1AXtQ301xqIuixtHT9QFufPesiWf8zitBWM7FiNxd0OXw406WtIxFdK","payload":"JkJK/ptqlfVnV1tV2mPEQaLeQ1fmHQvkvHmjI59KsdFJCxewjtZ8VxIjMVKd2UBMlYWsp2D2BHySjZ7tAGTLjgEg1EMGyAzZtVQg1h9ns6JCxgxT8ChZFAQ7uzgqDZjIMEnrGZmCh5j1uSPBaJyhXD9cpYvmN1JuJDTEFRUjc+9WGWTkSUIQGdwK2GF/ZHPF4a5BhBN8ZTEG/c1/Gby2uwFAbR/uZK6ch2JJ8oLSmh5bFSiMhWFwmj+kb+MoJkk/0OZg51OjN79/XfBYhCehUA/cKTKeT0R9ECm0blJIpeu2Rfy74mfsA618rU+vr0SkKpzGMUswVw2LzpiF1DZapmo="}},"msg":"handshake recv from WA"}
{"level":30,"time":1716542071461,"pid":400494,"hostname":"HOSTNAME","node":{"passive":false,"userAgent":{"platform":"WEB","appVersion":{"primary":2,"secondary":2403,"tertiary":2},"mcc":"000","mnc":"000","osVersion":"0.1","manufacturer":"","device":"Desktop","osBuildNumber":"0.1","releaseChannel":"RELEASE","localeLanguageIso6391":"en","localeCountryIso31661Alpha2":"US"},"webInfo":{"webSubPlatform":"WEB_BROWSER"},"connectType":"WIFI_UNKNOWN","connectReason":"USER_ACTIVATED","devicePairingData":{"eRegid":"AAAAMg==","eKeytype":"BQ==","eIdent":"R4+BmaWpRKT07eMepFqglHUB0jUQJlcRzDcnxyau9h0=","eSkeyId":"AAAB","eSkeyVal":"1lvDwT5Vf53pIo0iKpuhMJYI7oaFoXO6N7KgFUIthFQ=","eSkeySig":"FhOVW5bMQTNlt+IfZmxdlz4Ogy7ZKtOAru2XnPjIxuku1QMUhOslInLPVTN43nui4Kf87RkNi4Pz012rQ5jQgQ==","buildHash":"ctjRqW1/JS8QL+XWNBTAYg==","deviceProps":"CgVMaW51eBgBIAA="}},"msg":"not logged in, attempting registration..."}
{"level":10,"time":1716542072508,"pid":400494,"hostname":"HOSTNAME","class":"ns","msg":"recv 41 bytes, total recv 41 bytes"}
{"level":10,"time":1716542072510,"pid":400494,"hostname":"HOSTNAME","class":"ns","msg":"recv frame"}
{"level":10,"time":1716542072510,"pid":400494,"hostname":"HOSTNAME","xml":"
Those errors keep rolling in, in a loop. I do see a 405, is that a HTTP 405 "Method not allowed" error perhaps? I did get this same error with just baileys, without mudslide. So, to me, it looks like an issue with Baileys and not mudslide. I am not deep into this matter, so this is all I can add to this issue... Hope it helps
Could be related to this: https://github.com/WhiskeySockets/Baileys/pull/805
I am trying this patch, although not working (for me), I think it is related to new whatsapp web releases.
Hi all,
I think this is indeed caused by an issue in Baileys. I've just made a new release (0.25.4) that has a dependency on the unreleased Baileys version with the patch mentioned by @budgetsms
Please let me know if this solves your issues. Unfortunately, my time is limited to look deeper into this. Thanks for all the troubleshooting help 👍
hi @robvanderleek It worked for me!! Thank you very much!!
If your system was messed up by latest bug, this is how I fixed my system and got it running fine again on latest version.
-> Debian 12.5 Bookworm.
This guide will uninstall all traces of nodejs, npm and installed modules on your system.
AS ROOT:
npm uninstall mudslide/
apt purge npm nodejs -y
apt autoremove --purge -y
rm /usr/local/bin/mudslide
rm -rf /usr/local/lib/node_modules
rm -rf package* .npm/ node_modules/ mudslide/
rm /usr/bin/mudslide
rm -rf /usr/lib/node_modules
mudslide
which mudslide
reboot
apt install npm
AS YOUR USER: rm -rf node_modules/ package* .local/share/mudslide/ npm install mudslide
AS ROOT cd /usr/local/bin/ ln -s /home/YOURUSER/node_modules/mudslide/dist/index.js mudslide
AS YOUR USER: mudslide --version mudslide login
TO UPDATE MUDSLIDE, AS REGULAR USER WHERE MUDSLIDE IS INSTALLED. npm update mudslide -y
I hope someone find this useful.
robvanderleek: Thank you very much for your efforts.
Hi @robvanderleek
When trying to install it is returning the following error: ERROR: failed to solve: process "/bin/sh -c npm install -g mudslide" did not complete successfully: exit code: 127
Hi all,
Due to a fix in the Baileys library that solves WA connection problems but have not yet been released, the latest version of Mudslide is now depending on a GitHub repository hash. This might give issues with npx
, beyond my control.
FWIW, I can still install the latest version like this:
❯ npx mudslide me
Need to install the following packages:
mudslide@0.25.4
Ok to proceed? (y) y
npm WARN skipping integrity check for git dependency ssh://git@github.com/WhiskeySockets/Baileys.git
Cache folder: /Users/rob/.local/share/mudslide
Current user: ****:58@s.whatsapp.net
… awaiting Closing WA connection, waiting for 1 second(s)...
⭐ Please star Mudslide on GitHub! https://github.com/robvanderleek/mudslide
❯ npx --version
10.5.2
Hi all,
Please check the newest release (0.26.0), this release has again a versioned dependency on the Baileys library.
Did a clean install on Ubuntu (Raspbian) and installed the latest stable baileys and Mudslide and it was a walk in the park. Worked flawlessly! Thanks :)