Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluation failed: TypeError: WAPI.healthCheck is not a function #48

Open
wira-works opened this issue Jun 23, 2022 · 1 comment
Open

Comments

@wira-works
Copy link

after some periode, need to scan qr code again. this the error logs :

  • Injecting scripts
  • Base inject: 397ms
  • Launch inject: 1890ms
  • Injecting scripts
  • Base inject: 1438ms
  • Launch inject: 1300ms
  • Injecting scripts
  • Base inject: 68ms
  • Injecting scripts
  • Launch inject: 3796ms
  • Base inject: 2910ms
  • Injecting scripts
  • Base inject: 1818ms
  • Injecting scripts
  • Base inject: 492ms
  • WAPI inject: 3208ms
  • Checking session integrity
  • Session integrity check failed, trying again... 3
  • WAPI inject: 3511ms
  • Checking session integrity
  • Session integrity check passed
  • Launch inject: 4096ms
  • Launch inject: 8628ms
    middleware -> error Error: Evaluation failed: TypeError: WAPI.healthCheck is not a function
    at pptr://puppeteer_evaluation_script:1:13
    at ExecutionContext._ExecutionContext_evaluate (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:286:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ExecutionContext.evaluate (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:117:16)
@ahmeaqas
Copy link

ahmeaqas commented Jul 16, 2022

Whatsapp page is crashed, hence Puppeteer is poping up the error.

If you are running it on Raspberry Pi then use -- ras-pi and --useChrome flags in your docker run command

Restart the docker container and scan the qr once again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants