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.
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/messagesfile: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.