Closed nrs1022 closed 1 year ago
Me too
Me too help mee!!!
thanks for the issue template @nrs1022
I'm going to need your guys' help here.
first of all, in your production instances, pin the version to 4.61.0 which doesn't have this regression. It might take some time to load but it shouldn't have this exact problem.
I will be implementing two things in this upcoming fix. A way to save a screenshot mid-launch (just hit s
on the keyboard in the terminal and it should dump a screenshot in your process working directory), and a potential fix to this problem.
Here's where I need your help @Theblood @nrs1022 @aymenitc, I cannot replicate this issue on my local machine. I need you guys to experiment with the upcoming version to see if you can replicate. If you can I want you to take screenshots any time your session gets stuck.
Remember, you'll only need to hit s
on your keyboard to take a screenshot.
The filename should look something like this:
screenshot_qrtesst2_1680127703440.png
screenshot, then your session id then a timestamp.
If you get to the point where it looks like it froze at finalizing client
or waiting for ripe session
then hit s
and then we can possibly get some clues as to what's going on.
Thanks
Hi @smashah understood, using 4.61.0 works fine. Anyway, I'm trying with another session using 4.62.1 which stays stucked. I press s key but does nothing (I'm using putty for access to a Linux terminal)
4.62.1
is definitely broken. 4.62.2
is only somewhat unreliable
4.62.1
is definitely broken.4.62.2
is only somewhat unreliable
Well, if you need some assistance I can help you as much as possible. No luck with s
key, maybe am I doing something wrong?
hello @smashah How can I help to test? I'm running from docker-compose Mine takes some time (about 1 minute) on "waiting for ripe session" then it goes "well", but no messages are processed, and when checking health status vĆa API, it shows:
{ "success": true, "response": { "queuedMessages": 0, "state": "OPENING", "isPhoneDisconnected": true, "isHere": true, "wapiInjected": true, "online": true, "tryingToReachPhone": false, "retryingIn": 0, "isMd": true } }
@github-actions run
2954c73
s
on keyboard to take a screenshot mid-launch #3083 3687e26
waitForRipeSessionTimeout
default 5 seconds #3083 cf5bd92
sendButtons
#3073 850ea5f
sendListMessage
#3073 96e3c6e
sendAdvancedButtons
URL/CALL BTN STILL BROKEN #3073 5fd9d5a
0d40823
c7fd6af
fae259d
@nrs1022 @Theblood @WEBudoGT @aymenitc
Please try with this latest version using the CLI as a control:
> npx @open-wa/wa-automate@4.62.0 --session-id triage-3083 --debug -v --log-console-errors --log-console -p ... --webhook ...
replace ...
with whatever you want. Don't add extra flags for now just so we can compare.
Two major differences with this version, you can hit s
to take a screenshot, and the process will only waitForRipeSession for 5 seconds by default. You can change that with --wait-for-ripe-session-timeout 60
as an example to change it to 60 seconds.
Report back any further issues and respective logs (paste all of the logs, not just bits you think are important) and screenshots.
thanks
Hi @smashah today I've tried new version in one of the sessions I use, unfortunately in "Wating for ripe session..." after 5 seconds it says something like "Maybe you have issues in headless mode, continuing" and finalizing client with 0 messages and 0 chats.
Image in spanish says "Make sure your computer has an active and stable Internet connection".
The tested session is now working fine with 4.61.0
Tomorrow I'll try to scan a new QR and so make a more detailed log from beginning.
@nrs1022 thanks for the screenshot that's exactly the thing I needed to confirm.
Please try again with a fresh session on 4.62.2
@nrs1022 thanks for the screenshot that's exactly the thing I needed to confirm.
Please try again with a fresh session on 4.62.2
Yes, right, tomorrow I'll stop and retry with a fresh session and paste all logs.
Closing. Please comment if this is still happening
Are you using the latest version of the library?
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Business account
Mode
EASY API/CLI
Current Behavior
Hi @smashah! My @openwa yesterday stops working, I update @openwa to 4.61.2 but stays with "Waiting for ripe session...", I cleaned up everything and try again: QR was scanned fine after 2/3 tries and finally it finalized client initialization... But later session stops again, when I reboot @openwa it keeps again on "Waiting for ripe session..."
ā Launch inject: 394ms ā Authenticated š Waiting for ripe session...
If I scan QR through WA WEB it opens and works fine... maybe some inject stopped working with the recent WA changes?
Expected Behavior
"Waiting for ripe session..." last only a couple of seconds, chats are loaded and client finalized.
Steps To Reproduce
npx @open-wa/wa-automate --debug --verbose -p 8012 --multi-device --webhook http://127.0.0.1:9123/hook
create() code OR full CLI command + CONFIG
No response
DEBUG INFO
Environment
Screenshots/Logs
These are last lines using --debug
Anything else?
If you need more info or tests please tell me, thanks!