waha icon indicating copy to clipboard operation
waha copied to clipboard

[WEBJS] - stuck in start or login

Open rashadAdel opened this issue 1 year ago • 29 comments

Image when i scan qr code it logged in but status stuck at scan qr code and when restart it stuck at starting

rashadAdel avatar Aug 30 '25 11:08 rashadAdel

Yeah same here, or it stuck on Starting status if the qr code is cached

kali-shade avatar Aug 30 '25 16:08 kali-shade

+++ i got same error. How to solve this problem? I tried to redeploy but nothing ...

ezlazylemon avatar Aug 30 '25 22:08 ezlazylemon

probably something changed on the whatsapp ui and it's not capturing the login event

kali-shade avatar Aug 30 '25 23:08 kali-shade

Same problem here, it was driving me crazy until I came here and read I was not the only one.

jcaldazosa avatar Aug 31 '25 00:08 jcaldazosa

probably something changed on the whatsapp ui and it's not capturing the login event

btw, I tried the new WAHA (core) on the NOWEB engine and it works. but on WEBJS it doesn’t. guess we’ll have to wait for the next WAHA release, pretty sure they’ll drop it in early September

ezlazylemon avatar Aug 31 '25 00:08 ezlazylemon

same issue

wasimsohail avatar Aug 31 '25 06:08 wasimsohail

Same issue

patron:PLUS

bambashaik avatar Aug 31 '25 10:08 bambashaik

same issue

roismuslim77 avatar Aug 31 '25 12:08 roismuslim77

same issue WEBJS (2025.8.1 CORE) {"level":40,"time":1756671595725,"pid":44,"hostname":"*********","reqId":242,"session":"default","name":"WebhookSender","id":"01K40WJK4GNYJSCKZXPKMP7NV0","msg":"Error sending POST request: 'Request failed with status code 405'. Retrying 2/15..."}

alexdlhh avatar Aug 31 '25 20:08 alexdlhh

@ezlazylemon how i run on NOWEB engine?

alexdlhh avatar Aug 31 '25 20:08 alexdlhh

@ezlazylemon how i run on NOWEB engine? To run on the NOWEB engine, set the environment variable WHATSAPP_DEFAULT_ENGINE to NOWEB

Set WHATSAPP_DEFAULT_ENGINE=NOWEB and then restart or redeploy. But be careful, if you’re not using PostgreSQL or MongoDB and rely only on local storage, your data may be erased during redeploy. I hope it'll help

ezlazylemon avatar Aug 31 '25 20:08 ezlazylemon

@ezlazylemon how i run on NOWEB engine?

BTW you have to upgrade to latest version of WAHA, and then it'll work.

ezlazylemon avatar Aug 31 '25 20:08 ezlazylemon

@ezlazylemon Thank you very much, champ.

alexdlhh avatar Aug 31 '25 20:08 alexdlhh

@ezlazylemon Thank you very much, champ.

you're welcome mate 🤜🏻🤛🏻

ezlazylemon avatar Aug 31 '25 20:08 ezlazylemon

+1

HuangDaHui avatar Sep 01 '25 07:09 HuangDaHui

@ezlazylemon how i run on NOWEB engine? To run on the NOWEB engine, set the environment variable WHATSAPP_DEFAULT_ENGINE to NOWEB

Set WHATSAPP_DEFAULT_ENGINE=NOWEB and then restart or redeploy. But be careful, if you’re not using PostgreSQL or MongoDB and rely only on local storage, your data may be erased during redeploy. I hope it'll help

This worked for me as well did have to change some of my API calls to make sure they are compatible with NOWEB.

patron:PLUS

bambashaik avatar Sep 01 '25 08:09 bambashaik

how set url for webhook?

roismuslim77 avatar Sep 01 '25 13:09 roismuslim77

@roismuslim77 check WHATSAPP_HOOK_URL on .env

alexdlhh avatar Sep 01 '25 14:09 alexdlhh

Now I have the same problem with WEBJS (2025.8.3 PLUS), was working fine 6 hours ago, but now doesn't update SCAN_QR_CODE, keeps there.

jcaldazosa avatar Sep 01 '25 21:09 jcaldazosa

It's happening with as as well

Details

  • Using WEBJS
  • It's intermittently, maybe a A/B test?
  • WAHA cannot identify when the session loads, if it's a new one it's stuck on SCAN_QR_CODE altough the screenshot shows the session working, when it's an existing session, it's stuck on STOPPED
Image

patron:PRO

arielpts avatar Sep 01 '25 21:09 arielpts