Comments (23)
Hi! Could you run the session with config.debug: True
flag in the request and send logs here please 🙏
https://waha.devlike.pro/docs/how-to/sessions/#enable-debug
from whatsapp-http-api.
Used the following to start the session and I am not seeing anything more in addition to above ....
{
"name": "default",
"status": "STARTING",
"config": {
"debug": true
}
}
from whatsapp-http-api.
Just published a new version. 2024.5.1, could you update and test this one?
from whatsapp-http-api.
Same issue sadly ... recreated the container and still seeing the same problem.
from whatsapp-http-api.
Hi! Sorry for asking dump question, but could you try to run a different session, like default2
{
"name": "default2",
"config": {
"proxy": null,
"webhooks": [
{
"url": "https://httpbin.org/post",
"events": [
"message",
"session.status"
],
"hmac": null,
"retries": null,
"customHeaders": null
}
],
"debug": false
}
}
from whatsapp-http-api.
[ { "name": "default", "status": "STARTING", "config": { "debug": true }, "me": null, "engine": { "engine": "WEBJS" } }, { "name": "default2", "status": "STARTING", "config": { "proxy": null, "webhooks": [ { "url": "https://httpbin.org/post", "events": [ "message", "session.status" ], "hmac": null, "retries": null, "customHeaders": null } ], "debug": false }, "me": null, "engine": { "engine": "WEBJS" } } ]
from whatsapp-http-api.
Still stuck starting ...
from whatsapp-http-api.
What is your country for the phone number and where your server is?
from whatsapp-http-api.
+61, Australia
from whatsapp-http-api.
@5and0 what the /screenshot shows when it's in STARTING status btw, didn't find it in the messages?
from whatsapp-http-api.
Likely relates to #296
from whatsapp-http-api.
from whatsapp-http-api.
That is after it’s been running for a while.. initially I get…
{ "statusCode": 500, "timestamp": "2024-05-04T02:07:33.531Z", "exception": { "stack": "ProtocolError: Protocol error (Page.captureScreenshot): Cannot take screenshot with 0 width.\n at /app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:329:24\n at new Promise (<anonymous>)\n at CDPSessionImpl.send (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:325:16)\n at CDPPage._CDPPage_screenshotTask (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js:2591:77)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)", "name": "ProtocolError", "originalMessage": "Cannot take screenshot with 0 width.", "message": "Protocol error (Page.captureScreenshot): Cannot take screenshot with 0 width." }, "request": { "path": "/api/screenshot?session=default", "method": "GET", "body": {}, "query": { "session": "default" } }, "version": { "version": "2024.5.1", "engine": "WEBJS", "tier": "PLUS", "browser": "/usr/bin/chromium" } }
from whatsapp-http-api.
Sorry for asking, did you try to completely remove .sessions
folder? Or may be connect a new folder, .sessions2
As long as WhatsApp Web itself is loading, nothing we can do here :(
from whatsapp-http-api.
Enough CPU and free Memory, right? Just wanna make sure it's not usual problems :)
from whatsapp-http-api.
Yes. Did both. Will try again tonight. Tried different engine as well.
from whatsapp-http-api.
Enough CPU and free Memory, right? Just wanna make sure it's not usual problems :)
Yes
from whatsapp-http-api.
One more thing to try - using chrome based (not chromium) docker image
https://waha.devlike.pro/docs/how-to/engines/#docker-images
This one:
devlikeapro/whatsapp-http-api-plus:chrome
May be it's some sort of bug in chromium + whatsapp web
from whatsapp-http-api.
@5and0 is the account old one or new? With old one it can have too many messages in it, so syncing takes long (weird tho, we should get some logs there in that case)
from whatsapp-http-api.
@5and0 is the account old one or new? With old one it can have too many messages in it, so syncing takes long (weird tho, we should get some logs there in that case)
Old account, but not even getting to the point of logging in, so not sure how that would impact at this point.
from whatsapp-http-api.
Ok ... got it working with :chrome and version 2024.5.3 ... if I switch back to chromium I notice version is 2024.5.2 even after removing and pulling latest image.
from whatsapp-http-api.
I'm also getting this at the top of the conversation list ...
from whatsapp-http-api.
Related Issues (20)
- Add filter by session name to /api/sessions HOT 1
- [Feature Request] Webhook only for messages received from specific group that only mention me? HOT 2
- [Feature Request] Link Preview in sendText WEBJS class HOT 3
- [Feature Request]Get Chats with NOWEB HOT 1
- [BUG][WEBJS] - payload._data.self missing in Webhook body HOT 11
- [Feature Request] White label option for swagger documentation HOT 1
- Can't install with docker HOT 3
- can we add WhatsApp call events in webhook of NOWEB Engine response ? [Feature Request]
- Send message in broadcast? HOT 2
- how to use/access it on VPS HOT 5
- [Feature Request] Additional features on GET /api/{session}/chats HOT 1
- [BUG][NOWEB] - Attachment: file.data & file.url is not working HOT 2
- Stop session when QR is not valid (after some 3-4 QRs) HOT 2
- About protecting starting a session with the same name HOT 2
- [BUG][WEBJS] - GitHub Connection Error in Webhook Configuration: ECONNREFUSED When Fetching Version Information HOT 2
- [Feature Request] (Web) Get labels and get contacts by label id
- [Feature Request] [Dashboard] - show environment variables for server
- [Feature Request] Improving the status sending feature HOT 7
- [BUG][WEBJS] - Unable to send video HOT 4
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.