GithubHelp home page GithubHelp logo

Comments (7)

behind24proxies avatar behind24proxies commented on May 23, 2024

Question : how can I delete (completely delete) a session that is stored in the .sessions folder ?
[if I stop the session and re-start it with the same name it comes up again with these loops]

from whatsapp-http-api.

allburov avatar allburov commented on May 23, 2024

Hi!
If docker and session restart doesn't work (as I understood from the issue, it doesn't for you) - the only way is to remove the folder - usually it's .session/webjs-{SESSION_NAME} folder

It might happen sometime, when WhatsApp changes their credentials format - it either logout the session after few minutes with an error like "There's a error in database, please scan QR code".

from whatsapp-http-api.

martinmineo avatar martinmineo commented on May 23, 2024

I'm facing a similar issue but I can't make it work again.
I'm running the plus version on AWS. I deleted the cluster and re-deploy it again and every time the same issue shows up.
Steps to reproduce:
Start the session
Take the screenshot
The screenshot works
I scan the QR code
It fails with the following error

ERRO[0193] error waiting for container: invalid character 'c' looking for beginning of value

Take the screenshot again
I see the same issue that @behind24proxies is facing, a spinner where the QR code should be

from whatsapp-http-api.

behind24proxies avatar behind24proxies commented on May 23, 2024

I'm facing a similar issue but I can't make it work again.
I'm running the plus version on AWS. I deleted the cluster and re-deploy it again and every time the same issue shows up.
Steps to reproduce:
Start the session
Take the screenshot
The screenshot works
I scan the QR code
It fails with the following error

ERRO[0193] error waiting for container: invalid character 'c' looking for beginning of value

Take the screenshot again
I see the same issue that @behind24proxies is facing, a spinner where the QR code should be

@martinmineo where does that error come? In the console, or on the swagger GUI?

from whatsapp-http-api.

martinmineo avatar martinmineo commented on May 23, 2024

@behind24proxies I see the error in the console. The only thing I see in swagger is that the session state is failed

from whatsapp-http-api.

behind24proxies avatar behind24proxies commented on May 23, 2024

@behind24proxies I see the error in the console. The only thing I see in swagger is that the session state is failed

It might have to do with the docker environment

from whatsapp-http-api.

allburov avatar allburov commented on May 23, 2024

If session's stuck - now you can logout from it with POST /api/sessions/logout request and restart a container
https://waha.devlike.pro/docs/how-to/sessions/#logout

from whatsapp-http-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.