How do I Use Ansible Automation Platform Notifications from Behind a Proxy?

Solution Verified - Updated -

Issue

  • When attempting to send notifications from Ansible Automation Platform (AAP) to remote services like Slack or Hipchat when AAP is behind a proxy, the notifications will fail.
  • Testing a notification template from the automation controller UI fails with a ConnectionError.
  • The destination endpoint is reachable with a manual curl from the controller nodes, but the notifier fails.
  • The task log shows the failure during the TLS handshake:

    ERROR awx.main.tasks.system Send Notification Failed ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
    ...
    ConnectionResetError: [Errno 104] Connection reset by peer
    

Environment

  • Red Hat Ansible Automation Platform (AAP)
    • 1.2
    • 2.x

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