WhatsApp / WADebug

WhatsApp Debug - A command-line tool that will be used to troubleshoot installation of WhatsApp Business API.
MIT License
31 stars 14 forks source link

WADebug returns failed on check_network while using https_proxy and http_proxy #5

Open fahmyxfiles opened 2 years ago

fahmyxfiles commented 2 years ago

I've configured whatsapp docker and passed proxy parameters to docker-compose, still returned failed on network check using WADebug because WADebug uses nc instead of curl for testing network for reliable validation while using proxy.

WADebug Results : image

Testing directly to the container with CURL image image image image image image image

Referenced files : https://github.com/WhatsApp/WADebug/blob/main/wadebug/wa_actions/network_utils.py line 12 ["nc", "-zv", hostname, str(port), "-w", str(timeout)]

mengyiyuan commented 2 years ago

@fahmyxfiles - thanks a lot for the detailed feedback! We are currently not actively develop WADebug (as you may have noticed), but we may be revamping it soon and will definitely keep this in mind! Thanks again!