Connection failure handling

Content Platform Tenant Management Help

Version
9.7.x
File Size
4269 KB
Audience
anonymous
Part Number
MK-95HCPH002-19

You should retry a request if either of these happens:

  • The client cannot establish a connection to the HCP system through the API.
  • The connection breaks while HCP is processing a request. In this case, the most likely cause is that the node processing the request became unavailable.

When retrying the request:

  • If the original request used the hostname of the HCP system in the URL, repeat the request in the same way.
  • If the original request used an IP address, retry the request using either a different IP address or the hostname of the system.

If the connection breaks while HCP is processing a GET request, you may not know whether the returned data is all or only some of the object data. In this case, you can check the number of returned bytes against the content length returned in the Content-Length response header. If the numbers match, the returned data is complete.