Skip to content

R53 403 Forbidden error #254

Closed
Closed
@jimmyt857

Description

@jimmyt857

Reopening because I still seem to be getting errors. Accidentally posted to the old issue, so copying my post:

I'm still getting and error, although it's a bit different now. Here's the log:

[INFO] 2016-08-02 19:35:15 CurlHandleContainer [140409173084160] Initializing CurlHandleContainer with size 25
[TRACE] 2016-08-02 19:35:15 AWSClient [140409173084160] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2016-08-02 19:35:15 AWSAuthV4Signer [140409173084160] Calculated sha256 d3e27de837776916e82c6a5738a5561ad5577be05364ec77ab2c8f16d2caf2e3 for payload.
[DEBUG] 2016-08-02 19:35:15 AWSAuthV4Signer [140409173084160] Canonical Header String: content-length:730
content-type:application/xml
host:route53.amazonaws.com
user-agent:aws-sdk-cpp/0.13.11 Linux/3.13.0-74-generic x86_64
x-amz-content-sha256:d3e27de837776916e82c6a5738a5561ad5577be05364ec77ab2c8f16d2caf2e3
x-amz-date:20160802T193515Z

[DEBUG] 2016-08-02 19:35:15 AWSAuthV4Signer [140409173084160] Signed Headers value:content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date
[DEBUG] 2016-08-02 19:35:15 AWSAuthV4Signer [140409173084160] Canonical Request String: POST
/2013-04-01/hostedzone/hostedzone/Z2CLVO1AT5KHVK/rrset/

content-length:730
content-type:application/xml
host:route53.amazonaws.com
user-agent:aws-sdk-cpp/0.13.11 Linux/3.13.0-74-generic x86_64
x-amz-content-sha256:d3e27de837776916e82c6a5738a5561ad5577be05364ec77ab2c8f16d2caf2e3
x-amz-date:20160802T193515Z

content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date
d3e27de837776916e82c6a5738a5561ad5577be05364ec77ab2c8f16d2caf2e3
[DEBUG] 2016-08-02 19:35:15 AWSAuthV4Signer [140409173084160] Final String to sign: AWS4-HMAC-SHA256
20160802T193515Z
20160802/us-east-1/route53/aws4_request
7973676c2b756368f34192ecb1f7f031b950ba07d38b19e78aad9ac183e8a7de
[DEBUG] 2016-08-02 19:35:15 AWSAuthV4Signer [140409173084160] Final computed signing hash: 0e54806fedd0d32e6af7cb386ba8d183406af38dcc3441397de3496e79b30b7f
[DEBUG] 2016-08-02 19:35:15 AWSAuthV4Signer [140409173084160] Signing request with: AWS4-HMAC-SHA256 Credential=AKIAIMTDWTMSLPNECNJA/20160802/us-east-1/route53/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date, Signature=0e54806fedd0d32e6af7cb386ba8d183406af38dcc3441397de3496e79b30b7f
[DEBUG] 2016-08-02 19:35:15 AWSClient [140409173084160] Request Successfully signed
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] Making request to https://route53.amazonaws.com/2013-04-01/hostedzone/hostedzone/Z2CLVO1AT5KHVK/rrset/
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] Including headers:
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] authorization: AWS4-HMAC-SHA256 Credential=AKIAIMTDWTMSLPNECNJA/20160802/us-east-1/route53/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date, Signature=0e54806fedd0d32e6af7cb386ba8d183406af38dcc3441397de3496e79b30b7f
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] content-length: 730
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] content-type: application/xml
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] host: route53.amazonaws.com
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] user-agent: aws-sdk-cpp/0.13.11 Linux/3.13.0-74-generic x86_64
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] x-amz-content-sha256: d3e27de837776916e82c6a5738a5561ad5577be05364ec77ab2c8f16d2caf2e3
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] x-amz-date: 20160802T193515Z
[DEBUG] 2016-08-02 19:35:15 CurlHandleContainer [140409173084160] Attempting to acquire curl connection.
[DEBUG] 2016-08-02 19:35:15 CurlHandleContainer [140409173084160] No current connections available in pool. Attempting to create new connections.
[DEBUG] 2016-08-02 19:35:15 CurlHandleContainer [140409173084160] attempting to grow pool size by 2
[INFO] 2016-08-02 19:35:15 CurlHandleContainer [140409173084160] Pool successfully grown by 2
[DEBUG] 2016-08-02 19:35:15 CurlHandleContainer [140409173084160] Returning connection handle 0x3e7ca80
[DEBUG] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] Obtained connection handle 0x3e7ca80
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] HTTP/1.1 100 Continue^M

[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] ^M

[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] HTTP/1.1 403 Forbidden^M

[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] x-amzn-RequestId: 027fde3c-58e8-11e6-b65a-3dbd29267b32^M

[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] Content-Length: 152^M

[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] Date: Tue, 02 Aug 2016 19:33:37 GMT^M

[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] Connection: close^M

[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] ^M

[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] 152 bytes written to response.
[DEBUG] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] Returned http response code 403
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] Response content-length header: 152
[TRACE] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] Response body length: 152
[DEBUG] 2016-08-02 19:35:15 CurlHttpClient [140409173084160] Releasing curl handle 0x3e7ca80
[DEBUG] 2016-08-02 19:35:15 CurlHandleContainer [140409173084160] Releasing curl handle 0x3e7ca80
[DEBUG] 2016-08-02 19:35:15 CurlHandleContainer [140409173084160] Notifying waiting threads.
[DEBUG] 2016-08-02 19:35:15 AWSClient [140409173084160] Request returned error. Attempting to generate appropriate error codes from response
[TRACE] 2016-08-02 19:35:15 AWSClient [140409173084160] Error response is

Unable to determine service/operation name to be authorized

[WARN] 2016-08-02 19:35:15 AWSErrorMarshaller [140409173084160] Encountered Unknown AWSError

Unable to generate a proper httpResponse from the response stream. Response code: 403:
[TRACE] 2016-08-02 19:35:15 AWSClient [140409173084160] Request was either successful, or we are now out of retries.
[INFO] 2016-08-02 19:35:15 CurlHandleContainer [140409173084160] Cleaning up CurlHandleContainer.
[DEBUG] 2016-08-02 19:35:15 CurlHandleContainer [140409173084160] Cleaning up 0x3e7ca80.
[DEBUG] 2016-08-02 19:35:15 CurlHandleContainer [140409173084160] Cleaning up 0x3fde8d0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions