waha icon indicating copy to clipboard operation
waha copied to clipboard

[NOWEB|GOWS] - Frequent disconnections and "failed" status in recent versions

Open iatila opened this issue 1 year ago • 6 comments

Describe the bug

In the last week, I’ve been experiencing frequent connection drops in the latest releases. Even though the WhatsApp app shows the session as connected, on the WAHA side (both GOWS and NOWEB engines), the session randomly switches to “failed” state.

Additionally, I often see the following message:

“Unable to connect to WhatsApp, please try again.”

This happens by itself — sessions that used to stay stable now disconnect automatically.

Furthermore, many users are having trouble connecting their accounts. They often need to try 4–5 times before the QR code or session connection succeeds. This issue only started appearing in the recent builds.

Version

Get the WAHA version by calling GET /api/version

  "version": "2025.11.1",
  "engine": "NOWEB",
  "tier": "PLUS",
  "browser": null
}

Try to update to the latest version before creating an issue!

Steps

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Requests - Responses

Please attach all sent requests, responses that you sent.

Docker Logs

[
  {
    "time": "15:00:13.628",
    "level": "INFO",
    "component": "generic",
    "message": "request completed",
    "meta": {
      "reqId": 5000,
      "req": {
        "id": 5000,
        "method": "GET",
        "url": "/api/contacts/profile-picture?&session=sess_6281337686335&contactId=6281337686335%40c.us",
        "query": {
          "session": "sess_6281337686335",
          "contactId": "[email protected]"
        },
        "params": {
          "path": ["api", "contacts", "profile-picture"]
        }
      },
      "res": {
        "statusCode": 304
      },
      "responseTime": 2
    }
  },
  {
    "time": "15:00:26.877",
    "level": "INFO",
    "component": "WebhookSender",
    "session": "sess_6281337686335",
    "message": "Sending POST...",
    "meta": {
      "reqId": 960,
      "session": "sess_6281337686335",
      "id": "01K9MJ3ZKXDRCX33V290EHEKHT",
      "event.id": "evt_01k9mj3zkxq0bmvq06cebf43a7",
      "url": "https://example.com/webhook"
    }
  },
  {
    "time": "15:00:26.887",
    "level": "INFO",
    "component": "WebhookSender",
    "session": "sess_6281337686335",
    "message": "POST request was sent with status code: 200",
    "meta": {
      "reqId": 960,
      "session": "sess_6281337686335",
      "id": "01K9MJ3ZKXDRCX33V290EHEKHT",
      "event.id": "evt_01k9mj3zkxq0bmvq06cebf43a7",
      "url": "https://example.com/webhook",
      "status": 200
    }
  },
  {
    "time": "15:00:27.906",
    "level": "INFO",
    "component": "WebhookSender",
    "session": "sess_6281337686335",
    "message": "Sending POST...",
    "meta": {
      "reqId": 960,
      "session": "sess_6281337686335",
      "id": "01K9MJ40M2N072QGAMS2BHRS0P",
      "event.id": "evt_01k9mj40m1jtnx8tgyfa54qn1q",
      "url": "https://example.com/webhook"
    }
  },
  {
    "time": "15:00:27.911",
    "level": "INFO",
    "component": "WebhookSender",
    "session": "sess_6281337686335",
    "message": "POST request was sent with status code: 200",
    "meta": {
      "reqId": 960,
      "session": "sess_6281337686335",
      "id": "01K9MJ40M2N072QGAMS2BHRS0P",
      "event.id": "evt_01k9mj40m1jtnx8tgyfa54qn1q",
      "url": "https://example.com/webhook",
      "status": 200
    }
  },
  {
    "time": "15:00:28.368",
    "level": "ERROR",
    "component": "NOWEBEngine",
    "session": "sess_6281337686335",
    "message": "stream errored out",
    "meta": {
      "reqId": 960,
      "session": "sess_6281337686335",
      "node": {
        "tag": "stream:error",
        "attrs": {
          "code": "401"
        },
        "content": [
          {
            "tag": "conflict",
            "attrs": {
              "type": "device_removed"
            }
          }
        ]
      }
    }
  },
  {
    "time": "15:00:28.368",
    "level": "INFO",
    "component": "NOWEBEngine",
    "session": "sess_6281337686335",
    "message": "connection errored",
    "meta": {
      "reqId": 960,
      "session": "sess_6281337686335",
      "trace": "Error: Stream Errored (conflict)\n    at WebSocketClient.<anonymous> (file:///app/node_modules/@adiwajshing/baileys/lib/Socket/socket.js:744:13)\n    at WebSocketClient.emit (node:events:518:28)\n    at file:///app/node_modules/@adiwajshing/baileys/lib/Socket/socket.js:433:35\n    at Object.decodeFrame (file:///app/node_modules/@adiwajshing/baileys/lib/Utils/noise-handler.js:141:17)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"
    }
  },
  {
    "time": "15:00:28.369",
    "level": "ERROR",
    "component": "WhatsappSession",
    "session": "sess_6281337686335",
    "message": "Connection closed due to conflict, do not reconnect the session.",
    "meta": {
      "reqId": 960,
      "session": "sess_6281337686335",
      "reason": "Error: Stream Errored (conflict)"
    }
  }
]

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

patron:PLUS

iatila avatar Nov 09 '25 15:11 iatila

device_removed

That's weird.

Try to update the app on the phone to the latest WhatsApp

patron:PRO

devlikepro avatar Nov 10 '25 06:11 devlikepro

we have the same issue and the whatsapp app is updated to the latest version

.

other users report the same issue

sdelbuono-sys avatar Nov 11 '25 07:11 sdelbuono-sys

I have the same issue. (Using GOWS) It works fine when I connect using an iPhone 14 with latest WhatsApp, But issues happen when I try connect using an Android phone with latest Whatsapp update on (Samsung Note 10 with Android version 9). Waha dashboard shows that it's connected but the mobile keeps showing "Logging in" for a few minutes and then it disconnects showing "Couldn't log in. Check your phone's Internet connection...."

mahmouds12 avatar Nov 12 '25 08:11 mahmouds12

I am using GOWS version 2025.9.2 PLUS. In the past few days I am unable to connect/login new sessions. It appears as working and after a approximately a minute it fails. I've tried using Geonode proxy but it didn't solve the problem. After reviewing documentation and discussing a community member I've discovered this problem relates to Android. It works smoothly with iPhone as mentioned by mahmouds12.

Looking forward for a solution

patron:PLUS

doronca avatar Nov 14 '25 07:11 doronca

I am using GOWS version 2025.9.2 PLUS. In the past few days I am unable to connect/login new sessions. It appears as working and after a approximately a minute it fails. I've tried using Geonode proxy but it didn't solve the problem. After reviewing documentation and discussing a community member I've discovered this problem relates to Android. It works smoothly with iPhone as mentioned by mahmouds12.

Looking forward for a solution

patron:PLUS

After upgrading to latest release 11.2 problem is solved

patron:PLUS

doronca avatar Nov 16 '25 11:11 doronca

I have the same issue. (Using GOWS) It works fine when I connect using an iPhone 14 with latest WhatsApp, But issues happen when I try connect using an Android phone with latest Whatsapp update on (Samsung Note 10 with Android version 9). Waha dashboard shows that it's connected but the mobile keeps showing "Logging in" for a few minutes and then it disconnects showing "Couldn't log in. Check your phone's Internet connection...."

Worked after updating to GOWS (2025.11.2 PLUS)

patron:PLUS

mahmouds12 avatar Nov 19 '25 13:11 mahmouds12