Project

General

Profile

Actions

Bug #32161

closed

capsule will pause for 60 seconds if connection to sat is servered, causing 502s

Added by Eric Helms over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
-
Fixed in Releases:
Found in Releases:

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.

Actions #1

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
Actions #2

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 2.5.0 added
Actions #3

Updated by Eric Helms over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ewoud Kohl van Wijngaarden about 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

Also available in: Atom PDF