HTTP API Node Connection Timeout Deta Hai (http_code 0)

Agar HTTP API node connection timeout aur http_code 0 ke saath fail hota hai, toh sabse zyada sambhavna hai ki external provider WhatChimp ka IP block kar raha hai. Ise theek karne ke liye WhatChimp ke IPs whitelist karein.

Updated 25 June 2026

Agar aapke bot ka HTTP API node kisi external API tak nahi pahunch pa raha aur Test & Verify ek connection timeout return karta hai, toh sabse common wajah yeh hai ki external provider sirf whitelisted IP addresses ko allow karta hai aur WhatChimp ko block kar raha hai.

Symptom

Jab aap HTTP API node par Test & Verify chalate hain, toh aapko aisa response milta hai:

  • "data_error": "Connection timeout after 20001 ms"
  • "http_code": 0

http_code ka 0 hone ka matlab hai ki WhatChimp ko koi response mila hi nahi, request bas timeout ho gayi. Endpoint khud bilkul healthy ho sakta hai.

Aisa Kyun Hota Hai

Bahut si APIs access ko approved (whitelisted) source IPs ki list tak restrict karti hain. Agar WhatChimp ka outbound IP us list par nahi hai, toh provider ka firewall reply karne ke bajaye request ko silently drop kar deta hai. Kyunki kuch wapas nahi aata, WhatChimp tab tak wait karta hai jab tak request timeout na ho jaaye, isliye aapko 401 ya 403 error ke bajaye timeout aur http_code: 0 dikhta hai.

Kaise Confirm Karein Ki Yeh IP Issue Hai

  • Wahi endpoint Postman ya curl jaise tool se ek aisi machine par kaam karta hai jise provider ne allow kiya hai, lekin WhatChimp se timeout hota hai.
  • Provider ki documentation ya support IP whitelisting ya ek IP allowlist ka zikr karti hai.
  • Aapke credentials (jaise X-API-USER aur X-API-PASS headers) sahi hain, lekin aapko phir bhi timeout milta hai, authentication error nahi.

Fix

Apne provider se WhatChimp ke outbound IP addresses whitelist karne ko kahein, phir unki taraf un sab ko add karein. Poori, current list yahan hai: WhatChimp Ke IP Addresses Jo Whitelist Karne Hain.

Us list ka har IP add karein. WhatChimp ki requests multiple servers se bahar ja sakti hain, toh sirf ek whitelist karne se call kabhi-kabhi succeed hogi aur baaki samay timeout hogi.

Verify

Provider dwara WhatChimp ke sabhi IPs allow kar dene ke baad, HTTP API node par Test & Verify dobara chalayein. Timeout chala jaana chahiye aur aapko ek non-zero http_code ke saath ek real response milna chahiye.

Next Steps

More in Bot Manager