Error Responses to READ

The storage cluster can return various types of responses when the specified content cannot be found or there is a problem with the READ request.

400 Bad Request for READ

The response below indicates a problem with the READ request, such as missing mandatory headers, an invalid message body, or any other violation of HTTP/1.1 by the GET request. The actual reason for the error is described in the message body of the response.

HTTP/1.1 400 Bad Request   Date: Wed, 1 Sept 2012 15:59:02 GMT   Server: CAStor Cluster/5.0.0   Connection: close   Content-Length: 24    Content-Type: text/html   CRLF Host header is required.

404 Not Found for READ

The following response indicates the requested content cannot be located in this cluster because of one of the following reasons:

  • The object was deleted.

  • The request included errors (for example, the wrong requested bucket name).

  • Network failure.

  • The node (all nodes containing the requested object) is down for maintenance.

  • Timeouts occur due to a heavily loaded or extremely active cluster.

This response can occur after additional drive capacity is added to the cluster. The cluster attempts to rebalance the objects from heavily loaded nodes to less-loaded nodes when it recognizes the new storage drive.

It is recommended to retry the request after a 404 error message for applications recognizing a given object exists.

HTTP/1.1 404 Not Found   Content-Length: 97   Content-Type: text/html   Date: Tue, 14 Jun 2012 01:12:16 GMT   Server: CAStor Cluster/6.0.0   Allow: HEAD, GET, PUT, POST, COPY, APPEND, DELETE <html><body><h2>Swarm Storage Error</h2><br>Bucket example.com/bucket failed to load (404)</body></html>

416 Requested Range Not Satisfiable for READ

The response below indicates one or more range headers supplied in the request are out of bounds with respect to the data.

HTTP/1.1 416 Requested range not satisfiable   Date: Wed, 1 Sept 2012 15:59:02 GMT   Server: CAStor Cluster/5.0.0   Connection: close   Content-Length: 24   Content-Type: text/html   Range specs out of range

© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.