{"action":"opened","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/238","repository_url":"https://api.github.com/repos/aws/aws-sdk-cpp","labels_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/238/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/238/events","html_url":"https://github.com/aws/aws-sdk-cpp/issues/238","id":165705608,"number":238,"title":"CloudWatchLogs request errors","user":{"login":"jimmyt857","id":1822327,"avatar_url":"https://avatars.githubusercontent.com/u/1822327?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmyt857","html_url":"https://github.com/jimmyt857","followers_url":"https://api.github.com/users/jimmyt857/followers","following_url":"https://api.github.com/users/jimmyt857/following{/other_user}","gists_url":"https://api.github.com/users/jimmyt857/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmyt857/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmyt857/subscriptions","organizations_url":"https://api.github.com/users/jimmyt857/orgs","repos_url":"https://api.github.com/users/jimmyt857/repos","events_url":"https://api.github.com/users/jimmyt857/events{/privacy}","received_events_url":"https://api.github.com/users/jimmyt857/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-15T03:44:35Z","updated_at":"2016-07-15T03:44:35Z","closed_at":null,"body":"When calling CreateLogGroup, CreateLogStream, DeleteLogStream, or PutLogEvents, I am getting curl error 35 (ssl connect error). Any of the first 3 will just fail after ~10 attempts, but for some reason PutLogEvents always succeeds on the 7th attempt. Here is an example log trace:\r\n\r\n[INFO] 2016-07-15 03:29:18 CurlHandleContainer [139736288929792] Initializing CurlHandleContainer with size 25\r\n[TRACE] 2016-07-15 03:29:18 AWSClient [139736288929792] Found body, but content-length has not been set, attempting to compute content-length\r\n[DEBUG] 2016-07-15 03:29:18 AWSAuthV4Signer [139736288929792] Calculated sha256 ed5df988d44e451e18fedf10d89327e33aa4ec818bf5eac665b2679d77c22dee for payload.\r\n[DEBUG] 2016-07-15 03:29:18 AWSAuthV4Signer [139736288929792] Canonical Header String: content-length:31\r\ncontent-type:application/x-amz-json-1.1\r\nhost:logs.us-west-2.amazonaws.com\r\nuser-agent:aws-sdk-cpp/0.13.4 Linux/3.13.0-74-generic x86_64\r\nx-amz-content-sha256:ed5df988d44e451e18fedf10d89327e33aa4ec818bf5eac665b2679d77c22dee\r\nx-amz-date:20160715T032918Z\r\nx-amz-target:Logs_20140328.CreateLogGroup\r\n\r\n[DEBUG] 2016-07-15 03:29:18 AWSAuthV4Signer [139736288929792] Signed Headers value:content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target\r\n[DEBUG] 2016-07-15 03:29:18 AWSAuthV4Signer [139736288929792] Canonical Request String: POST\r\n/\r\n\r\ncontent-length:31\r\ncontent-type:application/x-amz-json-1.1\r\nhost:logs.us-west-2.amazonaws.com\r\nuser-agent:aws-sdk-cpp/0.13.4 Linux/3.13.0-74-generic x86_64\r\nx-amz-content-sha256:ed5df988d44e451e18fedf10d89327e33aa4ec818bf5eac665b2679d77c22dee\r\nx-amz-date:20160715T032918Z\r\nx-amz-target:Logs_20140328.CreateLogGroup\r\n\r\ncontent-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target\r\ned5df988d44e451e18fedf10d89327e33aa4ec818bf5eac665b2679d77c22dee\r\n[DEBUG] 2016-07-15 03:29:18 AWSAuthV4Signer [139736288929792] Final String to sign: AWS4-HMAC-SHA256\r\n20160715T032918Z\r\n20160715/us-west-2/logs/aws4_request\r\n6bde1138796478370ca249eb333f7dc6fb618b90cb07f5874081196b130dd249\r\n[DEBUG] 2016-07-15 03:29:18 AWSAuthV4Signer [139736288929792] Final computed signing hash: ca9443049e51356c14eba7fb8025aa0ebc589d4c7b4324df833df4f8c4300651\r\n[DEBUG] 2016-07-15 03:29:18 AWSAuthV4Signer [139736288929792] Signing request with: AWS4-HMAC-SHA256 Credential=AKIAIMTDWTMSLPNECNJA/20160715/us-west-2/logs/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=ca9443049e51356c14eba7fb8025aa0ebc589d4c7b4324df833df4f8c4300651\r\n[DEBUG] 2016-07-15 03:29:18 AWSClient [139736288929792] Request Successfully signed\r\n[TRACE] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] Making request to https://logs.us-west-2.amazonaws.com\r\n[TRACE] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] Including headers:\r\n[TRACE] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] authorization: AWS4-HMAC-SHA256 Credential=AKIAIMTDWTMSLPNECNJA/20160715/us-west-2/logs/aws4_request, SignedHeaders=content-length;content-type;host;user-agent;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=ca9443049e51356c14eba7fb8025aa0ebc589d4c7b4324df833df4f8c4300651\r\n[TRACE] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] content-length: 31\r\n[TRACE] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] content-type: application/x-amz-json-1.1\r\n[TRACE] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] host: logs.us-west-2.amazonaws.com\r\n[TRACE] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] user-agent: aws-sdk-cpp/0.13.4 Linux/3.13.0-74-generic x86_64\r\n[TRACE] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] x-amz-content-sha256: ed5df988d44e451e18fedf10d89327e33aa4ec818bf5eac665b2679d77c22dee\r\n[TRACE] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] x-amz-date: 20160715T032918Z\r\n[TRACE] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] x-amz-target: Logs_20140328.CreateLogGroup\r\n[DEBUG] 2016-07-15 03:29:18 CurlHandleContainer [139736288929792] Attempting to acquire curl connection.\r\n[DEBUG] 2016-07-15 03:29:18 CurlHandleContainer [139736288929792] No current connections available in pool. Attempting to create new connections.\r\n[DEBUG] 2016-07-15 03:29:18 CurlHandleContainer [139736288929792] attempting to grow pool size by 2\r\n[INFO] 2016-07-15 03:29:18 CurlHandleContainer [139736288929792] Pool successfully grown by 2\r\n[DEBUG] 2016-07-15 03:29:18 CurlHandleContainer [139736288929792] Returning connection handle 0x42746a0\r\n[DEBUG] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] Obtained connection handle 0x42746a0\r\n[ERROR] 2016-07-15 03:29:18 CurlHttpClient [139736288929792] Curl returned error code 35\r\n[DEBUG] 2016-07-15 03:29:18 CurlHandleContainer [139736288929792] Releasing curl handle 0x42746a0\r\n[DEBUG] 2016-07-15 03:29:18 CurlHandleContainer [139736288929792] Notifying waiting threads.\r\n[DEBUG] 2016-07-15 03:29:18 AWSClient [139736288929792] Request returned error. Attempting to generate appropriate error codes from response\r\n[WARN] 2016-07-15 03:29:18 AWSClient [139736288929792] Request failed, now waiting 0 ms before attempting again."}}
{"actor":{"display_login":"jimmyt857"}}