Why am I getting Errno -2: Name or service not known or 504 error when accessing Insights Tab behind a Proxy using Ansible Tower?

Solution Verified - Updated -


After configuring proxy servers in Tower, the Insights project sync is working but I'm getting the following error when accessing the Insights tab from the host of the Insights inventory in Tower.

error: Unknown exception HTTPS ConnectionPool(host='access.redhat.com',
port=443): Max retries exceeded with url: /r/insights/v3/<system-id-redacted>/reports/ (Caused by
NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c1e1fe410>; Failed to establish a new connection: [Errno -2]
Name or Service not known',)) while trying to GET


Failed to get Insights info. GET returned status 504.


Ansible Tower

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In