Comments (7)
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.
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.
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.
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 errorERRO[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.
@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 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.
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)
- /api/messages - API not returning all the messages in a chat HOT 1
- Send image in HD HOT 1
- [BUG][NOWEB] - Every secret code is getting invalid in whatsapp HOT 1
- Media in message.ack events HOT 2
- Custom attribute while sending message HOT 4
- CAN'T DOWNLOAD DOCKER IMAGE BEING PRO HOT 1
- [Feature Request] Group Security feature - Add the possibility to send messages only from administrators HOT 2
- [Feature Request] Receive Emoji Reactions to Message HOT 1
- [BUG][WEBJS] - Instance moves to 'FAILED' state randomly. HOT 8
- Payment failing with Patreon on different cards, any other payment method available? HOT 3
- Getting all chats is failed each time because of Timeout error [BUG][WEBJS] - HOT 3
- [Feature Request] Rocket Chat integration HOT 3
- [Feature Request] Helo How to send message to channel? HOT 1
- [BUG][WEBJS + NOWEB] - /api/sendVoice doesn't work properly HOT 2
- [BUG][BOOSTY] - subscription not working HOT 2
- [BUG][WEBJS] Run with docker compose Bug HOT 1
- [Feature Request] Does this API support WhatsApp Business? HOT 3
- [BUG][WEBJS] - Status 'FAILED' while starting a session. HOT 8
- [BUG][NOWEB] - Issue when using the proxy HOT 1
- Sync logout or stop session to devices list on phone HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-http-api.