Red Hat Capsule upgrade or refresh feature fails with "[Net::HTTPFatalError]: 502 "cannotconnect" on Red Hat Satellite

Solution Verified - Updated -


  • Capsule installer fails or refreshing capsule features fails with error [Net::HTTPFatalError]: 502 "cannotconnect" on the Satellite server.
  • Following errors logged in /var/log/foreman/production.log on the Satellite server.

    2020-08-13T09:53:25 [I|app|d540b29a] Started PUT "/smart_proxies/4-capsule-example-com/refresh" for at 2020-08-13 09:53:25 -0500
    2020-08-13T09:53:25 [I|app|d540b29a] Processing by SmartProxiesController#refresh as HTML
    2020-08-13T09:53:25 [I|app|d540b29a]   Parameters: {"authenticity_token"=>"o+UmrKgofNf1uCBJG0OwJCp28ytxgKB5jVyMfmTKOhzonzjClvkkmpoAFaAXkKM40XWp9J/kYyabUs2Kxaa15A==", "id"=>"4-capsule-example-com"}
    2020-08-13T09:53:25 [I|app|d540b29a] (RestClient) Proxying request to via
    2020-08-13T09:53:59 [I|app|d540b29a] (RestClient) Proxying request to via
    2020-08-13T09:54:35 [W|app|d540b29a] ProxyAPI operation FAILED
    2020-08-13T09:54:35 [E|app|d540b29a] Failed to save: Unable to communicate with the Capsule: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([Net::HTTPFatalError]: 502 "cannotconnect") for Capsule, Please check the Capsule is configured and running on the host.
    2020-08-13T09:54:35 [I|app|d540b29a] Redirected to
    2020-08-13T09:54:35 [I|app|d540b29a] Completed 302 Found in 70448ms (ActiveRecord: 4.3ms)


  • Red Hat Satellite 6.7
  • Red Hat Satellite Capsule 6.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In