Panel · WhatsApp Web Sender

Panel individual para configurar, arrancar, detener y revisar este bot.

Inicio+ Agregar botNotificacionesWhatsAppPanel WhatsApp Group Admin
Estadostopped
Activo en frontendDeshabilitado
PID-
Frecuencia1s

WhatsApp Web Sender

Bot opcional que envía mensajes pendientes usando WhatsApp Web con sesión guardada por QR.

Editar bot
/root/BotsLab/venv/bin/python /root/BotsLab/scripts/whatsapp_web_sender.py

Logs recientes

Auto-actualiza cada 3 segundos
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v24.13.0


===== START 2026-10-20 07:00:29 =====
2026-10-20 07:00:29 ===== START 2026-10-20 07:00:29 =====
2026-10-20 07:00:29 WhatsApp Web Sender iniciado. Destino=Notify Cola=/root/BotsLab/data/whatsapp_web_queue.jsonl headless=True poll=1s session=/root/BotsLab/data/wa_session
2026-10-20 07:00:31 WhatsApp Web abierto. headless=True. Verificando sesión...
2026-10-20 07:00:41 Escanea el QR desde /BotsLab/whatsapp/qr. Archivo: /root/BotsLab/data/wa_qr.png
node:events:486
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19)
Emitted 'error' event on Socket instance at:
    at emitErrorNT (node:internal/streams/destroy:170:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v24.13.0


===== START 2026-10-21 06:35:43 =====
2026-10-21 06:35:43 ===== START 2026-10-21 06:35:43 =====
2026-10-21 06:35:43 WhatsApp Web Sender iniciado. Destino=Notify Cola=/root/BotsLab/data/whatsapp_web_queue.jsonl headless=True poll=1s session=/root/BotsLab/data/wa_session
2026-10-21 06:37:15 FATAL: Page.goto: Timeout 90000ms exceeded.
Call log:
  - navigating to "https://web.whatsapp.com/", waiting until "domcontentloaded"

Traceback (most recent call last):
  File "/root/BotsLab/scripts/whatsapp_web_sender.py", line 479, in main
    ensure_logged_in(page)
  File "/root/BotsLab/scripts/whatsapp_web_sender.py", line 122, in ensure_logged_in
    page.goto('https://web.whatsapp.com/', wait_until='domcontentloaded', timeout=90000)
  File "/root/BotsLab/venv/lib/python3.12/site-packages/playwright/sync_api/_generated.py", line 9054, in goto
    self._sync(
  File "/root/BotsLab/venv/lib/python3.12/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync
    return task.result()
           ^^^^^^^^^^^^^
  File "/root/BotsLab/venv/lib/python3.12/site-packages/playwright/_impl/_page.py", line 552, in goto
    return await self._main_frame.goto(**locals_to_params(locals()))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/BotsLab/venv/lib/python3.12/site-packages/playwright/_impl/_frame.py", line 153, in goto
    await self._channel.send(
  File "/root/BotsLab/venv/lib/python3.12/site-packages/playwright/_impl/_connection.py", line 69, in send
    return await self._connection.wrap_api_call(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/BotsLab/venv/lib/python3.12/site-packages/playwright/_impl/_connection.py", line 559, in wrap_api_call
    raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
playwright._impl._errors.TimeoutError: Page.goto: Timeout 90000ms exceeded.
Call log:
  - navigating to "https://web.whatsapp.com/", waiting until "domcontentloaded"



===== START 2026-10-23 06:54:40 =====
2026-10-23 06:54:41 ===== START 2026-10-23 06:54:41 =====
2026-10-23 06:54:41 WhatsApp Web Sender iniciado. Destino=Notify Cola=/root/BotsLab/data/whatsapp_web_queue.jsonl headless=True poll=1s session=/root/BotsLab/data/wa_session
2026-10-23 06:54:45 WhatsApp Web abierto. headless=True. Verificando sesión...
node:events:486
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:159:15)
    at writeGeneric (node:internal/stream_base_commons:150:3)
    at Socket._writeGeneric (node:net:966:11)
    at Socket._write (node:net:978:8)
    at writeOrBuffer (node:internal/streams/writable:570:12)
    at _write (node:internal/streams/writable:499:10)
    at Writable.write (node:internal/streams/writable:508:10)
    at PipeTransport.send (/root/BotsLab/venv/lib/python3.12/site-packages/playwright/driver/package/lib/server/utils/pipeTransport.js:52:21)
    at dispatcherConnection.onmessage (/root/BotsLab/venv/lib/python3.12/site-packages/playwright/driver/package/lib/cli/driver.js:60:59)
    at DispatcherConnection.sendEvent (/root/BotsLab/venv/lib/python3.12/site-packages/playwright/driver/package/lib/server/dispatchers/dispatcher.js:176:10)
Emitted 'error' event on Socket instance at:
    at emitErrorNT (node:internal/streams/destroy:170:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at processTicksAndRejections (node:internal/process/task_queues:89:21)
    at runNextTicks (node:internal/process/task_queues:68:3)
    at process.processImmediate (node:internal/timers:472:9) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v24.13.0


===== START 2026-10-23 06:54:49 =====
2026-10-23 06:54:49 ===== START 2026-10-23 06:54:49 =====
2026-10-23 06:54:49 WhatsApp Web Sender iniciado. Destino=Notify Cola=/root/BotsLab/data/whatsapp_web_queue.jsonl headless=True poll=1s session=/root/BotsLab/data/wa_session
2026-10-23 06:54:51 WhatsApp Web abierto. headless=True. Verificando sesión...
2026-10-23 06:55:01 Escanea el QR desde /BotsLab/whatsapp/qr. Archivo: /root/BotsLab/data/wa_qr.png
node:events:486
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19)
Emitted 'error' event on Socket instance at:
    at emitErrorNT (node:internal/streams/destroy:170:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v24.13.0
BotsLab v1.062