Ansible Automation Platform webhook notifications fail with SSRFBlockedError "Notification URL resolves to blocked address"

Solution Verified - Updated -

Issue

  • Configured webhook notifications (e.g., Slack, Grafana, Mattermost, Rocket.Chat, or generic webhook notifier) fail to send or deliver.
  • The notification history in the Ansible Automation Platform Controller UI shows a failed status.
  • In /var/log/tower/tower.log on the controller node, the following exception is logged:

    SSRFBlockedError: Notification URL '<webhook_fqdn>' resolves to blocked address <private_ip_address>
    
  • The failure occurs even if the FQDN/IP address is configured in the environment's no_proxy list or proxy exceptions.

Environment

  • Red Hat Ansible Automation Platform
    • 2.5
  • automation-controller >= 4.6.32

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content