Proxy
Configure a proxy in Wazend to avoid errors when scanning the WhatsApp QR, especially in cloud/VPS environments.
If you have trouble scanning the WhatsApp QR, using a proxy located near the phone number's location can help.
Symptoms
- You scan the QR and it takes a long time to load.
- Login failures or instant logout.
- A new QR appears or the session enters the FAILED state immediately.
Configuration
You can assign a specific HTTP/SOCKS5 proxy for each session.
Per-session configuration
Without authentication:
{
"name": "S0001",
"config": {
"proxy": {
"server": "localhost:3128"
}
}
}With authentication:
{
"name": "S0001",
"config": {
"proxy": {
"server": "localhost:3128",
"username": "usuario",
"password": "password"
}
}
}Tip
The server field goes without the http:// or https:// prefixes.
Recommended proxies
If you need a proxy to connect your sessions, we recommend Flame Proxies.