open-wa / wa-automate-nodejs

💬 🤖 The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates!
https://docs.openwa.dev/
Other
3.05k stars 588 forks source link

Authentication timed out. Shutting down. Consider increasing authTimeout config variable: https://open-wa.github.io/wa-automate-nodejs/interfaces/configobject.html#authtimeout node:events:489 #3182

Closed missoy closed 2 months ago

missoy commented 3 months ago

Are you using the latest version of the library?

What type of session are you experiencing this issue on?

Legacy (Normal)

What type of host account are you experiencing this issue on?

Personal account (normal)

Mode

EASY API/CLI

Current Behavior

What is the problem?

when developer with docker

Authentication timed out. Shutting down. Consider increasing authTimeout config variable: https://open-wa.github.io/wa-automate-nodejs/interfaces/configobject.html#authtimeout node:events:489

微信截图_20240403173215

Expected Behavior

No response

Steps To Reproduce

  1. docker run --name wa_8003 -e PORT=8003 -p 8003:8003 --init openwa/wa-automate -w 'http://wapi.lingxhair.com/api/openwa/webhook'

create() code OR full CLI command + CONFIG

No response

DEBUG INFO

{
"WA_VERSION": "2.3000.1012505996",
"PAGE_UA": "WhatsApp/2.2147.16 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"WA_AUTOMATE_VERSION": "4.68.0",
"BROWSER_VERSION": "HeadlessChrome/114.0.5735.198",
"OS": "Linux 3.10",
"START_TS": 1712135706854,
"RAM_INFO": "Total: 7.92 GB | Free: 2.64 GB",
"PPTR_VERSION": "19.11.1"
}

Environment

- OS: CentOS 7
- Node: 16.20.2
- npm: 8.19.4

Screenshots/Logs

No response

Anything else?

No response

TVARecordings commented 3 months ago

Hello @missoy ,

I'd like to point out you're using a outdated version of NodeJS. You're NodeJS version 16.20.2 is outdated and no longer maintained.

I recommend you to updating to version 20.12.0, which is a Long-Time-Service (LTS) version. Your 16.20.2 version expired around Oct. 2023.

https://nodejs.org/en/download

PS: I'm not a OPEN-WA/WA-AUTOMATE Developer.

missoy commented 3 months ago

Hello @missoy ,

I'd like to point out you're using a outdated version of NodeJS. You're NodeJS version 16.20.2 is outdated and no longer maintained.

I recommend you to updating to version 20.12.0, which is a Long-Time-Service (LTS) version. Your 16.20.2 version expired around Oct. 2023.

https://nodejs.org/en/download

PS: I'm not a OPEN-WA/WA-AUTOMATE Developer.

Thank you for your answer. Have you encountered this bug during use?

nrs1022 commented 3 months ago

Hello @missoy , I'd like to point out you're using a outdated version of NodeJS. You're NodeJS version 16.20.2 is outdated and no longer maintained. I recommend you to updating to version 20.12.0, which is a Long-Time-Service (LTS) version. Your 16.20.2 version expired around Oct. 2023. https://nodejs.org/en/download PS: I'm not a OPEN-WA/WA-AUTOMATE Developer.

Thank you for your answer. Have you encountered this bug during use?

Hi, it seems WA changed QR display, if you use screenshot QR is shown in image.

SenpaiCookies commented 3 months ago

Hello @missoy , I'd like to point out you're using a outdated version of NodeJS. You're NodeJS version 16.20.2 is outdated and no longer maintained. I recommend you to updating to version 20.12.0, which is a Long-Time-Service (LTS) version. Your 16.20.2 version expired around Oct. 2023. https://nodejs.org/en/download PS: I'm not a OPEN-WA/WA-AUTOMATE Developer.

Thank you for your answer. Have you encountered this bug during use?

Hi, it seems WA changed QR display, if you use screenshot QR is shown in image.

I also have the same problem, I can't connect via WhatsApp and the QR display doesn't appear.

smashah commented 2 months ago

Rolling into #3184