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 over 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

Also available in: Atom PDF