waha icon indicating copy to clipboard operation
waha copied to clipboard

Logout does not remove a session that was not started

Open dv336699 opened this issue 2 years ago • 4 comments

Engine: NOWEB

Version:

{
  "version": "2023.8.29",
  "tier": "PLUS",
  "browser": "/usr/bin/chromium"
}
  1. Start the container
  2. Start the session and you should see the qr code in the terminal (do not scan the qr code)
  3. Send a logout command

The expected result is that the session will be removed/stopped, but that doesn't happen and the session keeps open showing the qr code.

dv336699 avatar Sep 02 '23 09:09 dv336699

Is it for noweb engine, right?

allburov avatar Sep 02 '23 09:09 allburov

@allburov sorry, yes, is there any chance you you can create a template of what information you need so we can send it all in one go?

dv336699 avatar Sep 02 '23 09:09 dv336699

Good idea, I will do! 👍

allburov avatar Sep 02 '23 09:09 allburov

That's correct behaviour - you need to use /stop endpoint instead to actual STOP the session with logout: True /logout only remove credentials for the session But I see the confusion here, we'll look at this closer

allburov avatar Mar 26 '24 10:03 allburov

Now when you call /logout it'll stop the session if it's running. I don't remember exactly version when it's been fixed tho...

patron:PRO

devlikepro avatar Jul 05 '24 11:07 devlikepro