Actions
Bug #32161
closedcapsule will pause for 60 seconds if connection to sat is servered, causing 502s
Difficulty:
Triaged:
Yes
Bugzilla link:
Description
The capsule does a ProxyPass up to the Satellite to pass through API calls. By default, the ProxyPass will hold a connection open and re-use it instead of making a new connection each time.
However, by default, if the connection is interrupted, ProxyPass will wait 60 seconds before trying a server again since it assumes there are multiple workers in a pool and not just one Satellite. During this time, clients will get a "502 proxy error" from the capsule.
The ProxyPass up to the Satellite should likely have the options "retry=0 disablereuse=On". This will make a new connection each time.
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Eric Helms
- Pull request https://github.com/theforeman/puppet-foreman_proxy_content/pull/337 added
Updated by Eric Helms over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-foreman_proxy_content|d8cef09ffc8b3a1d19b1b407f27d4ca612ec8834.
Updated by Ewoud Kohl van Wijngaarden over 3 years ago
- Subject changed from capsule will pause for 60 seconds if connection to sat is servered, causing 502s to capsule will pause for 60 seconds if connection to sat is servered, causing 502s
- Category set to Foreman modules
- Triaged changed from No to Yes
Actions