aws / aws-sdk-cpp

AWS SDK for C++
Apache License 2.0
1.97k stars 1.06k forks source link

polly : unable to connect to endpoint #1008

Closed cogmeta closed 6 years ago

cogmeta commented 6 years ago

What platform/OS are you using?

Raspbian

What compiler are you using? what version?

gcc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516

What's your CMake arguments?

cmake -DBUILD_ONLY="polly"

Can you provide a TRACE level log? (sanitize any sensitive information)

[TRACE] 2018-11-05 07:22:13 CurlHttpClient [1996344976] content-length: 135 [TRACE] 2018-11-05 07:22:13 CurlHttpClient [1996344976] content-type: application/x-amz-json-1.1 [TRACE] 2018-11-05 07:22:13 CurlHttpClient [1996344976] host: polly.us-east-1.amazonaws.com [TRACE] 2018-11-05 07:22:13 CurlHttpClient [1996344976] user-agent: aws-sdk-cpp/1.6.44 Linux/4.14.52-v7+ armv7l GCC/6.3.0 [TRACE] 2018-11-05 07:22:13 CurlHttpClient [1996344976] x-amz-content-sha256: 071d2cdccdc66cb9be63ef9ea43f0538e18f5f5bfa57558278f9a058eefed581 [TRACE] 2018-11-05 07:22:13 CurlHttpClient [1996344976] x-amz-date: 20181105T072212Z [DEBUG] 2018-11-05 07:22:13 CurlHandleContainer [1996344976] Attempting to acquire curl connection. [INFO] 2018-11-05 07:22:13 CurlHandleContainer [1996344976] Connection has been released. Continuing. [DEBUG] 2018-11-05 07:22:13 CurlHandleContainer [1996344976] Returning connection handle 0x9be9f0 [DEBUG] 2018-11-05 07:22:13 CurlHttpClient [1996344976] Obtained connection handle 0x9be9f0 [ERROR] 2018-11-05 07:22:23 CurlHttpClient [1996344976] Curl returned error code 28 - Timeout was reached [DEBUG] 2018-11-05 07:22:23 CurlHandleContainer [1996344976] Releasing curl handle 0x9be9f0 [DEBUG] 2018-11-05 07:22:23 CurlHandleContainer [1996344976] Notified waiting threads. [DEBUG] 2018-11-05 07:22:23 AWSClient [1996344976] Request returned error. Attempting to generate appropriate error codes from response [ERROR] 2018-11-05 07:22:23 AWSClient [1996344976] HTTP response code: 2122833852 Exception name: Error message: Unable to connect to endpoint 0 response headers: [WARN] 2018-11-05 07:22:23 AWSClient [1996344976] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer. [DEBUG] 2018-11-05 07:22:23 AWSClient [1996344976] Date header was not found in the response, can't attempt to detect clock skew [INFO] 2018-11-05 07:22:23 CurlHandleContainer [1996344976] Cleaning up CurlHandleContainer. [DEBUG] 2018-11-05 07:22:23 CurlHandleContainer [1996344976] Cleaning up 0x9b6100 [DEBUG] 2018-11-05 07:22:23 CurlHandleContainer [1996344976] Cleaning up 0x9be9f0

cogmeta commented 6 years ago

Local DNS issue..solved.