devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click! Two engines: chromium-based WEBJS and pure-websocket NOWEB
https://waha.devlike.pro/
Apache License 2.0
831 stars 254 forks source link

Logout does not remove a session that was not started #194

Closed dv336699 closed 1 week ago

dv336699 commented 10 months ago

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.

allburov commented 10 months ago

Is it for noweb engine, right?

dv336699 commented 10 months ago

@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?

allburov commented 10 months ago

Good idea, I will do! 👍

allburov commented 3 months ago

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

devlikepro commented 1 week ago

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