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
944 stars 283 forks source link

[BUG][WEBJS] - I'm not getting anything webhooks #257

Closed fififig closed 3 months ago

fififig commented 8 months ago

In httpbin, the following request is issued: "{ "args": {}, "data": "", "files": {}, "form": {}, "headers": { { "accept": "application/json", "Accept-Encoding": "gzip, deflate, br", "Accept-Language": "ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7", "Content-Length": "0", "Host": "httpbin.org", "Origin": "https://httpbin.org", "Referer": "https://httpbin.org/", "Sec-Ch-Ua": "Not_A Brand\";v=\"8\", "Chromium\";v=\"120\", "Google Chrome\";v=\"120\", \"Sec-Ch-Ua-Mobile": "?0", "Sec-Ch-Ua-Platform": "\"Windows\", "Sec-Fetch-Dest": { "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-origin", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0.0 Safari/537.36", "X-Amzn-Trace-Id": "Root=1-65a450df-73d366ac141867fa708b1e8f" }, "json": null, "origin": "92.248.168.79", { "url": "https://httpbin.org/post" }"

tecysismx commented 8 months ago

check your body have a message, or message.any or session.status in your events node

"webhooks": [ { "url": "url", "events": [ "message", "session.status", "message.any" ],

fififig commented 8 months ago

Yes, we have everything. I'm using the plus version

allburov commented 8 months ago

Hah, that's weird. Do you get all events like this or may be some? Did you try restart the session? Is there anything in docker logs before that happens, could you send it? https://waha.devlike.pro/docs/how-to/deploy/#viewing-the-logs

fififig commented 8 months ago

I can't get any of the events. I have tried restarting sessions, using plus and core versions. I'm going to look at the logs now

devlikepro commented 8 months ago

Did it work at all and stopped working or never worked for you?

fififig commented 8 months ago

Never worked. Need it for a project, for the function of collecting answers

devlikepro commented 3 months ago

Try using https://webhook.site/ to see if it works

patron:PRO

xm-waba commented 2 months ago

Same here. Find that WEBJS not emit message_create or any other events. Stopped and start not work for me. Any idea?

patron:PRO

devlikepro commented 2 months ago

@xm-waba Hi! Are you using the latest 2024.7.8 version? We had some issues before

If yes - could you DM me on discord devlikepro. (dot is important) or send a question in the discord group, we'll figure it out!

patron:PRO

xm-waba commented 2 months ago

@xm-waba Hi! Are you using the latest 2024.7.8 version? We had some issues before

If yes - could you DM me on discord devlikepro. (dot is important) or send a question in the discord group, we'll figure it out!

patron:PRO

@devlikepro cant find you on discord. How can i join the discord group?

patron:PRO

devlikepro commented 2 months ago

@xm-waba you can find discord link at the bottom of the page https://portal.devlike.pro/

patron:PRO