waha icon indicating copy to clipboard operation
waha copied to clipboard

[WEBJS] - Timed out connecting to server

Open mvxine opened this issue 8 months ago • 2 comments

Describe the bug

I am running a self-hosted WAHA instance (2026.2.2, WEBJS) integrated with Chatwoot and n8n.

The integration works only partially: outbound bot messages are created successfully in Chatwoot, but delivery through WAHA is inconsistent. Some messages are sent successfully, while others fail.

When the failure happens, Chatwoot reports:

Timed out connecting to server

This does not look like a complete disconnection, because message delivery sometimes works normally. The issue seems intermittent.

Version

{
  "version": "2026.2.2",
  "engine": "WEBJS",
  "tier": "self-hosted"
}

Steps

To Reproduce Steps to reproduce the behavior:

  1. Connect Chatwoot to WAHA in a self-hosted environment
  2. Use n8n to trigger a bot flow that sends an outbound message
  3. Confirm that Chatwoot creates the message
  4. Observe delivery result
  5. In some cases, the message is sent successfully
  6. In other cases, Chatwoot returns: Timed out connecting to server

Expected behavior

Every outbound message created in Chatwoot should be delivered reliably via WAHA.

Requests - Responses

Observed behavior:

  • Chatwoot connection is configured and active
  • n8n flow is running
  • Chatwoot creates the outbound message record correctly
  • WAHA sometimes delivers the message and sometimes does not
  • On failure, Chatwoot shows: Timed out connecting to server

I can provide request/response samples and logs if required.

Docker Logs

Not attached yet, but available if needed.

Screenshots

Not attached yet, but available if needed.

Additional context

  • Self-hosted deployment
  • Engine: WEBJS
  • Version: 2026.2.2
  • The problem is intermittent
  • Since successful deliveries still happen, the issue may be related to timeouts, unstable session state, worker behavior, or temporary WAHA unavailability during send operations

mvxine avatar Mar 13 '26 04:03 mvxine

Hi! Try different engine https://waha.devlike.pro/docs/how-to/engines/

patron:PRO

devlikepro avatar Mar 16 '26 03:03 devlikepro

Hi! Try different engine https://waha.devlike.pro/docs/how-to/engines/

patron:PRO

Didn't work.

mvxine avatar Apr 26 '26 22:04 mvxine