open-wa / wa-automate-docker

💬 🤖 The easiest way to turn your WhatsApp into an API. Be sure to 🌟 this repository for updates!
106 stars 31 forks source link

--multi-device The session is invalid. Retrying - Error #38

Closed fire17 closed 2 years ago

fire17 commented 2 years ago
- Base inject: 10ms
- Launch inject: 219ms
- WAPI Reinjected
- Checking if session is valid
- Launch inject: 372ms
- The session is invalid. Retrying
node:events:505
      throw er; // Unhandled 'error' event
      ^

Error: spawn ps ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
    at onErrorNT (node:internal/child_process:476:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn ps',
  path: 'ps',
  spawnargs: [ '-A', '-o', 'ppid,pid,stat,comm' ]
}

Node.js v17.8.0

I'm having this issue when running --multi-device

smashah commented 2 years ago

not sure what's happening here,. the invalid session results in the browser process restarting. maybe that's the issue?

What is your exact docker command?

smashah commented 2 years ago

If this is still happening let me know. closing

fire17 commented 2 years ago

This is still happening running: docker run -p 8080:8080 openwa/wa-automate same thing with --multi-device, init, and --license-key always same error

its been a while, im re-entering this project, please advise :pray:

image

smashah commented 2 years ago

This is still happening running: docker run -p 8080:8080 openwa/wa-automate same thing with --multi-device, init, and --license-key always same error

its been a while, im re-entering this project, please advise 🙏

image

show the whole logs please