GithubHelp home page GithubHelp logo

Comments (11)

KKshitiz avatar KKshitiz commented on June 22, 2024

Facing the same issue. Here's a related issue from Whatsapp web js library: pedroslopez/whatsapp-web.js#3031

patron:ADVANCED

from whatsapp-http-api.

allburov avatar allburov commented on June 22, 2024

Hi! Could you try 2024.5.7 version? 🙏 🤞

patron:PRO

from whatsapp-http-api.

RAKESHSUVIDYA avatar RAKESHSUVIDYA commented on June 22, 2024

Hi! Could you try 2024.5.7 version? 🙏 🤞

patron:PRO

Just I tried. Issues are same

patron:PLUS

from whatsapp-http-api.

kumaraguru1735 avatar kumaraguru1735 commented on June 22, 2024

After 6th May update of whatsapp , its not working!

from whatsapp-http-api.

allburov avatar allburov commented on June 22, 2024

Do you see smth like this on the phone?
image

patron:PRO

from whatsapp-http-api.

allburov avatar allburov commented on June 22, 2024

Try to setup proxy for Indian 🇮🇳 phone numbers:
https://waha.devlike.pro/docs/how-to/proxy/

Overview

If you're experiencing issues scanning QR codes in WhatsApp, especially with Indian 🇮🇳 phone numbers,
using a proxy located close to the phone number's location may help resolve the problem.

It affects both WEBJS and NOWEB engines.

Symptoms

  1. You start a new session in WhatsApp.
  2. Scan the QR code.
  3. Experience a long loading time.
  4. Face login failures or instant logout.
  5. Encounter a new QR code or enter a FAILED state immediately.

image

Configuration

There are two ways to set up proxies:

  1. Global Setting (for all sessions per container)
  2. Per Session Configuration (you can define a proxy for each session when you start it)

Global Proxy Configuration

To use a proxy, you can set the following environment variables:

  • WHATSAPP_PROXY_SERVER=localhost:3128: Set the proxy server in the format host:port, without HTTP or HTTPS.
  • WHATSAPP_PROXY_SERVER_USERNAME=username and WHATSAPP_PROXY_SERVER_PASSWORD=password: Configure credentials for the proxy.
  • WHATSAPP_PROXY_SERVER_LIST=host1.example.com:3138,host2.example.com:3138: Specify a comma-separated list of addresses to use, utilizing a round-robin algorithm for server selection.
  • WHATSAPP_PROXY_SERVER_INDEX_PREFIX=proxy-: Define a session name prefix to choose the appropriate proxy from the list.

Session Proxy Configuration

You can configure proxy for a session by setting config.proxy fields when you POST /api/sessions/start:

  • server - proxy server address, without http:// or https:// prefixes
  • username and password - set this if the proxy requires authentication

No authentication

{
  "name": "default",
  "config": {
    "proxy": {
      "server": "localhost:3128"
    }
  }
}

Proxy with authentication

{
  "name": "default",
  "config": {
    "proxy": {
      "server": "localhost:3128",
      "username": "username",
      "password": "P@ssw0rd"
    }
  }
}

The configuration is saved and will be applied if the docker container restarts,
and you set WHATSAPP_RESTART_ALL_SESSIONS environment variables.
Read more about it in Autostart section.

Recommended Proxies

Proxy6

We recommend using Proxy6
where you can get a DEDICATED proxy (only you'll use it) for $1.77 per month.

Apply the promocode get a 5% discount on your purchase.

9W9oVxx3UX

Geonode

Another option is Geonode.

patron:PRO

from whatsapp-http-api.

allburov avatar allburov commented on June 22, 2024

Let me know if proxy doesn't help in your case and we could dive deeper!

patron:PRO

from whatsapp-http-api.

bvivek77 avatar bvivek77 commented on June 22, 2024

proxy not helping :(

from whatsapp-http-api.

devlikepro avatar devlikepro commented on June 22, 2024

@bvivek77 could you try running WAHA locally to test if it works (if you're in India or in any locaiton)?
If it works - consider setting up a tunnel #343 (comment)

patron:PRO

from whatsapp-http-api.

bvivek77 avatar bvivek77 commented on June 22, 2024

@bvivek77 could you try running WAHA locally to test if it works (if you're in India or in any locaiton)? If it works - consider setting up a tunnel #343 (comment)

patron:PRO

not working :(
I am in India

from whatsapp-http-api.

allburov avatar allburov commented on June 22, 2024

from whatsapp-http-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.