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.06k stars 590 forks source link

Hanging on launch #2929

Closed caseygierke closed 1 year ago

caseygierke commented 1 year 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

When I run "npx @open-wa/wa-automate --socket -p 5000" it hangs saying "√ Authenticated � 100%:ng for Loading your". Last week it would get beyond this and give the expected output about listening but now it is just hanging here again.

Expected Behavior

Give the expected output about listening

Steps To Reproduce

  1. Python VE
  2. I'm not sure about how to say what config
  3. Run "npx @open-wa/wa-automate --socket -p 5000"
  4. No error, just does not progress past "100%:ng for Loading your"

create() code OR full CLI command + CONFIG

npx @open-wa/wa-automate --socket -p 5000

DEBUG INFO

{
  "WA_VERSION": "2.2240.7",
  "WA_AUTOMATE_VERSION": "4.47.6",
  "BROWSER_VERSION": "HeadlessChrome/103.0.5058.0",
  "START_TS": 1666634080141,
  "RAM_INFO": "Total: 12.70 GB | Free: 2.51 GB",
  "PPTR_VERSION": "15.0.0",
  "LATEST_VERSION": true,
  "CLI": true
}

Environment

- OS: Windows 10
- Node: 14.15.0
- npm: 6.14.8

Screenshots/Logs

No response

Anything else?

It was downloading all the files each time I ran until I ran this command first. "npm i --save @open-wa/wa-automate@latest" After that, I got the expected behavior.

Thanks

smashah commented 1 year ago

hi please try with this on your local machine:

> npx @open-wa/wa-automate --socket -p 5000 --headful -v

and share the resulting logs and screenshots thanks

caseygierke commented 1 year ago

Thank you for your reply. Today I tried the command I have been running, "npx @open-wa/wa-automate --socket -p 5000" and I am getting this error message.

√ Launch inject: 346ms
× Authentication timed out. Shutting down. Consider increasing authTimeout
config variable:
https://open-wa.github.io/wa-automate-nodejs/interfaces/configobject.html#authtimeout
Error while terminating browser PID. You can just ignore this, as the
process has most likely been terminated successfully already: kill ESRCH
Error: App Offline
    at C:\Desktop\Drawer\Tutorials\Udemy\WhatsApp Automation- Become a
WhatsApp
***@***.***\wa-automate\dist\controllers\initializer.js:276:23
    at Generator.next (<anonymous>)
    at fulfilled (C:\Desktop\Drawer\Tutorials\Udemy\WhatsApp Automation-
Become a WhatsApp
***@***.***\wa-automate\dist\controllers\initializer.js:24:58)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
Error while terminating browser PID. You can just ignore this, as the
process has most likely been terminated successfully already: kill ESRCH
× Error App Offline Error: App Offline

When I had the hanging issue the other day, I simply deleted the files that
it creates, ran it again and it worked from there. Here is what I get when
I run the command that you just gave me from here.

