Problem:
Since upgrading to 2.1.1 we are seeing various issues.
-
Web UI not loading properly - it displays the following:
Proxy Error
The proxy server received an invalid response from upstream server.
The proxy server could not handle the request GET /widgets/217
Reason: Error reading from remote server. -
Hammer commands fail with error:
Error: 502 Bad Gateway -
I can’t bulk delete hosts - it fails straight away. But if i delete one at a time it will work but will return to a screen with the same proxy error as in issue 1.
-
YUM/subscription manager on managed hosts displays the following error.
HTTP error (500 - Internal Server Error): could not obtain a connection from the pool within 5.000 seconds (waited 10.620 seconds); all pooled connections were in use -
Ansible foreman inventory plugin fails with:
Failed to parse inventory.foreman.yaml with auto plugin: 502 Server Error: Proxy Error
Expected outcome:
None of the above errors.
Foreman and Proxy versions:
2.1.1
Foreman and Proxy plugin versions:
foreman-tasks: 2.0.2
foreman_ansible: 5.1.1
foreman_remote_execution: 3.3.5
katello: 3.16.0
Distribution and version:
CentOS Linux release 7.8.2003
Other relevant data: