0

m_s3Client->CompleteMultipartUpload(object_request); で試す場合 次の問題を取得します。Curl リクエストがタイムアウトになり、再試行されます。再試行すると、NoSuchUpload と言ってエラーになります。

観察: この curl タイムアウトは約 8.04 秒です。

把握するためのポインタが必要です。

このタイムアウトはどのように設定されていますか? このタイムアウトは NoSuchUpload の問題を引き起こしていますか?

[DEBUG] 2022-01-07 16:21:50.199 AWSAuthV4Signer [140087269939328] Note: Http payloads are not being signed. signPayloads=0 http scheme=https
[DEBUG] 2022-01-07 16:21:50.199 AWSAuthV4Signer [140087269939328] Canonical Header String: content-length:164805
content-type:application/xml
host:<***>
x-amz-api-version:2006-03-01
x-amz-content-sha256:UNSIGNED-PAYLOAD
x-amz-date:20220107T162150Z

[DEBUG] 2022-01-07 16:21:50.199 AWSAuthV4Signer [140087269939328] Signed Headers value:content-length;content-type;host;x-amz-api-version;x-amz-content-sha256;x-amz-date
[DEBUG] 2022-01-07 16:21:50.199 AWSAuthV4Signer [140087269939328] Canonical Request String: POST
/netezzabkup/TEST_BKUP/Netezza/ipshost-0/TESTPROD/20220107142549/1/FULL/data/34256.full.1.1
uploadId=CyAiYwRDSLMP0cfffZpQVPRGSkxqoXz-E25wN2VfrWIvMGOqp75d2RFq4A
content-length:164805
content-type:application/xml
host:<***>
x-amz-api-version:2006-03-01
x-amz-content-sha256:UNSIGNED-PAYLOAD
x-amz-date:20220107T162150Z

content-length;content-type;host;x-amz-api-version;x-amz-content-sha256;x-amz-date
UNSIGNED-PAYLOAD
[DEBUG] 2022-01-07 16:21:50.199 AWSAuthV4Signer [140087269939328] Final String to sign: AWS4-HMAC-SHA256
20220107T162150Z
20220107//s3/aws4_request
39cb6e55b5bf31f81921be1143017667846bdc739b2999e603c7fcc5466e9a8e
[DEBUG] 2022-01-07 16:21:50.199 AWSAuthV4Signer [140087269939328] Final computed signing hash: *************
[DEBUG] 2022-01-07 16:21:50.199 AWSAuthV4Signer [140087269939328] Signing request with: AWS4-HMAC-SHA256 
Credential=*******/20220107//s3/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-api-version;x-amz-content-sha256;x-amz-date, Signature=******
[DEBUG] 2022-01-07 16:21:50.199 AWSClient [140087269939328] Request Successfully signed
[DEBUG] 2022-01-07 16:21:50.199 CurlHandleContainer [140087269939328] Attempting to acquire curl connection.
[INFO] 2022-01-07 16:21:50.199 CurlHandleContainer [140087269939328] Connection has been released. Continuing.
[DEBUG] 2022-01-07 16:21:50.199 CurlHandleContainer [140087269939328] Returning connection handle 0x7f686800c4e0
[DEBUG] 2022-01-07 16:21:50.199 CurlHttpClient [140087269939328] Obtained connection handle 0x7f686800c4e0
**[ERROR] 2022-01-07 16:21:58.203 CurlHttpClient [140087269939328] Curl returned error code 28 - Timeout was reached**
[DEBUG] 2022-01-07 16:21:58.203 CurlHandleContainer [140087269939328] Destroy curl handle: 0x7f686800c4e0 and decrease pool size by 1.
[DEBUG] 2022-01-07 16:21:58.203 AWSClient [140087269939328] Request returned error. Attempting to generate appropriate error codes from response
**[ERROR] 2022-01-07 16:21:58.203 AWSClient [140087269939328] HTTP response code: -1
Exception name: 
Error message: Unable to connect to endpoint**
0 response headers:
[WARN] 2022-01-07 16:21:58.203 AWSClient [140087269939328] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2022-01-07 16:21:58.203 AWSClient [140087269939328] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2022-01-07 16:21:58.203 AWSClient [140087269939328] Request failed, now waiting 0 ms before attempting again.
[DEBUG] 2022-01-07 16:21:58.220 AWSAuthV4Signer [140087269939328] Note: Http payloads are not being signed. signPayloads=0 http scheme=https
[DEBUG] 2022-01-07 16:21:58.220 AWSAuthV4Signer [140087269939328] Canonical Header String: content-length:164805
content-type:application/xml
host:<***>
x-amz-api-version:2006-03-01
x-amz-content-sha256:UNSIGNED-PAYLOAD
x-amz-date:20220107T162158Z