npx @open-wa/wa-automate --socket -p 5000 --headful -v
info: Set up logging for console  {"timestamp":"2022-10-26T17:10:19.209Z"}
info: Config undefined is directory: false
{"timestamp":"2022-10-26T17:10:19.216Z"}
info: Checking exists: cli.config.json
{"timestamp":"2022-10-26T17:10:19.218Z"}
info: Checking exists: cli.config.json
{"timestamp":"2022-10-26T17:10:19.221Z"}
info: Checking exists: cli.config.js
{"timestamp":"2022-10-26T17:10:19.222Z"}
info: Using config file: ??? {"timestamp":"2022-10-26T17:10:19.222Z"}
- Launching EASY API
info: Launching EASY API  {"data":"Launching EASY
API","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:19.227Z"}
- removing popup flag
info: removing popup flag  {"data":"removing popup
flag","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:19.289Z"}
- Generating Swagger Spec
info: Generating Swagger Spec  {"data":"Generating Swagger
Spec","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:19.295Z"}
- Postman collection generated: open-wa-session.postman_collection.json
info: Postman collection generated: open-wa-session.postman_collection.json
 {"data":"Postman collection generated:
open-wa-session.postman_collection.json","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:19.886Z"}
- API collections (swagger + postman) generated successfully
info: API collections (swagger + postman) generated successfully
 {"data":"API collections (swagger + postman) generated
successfully","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:20.041Z"}
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃
                        ┃
┃   @open-wa/wa-automate
                         ┃
┃    � � The most reliable NodeJS whatsapp library for chatbots with
advanced features.           ┃
┃   Version: 4.47.6
                        ┃
┃   Check out the latest changes:
https://github.com/open-wa/wa-automate-nodejs#latest-changes      ┃
┃
                        ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
info: RAM INFO Total: 12.70 GB | Free: 1.86 GB
{"timestamp":"2022-10-26T17:10:20.392Z"}
info: PPTR VERSION INFO 15.0.0 {"timestamp":"2022-10-26T17:10:20.393Z"}
- Starting
info: Starting
 {"data":"Starting","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:20.394Z"}
- Version: 4.47.6
info: Version: 4.47.6  {"data":"Version:
4.47.6","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:20.396Z"}
- Initializing WA
info: Initializing WA  {"data":"Initializing
WA","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:20.397Z"}
- It is recommended to set useChrome: true or use the --use-chrome flag if
you are experiencing issues with Multi device support
info: It is recommended to set useChrome: true or use the --use-chrome flag
if you are experiencing issues with Multi device support  {"data":"It is
recommended to set useChrome: true or use the --use-chrome flag if you are
experiencing issues with Multi device
support","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:20.398Z"}
info: SCRIPT READY: jsSha.min.js 8982
{"timestamp":"2022-10-26T17:10:20.405Z"}
info: SCRIPT READY: qr.min.js 18603 {"timestamp":"2022-10-26T17:10:20.406Z"}
info: SCRIPT READY: launch.js 65074 {"timestamp":"2022-10-26T17:10:20.407Z"}
info: SCRIPT READY: hash.js 34983 {"timestamp":"2022-10-26T17:10:20.408Z"}
info: SCRIPT READY: wapi.js 79911 {"timestamp":"2022-10-26T17:10:20.409Z"}
info: SCRIPT READY: base64.js 4173 {"timestamp":"2022-10-26T17:10:20.409Z"}
- Launching Browser
info: Launching Browser  {"data":"Launching
Browser","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:20.410Z"}
- MD Enabled, turning off incognito mode.
info: MD Enabled, turning off incognito mode.  {"data":"MD Enabled, turning
off incognito
mode.","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:20.412Z"}
- Data dir: ./_IGNORE_session
info: Data dir: ./_IGNORE_session  {"data":"Data dir:
./_IGNORE_session","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:20.412Z"}
- Browser launched: 2457ms
info: Browser launched: 2457ms  {"data":"Browser launched:
2457ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:22.869Z"}
- Setting Up Page
info: Setting Up Page  {"data":"Setting Up
Page","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:22.901Z"}
- Loading session data
info: Loading session data  {"data":"Loading session
data","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:22.906Z"}
- Found session data file: C:\Desktop\Drawer\Tutorials\Udemy\WhatsApp
Automation- Become a WhatsApp Genius\session.data.json
info: Found session data file: C:\Desktop\Drawer\Tutorials\Udemy\WhatsApp
Automation- Become a WhatsApp Genius\session.data.json  {"data":"Found
session data file: C:\\Desktop\\Drawer\\Tutorials\\Udemy\\WhatsApp
Automation- Become a WhatsApp
Genius\\session.data.json","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:22.963Z"}
- No session data detected. Opting in for MD.
info: No session data detected. Opting in for MD.  {"data":"No session data
detected. Opting in for
MD.","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:23.046Z"}
- Make sure to keep the session alive for at least 5 minutes after scanning
the QR code before trying to restart a session!!
info: Make sure to keep the session alive for at least 5 minutes after
scanning the QR code before trying to restart a session!!  {"data":"Make
sure to keep the session alive for at least 5 minutes after scanning the QR
code before trying to restart a
session!!","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:23.054Z"}
- Pre page launch setup complete: 156ms
info: Pre page launch setup complete: 156ms  {"data":"Pre page launch setup
complete:
156ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:23.057Z"}
- Navigating to WA
info: Navigating to WA  {"data":"Navigating to
WA","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:23.063Z"}
info: saving valid page to dumb cache
{"timestamp":"2022-10-26T17:10:23.396Z"}
info: FRAME NAV, https://web.whatsapp.com/, false
{"timestamp":"2022-10-26T17:10:23.401Z"}
- Page loaded in 7138ms: 200
info: Page loaded in 7138ms: 200  {"data":"Page loaded in 7138ms:
200","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:30.358Z"}
- Page loaded
info: Page loaded  {"data":"Page
loaded","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:30.359Z"}
- Debug info: {
  "WA_VERSION": "2.2240.7",
  "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.47.6",
  "BROWSER_VERSION": "Chrome/103.0.5058.0",
  "OS": "Windows 10",
  "START_TS": 1666804230986,
  "RAM_INFO": "Total: 12.70 GB | Free: 1.86 GB",
  "PPTR_VERSION": "15.0.0"
}
info: Debug info: {
  "WA_VERSION": "2.2240.7",
  "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",
  "W...[TRUNCATED]... {"data":"Debug info: {\n  \"WA_VERSION\":
\"2.2240.7\",\n  \"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\",\n
 \"W...[TRUNCATED]...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:31.060Z"}
- Use this easy pre-filled link to report an issue:
https://github.com/open-wa/wa-automate-nodejs/issues/new?template=bug_report.yaml&d_info=%7B%0A%20%20%22WA_VERSION%22:%20%222.2240.7%22,%0A%20%20%22WA_AUTOMATE_VERSION%22:%20%224.47.6%22,%0A%20%20%22BROWSER_VERSION%22:%20%22Chrome/103.0.5058.0%22,%0A%20%20%22START_TS%22:%201666804230986,%0A%20%20%22RAM_INFO%22:%20%22Total:%2012.70%20GB%20%7C%20Free:%201.86%20GB%22,%0A%20%20%22PPTR_VERSION%22:%20%2215.0.0%22,%0A%20%20%22LATEST_VERSION%22:%20true,%0A%20%20%22CLI%22:%20true%0A%7D&enviro=-%20OS:%20Windows%2010%0A-%20Node:%2014.15.0%0A-%20npm:%206.14.8&labels=CLI,MD
info: Use this easy pre-filled link to report an issue:
https://github.com/open-wa/wa-automate-nodejs/issues/new?template=bug_report.yaml&d_info=%7B%0A%20%20%22WA_VERSION%22:%20%222.2240.7%22,%0A%20%20%22W...[TRUNCATED]...
{"data":"Use this easy pre-filled link to report an issue:
https://github.com/open-wa/wa-automate-nodejs/issues/new?template=bug_report.yaml&d_info=%7B%0A%20%20%22WA_VERSION%22:%20%222.2240.7%22,%0A%20%20%22W...[TRUNCATED]..
.","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:32.242Z"}
- Time to injection: 1883ms
info: Time to injection: 1883ms  {"data":"Time to injection:
1883ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:32.243Z"}
- Injecting api
info: Injecting api  {"data":"Injecting
api","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:32.244Z"}
- Injecting scripts
info: Injecting scripts  {"data":"Injecting
scripts","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:32.246Z"}
info: GET SCRIPT: jsSha.min.js 8982 {"timestamp":"2022-10-26T17:10:32.248Z"}
info: GET SCRIPT: qr.min.js 18603 {"timestamp":"2022-10-26T17:10:32.249Z"}
info: GET SCRIPT: base64.js 4173 {"timestamp":"2022-10-26T17:10:32.249Z"}
info: GET SCRIPT: hash.js 34983 {"timestamp":"2022-10-26T17:10:32.249Z"}
- Base inject: 9ms
info: Base inject: 9ms  {"data":"Base inject:
9ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:32.258Z"}
info: WAPI CHECK: false {"timestamp":"2022-10-26T17:10:32.266Z"}
info: GET SCRIPT: wapi.js 79911 {"timestamp":"2022-10-26T17:10:32.267Z"}
- WAPI inject: 288ms
info: WAPI inject: 288ms  {"data":"WAPI inject:
288ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:32.556Z"}
- Checking session integrity
info: Checking session integrity  {"data":"Checking session
integrity","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:32.557Z"}
- Session integrity check passed
info: Session integrity check passed  {"data":"Session integrity check
passed","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:32.565Z"}
info: GET SCRIPT: launch.js 65074 {"timestamp":"2022-10-26T17:10:32.566Z"}
- Launch inject: 344ms
info: Launch inject: 344ms  {"data":"Launch inject:
344ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:32.911Z"}
- WAPI injected
info: WAPI injected  {"data":"WAPI
injected","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:32.913Z"}
- Authenticating
info: Authenticating
 {"data":"Authenticating","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:10:32.914Z"}
info: reviving page from dumb cache {"timestamp":"2022-10-26T17:11:09.753Z"}
info: FRAME NAV, https://web.whatsapp.com/, false
{"timestamp":"2022-10-26T17:11:09.801Z"}
info: authTimeout
 {"data":"authTimeout","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:12:52.957Z"}
- Authentication timed out. Shutting down. Consider increasing authTimeout
config variable:
https://open-wa.github.io/wa-automate-nodejs/interfaces/configobject.html#authtimeout
info: Authentication timed out. Shutting down. Consider increasing
authTimeout config variable:
https://open-wa.github.io/wa-automate-nodejs/interfaces/configobject.html#authtimeout
 {"data":"Authentication timed out. Shutting down. Consider increasing
authTimeout config variable:
https://open-wa.github.io/wa-automate-nodejs/interfaces/configobject.html#authtimeout
","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:12:53.074Z"}
Error while terminating browser PID. You can just ignore this, as the
process has most likely been terminated successfully already: kill ESRCH
info: App Offline  {"data":"App
Offline","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:12:55.248Z"}
error: App Offline {"timestamp":"2022-10-26T17:12:55.249Z"}
error: Error: App Offline
    at C:\Desktop\Drawer\Tutorials\Udemy\WhatsApp Automation- Become a
WhatsApp
***@***.***\wa-automate\dist\controllers\initializer.js:276:23
    at Generator.nex...[TRUNCATED]...
{"timestamp":"2022-10-26T17:12:55.250Z"}
Error: App Offline
    at C:\Desktop\Drawer\Tutorials\Udemy\WhatsApp Automation- Become a
WhatsApp
***@***.***\wa-automate\dist\controllers\initializer.js:276:23
    at Generator.next (<anonymous>)
    at fulfilled (C:\Desktop\Drawer\Tutorials\Udemy\WhatsApp Automation-
Become a WhatsApp
***@***.***\wa-automate\dist\controllers\initializer.js:24:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
Error while terminating browser PID. You can just ignore this, as the
process has most likely been terminated successfully already: kill ESRCH
- session_STARTUP
info:
{"data":"","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:12:55.587Z"}
- Error App Offline Error: App Offline
info: Error App Offline Error: App Offline  {"data":"Error App Offline
Error: App
Offline","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2022-10-26T17:12:55.588Z"}

This attempted to open a Chromium browser to login/authenticate to Whatsapp but it never presented a QR code so it didn't work. I then deleted the files created by the processing (I was running with an admin command prompt so not all the files were deleted), ran it again, and had the same result, a browser session that would not load the QR code. I also tried the other command, "npx @open-wa/wa-automate --socket -p 5000" and got the same error that I reported at the beginning of this email

Casey

On Tue, Oct 25, 2022 at 7:59 AM Mohammed Shah @.***> wrote:

hi please try with this on your local machine:

npx @open-wa/wa-automate --socket -p 5000 --headful -v

and share the resulting logs and screenshots thanks

— Reply to this email directly, view it on GitHub https://github.com/open-wa/wa-automate-nodejs/issues/2929#issuecomment-1290607840, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFQKBCMKF2DQA6YZJ6JX7STWE7RUZANCNFSM6AAAAAARNHBTBY . You are receiving this because you authored the thread.Message ID: @.***>

-- Casey Gierke MS Hydrology (505) 490-1893

smashah commented 1 year ago

@caseygierke Not quite sure what's going on with your instance.

My hunch would be that there is something up with the windows setup that may be causing this? Try on a ubuntu server or a mac if you can.

My other guess would be that for some reason your session is corrupted? In which case I suggest you to try with a new session id which should give you a fresh qr code to scan. Please remember to keep the session running for several minutes after scanning the first time to make sure it will successfully relaunch on subsequent process restarts.

> npx @open-wa/wa-automate --socket -p 5000 --headful -v --session-id fresh_session

If that doesn't solve it then please contact me on discord. Please click on the discord badge in the readme to get an invite to the discord so we can discuss further.

Also, out of curiosity, is open-wa used in this automation course on udemy?

caseygierke commented 1 year ago

Good call on the ubuntu. I have a wsl I can try it on. I would think that my session being corrupted should be resolved by deleting the files. I was able to do that and tried again and was getting the original error where it would hang on loading you messages. I just ran that command you sent and I'll paste the output below. Yes, the open-wa was used in the course on udemy.

npx @open-wa/wa-automate --socket -p 5000 --headful -v --session-id fresh_session info: Set up logging for console {"timestamp":"2022-10-27T06:16:36.405Z"} info: Config undefined is directory: false {"timestamp":"2022-10-27T06:16:36.446Z"} info: Checking exists: cli.config.json {"timestamp":"2022-10-27T06:16:36.450Z"} info: Checking exists: cli.config.json {"timestamp":"2022-10-27T06:16:36.456Z"} info: Checking exists: cli.config.js {"timestamp":"2022-10-27T06:16:36.457Z"} info: Using config file: ??? {"timestamp":"2022-10-27T06:16:36.459Z"}

On Wed, Oct 26, 2022 at 7:34 PM Mohammed Shah @.***> wrote:

@caseygierke https://github.com/caseygierke Not quite sure what's going on with your instance.

My hunch would be that there is something up with the windows setup that may be causing this? Try on a ubuntu server or a mac if you can.

My other guess would be that for some reason your session is corrupted? In which case I suggest you to try with a new session id which should give you a fresh qr code to scan. Please remember to keep the session running for several minutes after scanning the first time to make sure it will successfully relaunch on subsequent process restarts.

npx @open-wa/wa-automate --socket -p 5000 --headful -v --session-id fresh_session

If that doesn't solve it then please contact me on discord. Please click on the discord badge in the readme to get an invite to the discord so we can discuss further.

Also, out of curiosity, is open-wa used in this automation course on udemy?

— Reply to this email directly, view it on GitHub https://github.com/open-wa/wa-automate-nodejs/issues/2929#issuecomment-1292851635, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFQKBCI6JRHBNANY6ARZZNLWFHLYTANCNFSM6AAAAAARNHBTBY . You are receiving this because you were mentioned.Message ID: @.***>

-- Casey Gierke MS Hydrology (505) 490-1893

smashah commented 1 year ago

Hi Casey, from the logs it looks like you're using an old version of chrome

error: TimeoutError: Timed out after 30000 ms while trying to connect to
the browser! Only Chrome at revision r1002410 is guaranteed to work.

Few ways to fix:

  1. Delete node_modules thennpm i --save puppeteer @open-wa/wa-automate, then run the npx command again.
  2. Install a recent version of chrome in the environment and use the --use-chrome flag with the npx command.

Can you please tell Jay Kumar to email me at shah@openwa.dev - I want to make sure that there are no blind spots in the tutorials.

Also, again, this can be resolved a bit quicker over chat on discord - click the discord badge in the readme for an invite.

caseygierke commented 1 year ago

It looks like this worked! Thanks so much for your support. I emailed the instructor about contacting you.

On Thu, Oct 27, 2022 at 6:25 AM Mohammed Shah @.***> wrote:

Hi Casey, from the logs it looks like you're using an old version of chrome

error: TimeoutError: Timed out after 30000 ms while trying to connect tothe browser! Only Chrome at revision r1002410 is guaranteed to work.

Few ways to fix:

  1. Delete node_modules thennpm i --save puppeteer @open-wa/wa-automate, then run the npx command again.
  2. Install a recent version of chrome in the environment and use the --use-chrome flag with the npx command.

Can you please tell Jay Kumar to email me at @.*** - I want to make sure that there are no blind spots in the tutorials.

Also, again, this can be resolved a bit quicker over chat on discord - click the discord badge in the readme for an invite.

— Reply to this email directly, view it on GitHub https://github.com/open-wa/wa-automate-nodejs/issues/2929#issuecomment-1293448999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFQKBCOTT2O6BTIPSWMJMA3WFJYDJANCNFSM6AAAAAARNHBTBY . You are receiving this because you were mentioned.Message ID: @.***>

-- Casey Gierke MS Hydrology (505) 490-1893