Twilio has to use proxy for outgoing request | Rasa Whatsapp integration
  • charli55
    -- Veteran Member --
    -- Veteran Member --
    Posts: 292
    Joined: Wed Feb 19, 2020 12:29 pm

    Twilio has to use proxy for outgoing request | Rasa Whatsapp integration

    by charli55 » Tue Oct 21, 2025 8:37 am

    Hey there,

    we are trying to use the Twilio for Whatsapp Integration. It is mandatory to use a proxy for outgoing requests. Is there any possibility to configure the connector to use a proxy? Or any modification to the twilio.py file

    Always receiving this Error Message:Max Retries exceeded, New Connection error, Unable to reach api.twilio.py

    this is similar to your solution on Slack connector has to use proxy for outgoing requests in Docker can you kindly help with twilio

    Consider all my requests should go via http://x.x.x.x:1010 -> proxy

    Thanks for your help.

    It sounds like you’re need it to work as described here and here. Is that right? If so, I think you’d add the TwilioHttpClient call with your proxy here. Give that a try and if it works for you, send us a PR. Maybe this proxy call is only made if you specify proxy_endpoint or something like that i…


  • User avatar
    Zeero
    -- Veteran Member --
    -- Veteran Member --
    Posts: 120
    Joined: Fri Sep 10, 2021 12:41 pm

    Re: Twilio has to use proxy for outgoing request | Rasa Whatsapp integration

    by Zeero » Tue Oct 21, 2025 9:32 am

    I see it’s been a while since you’ve posted, but I just want to ask if anyone’s recently managed to get this working behind a corporate proxy? I'm running into similar issues and wondering if there’s any workaround that doesn't involve setting up a tunnel manually. Has anyone tried updating Rasa or Twilio configs lately that helped with this?
  • JasonMills
    -- Veteran Member --
    -- Veteran Member --
    Posts: 124
    Joined: Mon Mar 20, 2023 11:19 pm

    Re: Twilio has to use proxy for outgoing request | Rasa Whatsapp integration

    by JasonMills » Tue Oct 21, 2025 9:33 am

    I had the same issue where Twilio couldn't reach my local Rasa server behind a strict firewall. What finally worked for me was setting up a proxy with basic authentication. If you're stuck on getting a reliable proxy service quickly, I opted to buy proxies from Infatica and it worked fine with Twilio’s webhooks once I configured the IP and port in my environment variables.

Who is online

Users browsing this forum: No registered users and 4 guests