[DEBUG] 2022-01-07 16:21:58.220 AWSAuthV4Signer [140087269939328] Signed Headers value:content-length;content-type;host;x-amz-api-version;x-amz-content-sha256;x-amz-date
[DEBUG] 2022-01-07 16:21:58.220 AWSAuthV4Signer [140087269939328] Canonical Request String: POST
/netezzabkup/TEST_BKUP/Netezza/ipshost-0/TESTPROD/20220107142549/1/FULL/data/34256.full.1.1
uploadId=CyAiYwRDSLMP0cfffZpQVPRGSkxqoXz-E25wN2VfrWIvMGOqp75d2RFq4A
content-length:164805
content-type:application/xml
host:<***>
x-amz-api-version:2006-03-01
x-amz-content-sha256:UNSIGNED-PAYLOAD
x-amz-date:20220107T162158Z

content-length;content-type;host;x-amz-api-version;x-amz-content-sha256;x-amz-date
UNSIGNED-PAYLOAD
[DEBUG] 2022-01-07 16:21:58.220 AWSAuthV4Signer [140087269939328] Final String to sign: AWS4-HMAC-SHA256
20220107T162158Z
20220107//s3/aws4_request
3357ca29631461fc0b2083216cd6e3b525d8a766afbaf5a758c7d47435a3f6ab
[DEBUG] 2022-01-07 16:21:58.220 AWSAuthV4Signer [140087269939328] Final computed signing hash: 
**************
[DEBUG] 2022-01-07 16:21:58.220 AWSAuthV4Signer [140087269939328] Signing request with: AWS4-HMAC-SHA256 Credential=**********/20220107//s3/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-api-version;x-amz-content-sha256;x-amz-date, Signature=************
[DEBUG] 2022-01-07 16:21:58.220 AWSClient [140087269939328] Request Successfully signed
[DEBUG] 2022-01-07 16:21:58.220 CurlHandleContainer [140087269939328] Attempting to acquire curl connection.
[INFO] 2022-01-07 16:21:58.220 CurlHandleContainer [140087269939328] Connection has been released. Continuing.
[DEBUG] 2022-01-07 16:21:58.220 CurlHandleContainer [140087269939328] Returning connection handle 0x1d15980
[DEBUG] 2022-01-07 16:21:58.220 CurlHttpClient [140087269939328] Obtained connection handle 0x1d15980
[DEBUG] 2022-01-07 16:21:58.241 CurlHttpClient [140087269939328] Returned http response code 404
[DEBUG] 2022-01-07 16:21:58.241 CurlHttpClient [140087269939328] Returned content type application/xml
[DEBUG] 2022-01-07 16:21:58.241 CurlHttpClient [140087269939328] Releasing curl handle 0x1d15980
[DEBUG] 2022-01-07 16:21:58.241 CurlHandleContainer [140087269939328] Releasing curl handle 0x1d15980
[DEBUG] 2022-01-07 16:21:58.241 CurlHandleContainer [140087269939328] Notified waiting threads.
[DEBUG] 2022-01-07 16:21:58.241 AWSClient [140087269939328] Request returned error. Attempting to generate appropriate error codes from response
[WARN] 2022-01-07 16:21:58.241 AWSErrorMarshaller [140087269939328] Encountered AWSError 'NoSuchUpload': The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.
**[ERROR] 2022-01-07 16:21:58.241 AWSClient [140087269939328] HTTP response code: 404
Exception name: NoSuchUpload
Error message: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.**
8 response headers:
connection : close
4

0 に答える 0