devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
820 stars 249 forks source link

[BUG][NOWEB] - Issue when using the proxy #290

Closed suhasrekhu closed 2 months ago

suhasrekhu commented 3 months ago

Describe the bug

I am using the NOWEB engine. Issue is connecting with proxy. Its getting logged out , after QR scan or Pairing code Authenication. If I start session without proxy server, its working without any issue. But I require proxy server to be used with NOWEB engine.

Version

{
  "version": "2024.4.1",
  "engine": "NOWEB",
  "tier": "PLUS",
  "browser": "/usr/bin/chromium"
}

session status is shown below, after the QR logout

{
    "name": "XXXX",
    "status": "FAILED",
    "config": {
      "proxy": {
        "server": "http://XXXXXX",
        "username": "XXXXXX",
        "password": "XXXXXX"
      },
      "webhooks": [
        {
          "url": "https://httpbin.org/post",
          "events": [
            "message",
            "session.status"
          ],
          "hmac": null,
          "retries": null,
          "customHeaders": null
        }
      ],
      "debug": false
    },
    "me": {
      "id": "XXXXXXX@c.us",
      "pushName": "Beth"
    },
    "engine": {
      "engine": "NOWEB"
    }
  },

patron:ADVANCED

devlikepro commented 2 months ago

@suhasrekhu after updating to the latest version (2024.4.2 PLUS) it's been fixed, could you confirm?

patron:PRO