Private Automation hub is inaccessible with 502 Bad gateway error on the UI and The 'certifi>=2017.4.17' distribution was not found and is required by requests error in the logs.

Solution Verified - Updated -

Issue

  • Private automation hub UI is not accessible and throws error 502 Bad Gateway.
  • Following error is observed on Private automation hub server in /var/log/messages file:

    Jan 27 05:07:22 automationhub.example.com gunicorn[1721351]:    raise DistributionNotFound(req, requirers)
    Jan 27 05:07:22 automationhub.example.com gunicorn[1721351]: pkg_resources.DistributionNotFound: The 'certifi>=2017.4.17' distribution was not found and is required by requests
    

Environment

  • Red Hat Ansible Automation Platform 2
  • Private Automation Hub

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