Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS Sonoma 14.2: Failed to connect to Cognito & Lambda endpoints (Curl error code 35 - SSL error) Reopening #2795 #2804

Closed
triton3 opened this issue Jan 3, 2024 · 11 comments
Labels
bug This issue is a bug. p2 This is a standard priority issue

Comments

@triton3
Copy link

triton3 commented Jan 3, 2024

Describe the bug

OS: macOS Sonoma 14.2

AWS sdk is unable to connect to any endpoint (Cognito and Lambda endpoints for example).

Expected Behavior

The sdk successfully connects to endpoints.

Current Behavior

Connection fails with Curl http endpoint.

Error message: curlCode: 35, SSL connect error

Reproduction Steps

Aws::CognitoIdentityProvider::Model::InitiateAuthOutcome auth_request_result = cognito_client_->InitiateAuth(auth_request);

Possible Solution

No response

Additional Information/Context

Note: SDK was built on macOS 13.6 (22G120). Connection succeeds on macOS version up to 14.1, but fails on macOS 14.2

AWS CPP SDK version used

1.11.235 (Built on macOS 13.6 (22G120))

Compiler and Version used

Apple clang version 15.0.0 (XCode v15.0)

Operating System and version

Issue occurs on macOS Sonoma v14.2

@triton3 triton3 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 3, 2024
@triton3
Copy link
Author

triton3 commented Jan 3, 2024

Reopning #2795

Logs:

[INFO] 2024-01-03 17:47:49.044 Aws_Init_Cleanup [0x30c6f4000] Initiate AWS SDK for C++ with Version:1.11.235
[TRACE] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:47:49.044 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Initializing config loader against fileName ~/Library/Containers/com.myapp/Data/.aws/credentials and using profilePrefix = 0
[TRACE] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:47:49.044 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Initializing config loader against fileName ~/Library/Containers/com.myapp/Data/.aws/config and using profilePrefix = 1
[TRACE] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:47:49.044 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Unable to open config file ~/Library/Containers/com.myapp/Data/.aws/credentials for reading.
[INFO] 2024-01-03 17:47:49.044 Aws::Config::AWSProfileConfigLoaderBase [0x30c6f4000] Failed to reload configuration.
[TRACE] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:47:49.044 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:47:49.044 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Unable to open config file ~/Library/Containers/com.myapp/Data/.aws/config for reading.
[INFO] 2024-01-03 17:47:49.044 Aws::Config::AWSProfileConfigLoaderBase [0x30c6f4000] Failed to reload configuration.
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa3f20: Initializing edge-triggered kqueue
[TRACE] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa3f20: pipe descriptors read 25, write 26.
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa3f20: starting event-loop thread.
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa26c0: Initializing edge-triggered kqueue
[TRACE] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa26c0: pipe descriptors read 28, write 29.
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa26c0: starting event-loop thread.
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30cb1e000] id=0x600002fa3f20: main loop started
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30cb1e000] id=0x600002fa3f20: default timeout 100s, and max events to process per tick 100
[TRACE] 2024-01-03 17:47:49.044 event-loop [0x30cb1e000] id=0x600002fa3f20: waiting for a maximum of 100s 0ns
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa3ca0: Initializing edge-triggered kqueue
[TRACE] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa3ca0: pipe descriptors read 31, write 32.
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa3ca0: starting event-loop thread.
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30cba1000] id=0x600002fa26c0: main loop started
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30cba1000] id=0x600002fa26c0: default timeout 100s, and max events to process per tick 100
[TRACE] 2024-01-03 17:47:49.044 event-loop [0x30cba1000] id=0x600002fa26c0: waiting for a maximum of 100s 0ns
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa7070: Initializing edge-triggered kqueue
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30cc24000] id=0x600002fa3ca0: main loop started
[TRACE] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa7070: pipe descriptors read 34, write 35.
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30cc24000] id=0x600002fa3ca0: default timeout 100s, and max events to process per tick 100
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30c6f4000] id=0x600002fa7070: starting event-loop thread.
[TRACE] 2024-01-03 17:47:49.044 event-loop [0x30cc24000] id=0x600002fa3ca0: waiting for a maximum of 100s 0ns
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30cca7000] id=0x600002fa7070: main loop started
[INFO] 2024-01-03 17:47:49.044 dns [0x30c6f4000] id=0x6000039ed2c0: Initializing default host resolver with 8 max host entries.
[INFO] 2024-01-03 17:47:49.044 event-loop [0x30cca7000] id=0x600002fa7070: default timeout 100s, and max events to process per tick 100
[TRACE] 2024-01-03 17:47:49.044 event-loop [0x30cca7000] id=0x600002fa7070: waiting for a maximum of 100s 0ns
[INFO] 2024-01-03 17:47:49.044 channel-bootstrap [0x30c6f4000] id=0x6000027ef170: Initializing client bootstrap with event-loop group 0x6000028d8180
[DEBUG] 2024-01-03 17:47:49.044 HttpClientFactory [0x30c6f4000] Initializing Http Static State
[DEBUG] 2024-01-03 17:47:49.044 HttpClientFactory [0x30c6f4000] Initializing Curl Http Client
[INFO] 2024-01-03 17:47:49.044 CurlHttpClient [0x30c6f4000] Initializing Curl library with version: 8.4.0, ssl version: SecureTransport (LibreSSL/3.3.6)
[INFO] 2024-01-03 17:47:49.049 EC2MetadataClient [0x30c6f4000] Using IMDS endpoint: http://169.254.169.254
[DEBUG] 2024-01-03 17:47:49.049 ClientConfiguration [0x30c6f4000] Request Compression enabled
[DEBUG] 2024-01-03 17:47:49.049 ClientConfiguration [0x30c6f4000] ClientConfiguration will use MinReqCompression: 10240
[DEBUG] 2024-01-03 17:47:49.049 ClientConfiguration [0x30c6f4000] ClientConfiguration will use SDK Auto Resolved profile: [default] if not specified by users.
[INFO] 2024-01-03 17:47:49.049 ClientConfiguration [0x30c6f4000] Retry Strategy will use the default max attempts.
[INFO] 2024-01-03 17:47:49.049 EC2MetadataClient [0x30c6f4000] Creating AWSHttpResourceClient with max connections 2 and scheme http
[INFO] 2024-01-03 17:47:49.049 CurlHandleContainer [0x30c6f4000] Initializing CurlHandleContainer with size 2
[INFO] 2024-01-03 17:47:49.050 Aws_Init_Cleanup [0x30c6f4000] Shutdown AWS SDK for C++.
[INFO] 2024-01-03 17:47:49.050 CurlHandleContainer [0x30c6f4000] Cleaning up CurlHandleContainer.
[DEBUG] 2024-01-03 17:47:49.050 HttpClientFactory [0x30c6f4000] Cleanup Http Static State
[DEBUG] 2024-01-03 17:47:49.050 HttpClientFactory [0x30c6f4000] Cleanup Curl Http Client
[INFO] 2024-01-03 17:47:49.157 Aws_Init_Cleanup [0x30c6f4000] Initiate AWS SDK for C++ with Version:1.11.235
[TRACE] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:47:49.157 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Initializing config loader against fileName ~/Library/Containers/com.myapp/Data/.aws/credentials and using profilePrefix = 0
[TRACE] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:47:49.157 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Initializing config loader against fileName ~/Library/Containers/com.myapp/Data/.aws/config and using profilePrefix = 1
[TRACE] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:47:49.157 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Unable to open config file ~/Library/Containers/com.myapp/Data/.aws/credentials for reading.
[INFO] 2024-01-03 17:47:49.157 Aws::Config::AWSProfileConfigLoaderBase [0x30c6f4000] Failed to reload configuration.
[TRACE] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:47:49.157 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:47:49.157 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Unable to open config file ~/Library/Containers/com.myapp/Data/.aws/config for reading.
[INFO] 2024-01-03 17:47:49.157 Aws::Config::AWSProfileConfigLoaderBase [0x30c6f4000] Failed to reload configuration.
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002fab980: Initializing edge-triggered kqueue
[TRACE] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002fab980: pipe descriptors read 25, write 26.
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002fab980: starting event-loop thread.
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002faaf30: Initializing edge-triggered kqueue
[TRACE] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002faaf30: pipe descriptors read 28, write 29.
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002faaf30: starting event-loop thread.
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30cb1e000] id=0x600002fab980: main loop started
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30cb1e000] id=0x600002fab980: default timeout 100s, and max events to process per tick 100
[TRACE] 2024-01-03 17:47:49.157 event-loop [0x30cb1e000] id=0x600002fab980: waiting for a maximum of 100s 0ns
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002fab0c0: Initializing edge-triggered kqueue
[TRACE] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002fab0c0: pipe descriptors read 31, write 32.
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002fab0c0: starting event-loop thread.
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30cba1000] id=0x600002faaf30: main loop started
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30cba1000] id=0x600002faaf30: default timeout 100s, and max events to process per tick 100
[TRACE] 2024-01-03 17:47:49.157 event-loop [0x30cba1000] id=0x600002faaf30: waiting for a maximum of 100s 0ns
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002fab750: Initializing edge-triggered kqueue
[TRACE] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002fab750: pipe descriptors read 34, write 35.
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30cc24000] id=0x600002fab0c0: main loop started
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30c6f4000] id=0x600002fab750: starting event-loop thread.
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30cc24000] id=0x600002fab0c0: default timeout 100s, and max events to process per tick 100
[TRACE] 2024-01-03 17:47:49.157 event-loop [0x30cc24000] id=0x600002fab0c0: waiting for a maximum of 100s 0ns
[INFO] 2024-01-03 17:47:49.157 dns [0x30c6f4000] id=0x6000039d67c0: Initializing default host resolver with 8 max host entries.
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30cca7000] id=0x600002fab750: main loop started
[INFO] 2024-01-03 17:47:49.157 channel-bootstrap [0x30c6f4000] id=0x6000027a4a10: Initializing client bootstrap with event-loop group 0x6000028dde00
[INFO] 2024-01-03 17:47:49.157 event-loop [0x30cca7000] id=0x600002fab750: default timeout 100s, and max events to process per tick 100
[TRACE] 2024-01-03 17:47:49.157 event-loop [0x30cca7000] id=0x600002fab750: waiting for a maximum of 100s 0ns
[DEBUG] 2024-01-03 17:47:49.157 HttpClientFactory [0x30c6f4000] Initializing Http Static State
[DEBUG] 2024-01-03 17:47:49.157 HttpClientFactory [0x30c6f4000] Initializing Curl Http Client
[INFO] 2024-01-03 17:47:49.157 EC2MetadataClient [0x30c6f4000] Using IMDS endpoint: http://169.254.169.254
[DEBUG] 2024-01-03 17:47:49.157 ClientConfiguration [0x30c6f4000] Request Compression enabled
[DEBUG] 2024-01-03 17:47:49.157 ClientConfiguration [0x30c6f4000] ClientConfiguration will use MinReqCompression: 10240
[DEBUG] 2024-01-03 17:47:49.157 ClientConfiguration [0x30c6f4000] ClientConfiguration will use SDK Auto Resolved profile: [default] if not specified by users.
[INFO] 2024-01-03 17:47:49.157 ClientConfiguration [0x30c6f4000] Retry Strategy will use the default max attempts.
[INFO] 2024-01-03 17:47:49.157 EC2MetadataClient [0x30c6f4000] Creating AWSHttpResourceClient with max connections 2 and scheme http
[INFO] 2024-01-03 17:47:49.157 CurlHandleContainer [0x30c6f4000] Initializing CurlHandleContainer with size 2
[INFO] 2024-01-03 17:47:49.157 Aws_Init_Cleanup [0x30c6f4000] Shutdown AWS SDK for C++.
[INFO] 2024-01-03 17:47:49.157 CurlHandleContainer [0x30c6f4000] Cleaning up CurlHandleContainer.
[DEBUG] 2024-01-03 17:47:49.157 HttpClientFactory [0x30c6f4000] Cleanup Http Static State
[DEBUG] 2024-01-03 17:47:49.157 HttpClientFactory [0x30c6f4000] Cleanup Curl Http Client
[INFO] 2024-01-03 17:48:25.108 Aws_Init_Cleanup [0x30c6f4000] Initiate AWS SDK for C++ with Version:1.11.235
[TRACE] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:48:25.108 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Initializing config loader against fileName ~/Library/Containers/com.myapp/Data/.aws/credentials and using profilePrefix = 0
[TRACE] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:48:25.108 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Initializing config loader against fileName ~/Library/Containers/com.myapp/Data/.aws/config and using profilePrefix = 1
[TRACE] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:48:25.108 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Unable to open config file ~/Library/Containers/com.myapp/Data/.aws/credentials for reading.
[INFO] 2024-01-03 17:48:25.108 Aws::Config::AWSProfileConfigLoaderBase [0x30c6f4000] Failed to reload configuration.
[TRACE] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:48:25.108 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:48:25.108 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Unable to open config file ~/Library/Containers/com.myapp/Data/.aws/config for reading.
[INFO] 2024-01-03 17:48:25.108 Aws::Config::AWSProfileConfigLoaderBase [0x30c6f4000] Failed to reload configuration.
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002fc7610: Initializing edge-triggered kqueue
[TRACE] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002fc7610: pipe descriptors read 31, write 32.
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002fc7610: starting event-loop thread.
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002fc5bd0: Initializing edge-triggered kqueue
[TRACE] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002fc5bd0: pipe descriptors read 34, write 35.
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002fc5bd0: starting event-loop thread.
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30ca10000] id=0x600002fc7610: main loop started
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30ca10000] id=0x600002fc7610: default timeout 100s, and max events to process per tick 100
[TRACE] 2024-01-03 17:48:25.108 event-loop [0x30ca10000] id=0x600002fc7610: waiting for a maximum of 100s 0ns
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002ffdb80: Initializing edge-triggered kqueue
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30cb1e000] id=0x600002fc5bd0: main loop started
[TRACE] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002ffdb80: pipe descriptors read 37, write 38.
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30cb1e000] id=0x600002fc5bd0: default timeout 100s, and max events to process per tick 100
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002ffdb80: starting event-loop thread.
[TRACE] 2024-01-03 17:48:25.108 event-loop [0x30cb1e000] id=0x600002fc5bd0: waiting for a maximum of 100s 0ns
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002fd0870: Initializing edge-triggered kqueue
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30cba1000] id=0x600002ffdb80: main loop started
[TRACE] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002fd0870: pipe descriptors read 40, write 41.
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30cba1000] id=0x600002ffdb80: default timeout 100s, and max events to process per tick 100
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30c6f4000] id=0x600002fd0870: starting event-loop thread.
[TRACE] 2024-01-03 17:48:25.108 event-loop [0x30cba1000] id=0x600002ffdb80: waiting for a maximum of 100s 0ns
[INFO] 2024-01-03 17:48:25.108 dns [0x30c6f4000] id=0x6000039d5680: Initializing default host resolver with 8 max host entries.
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30cc24000] id=0x600002fd0870: main loop started
[INFO] 2024-01-03 17:48:25.108 channel-bootstrap [0x30c6f4000] id=0x6000027a72c0: Initializing client bootstrap with event-loop group 0x6000028ea5e0
[INFO] 2024-01-03 17:48:25.108 event-loop [0x30cc24000] id=0x600002fd0870: default timeout 100s, and max events to process per tick 100
[TRACE] 2024-01-03 17:48:25.108 event-loop [0x30cc24000] id=0x600002fd0870: waiting for a maximum of 100s 0ns
[DEBUG] 2024-01-03 17:48:25.108 HttpClientFactory [0x30c6f4000] Initializing Http Static State
[DEBUG] 2024-01-03 17:48:25.108 HttpClientFactory [0x30c6f4000] Initializing Curl Http Client
[INFO] 2024-01-03 17:48:25.108 EC2MetadataClient [0x30c6f4000] Using IMDS endpoint: http://169.254.169.254
[DEBUG] 2024-01-03 17:48:25.108 ClientConfiguration [0x30c6f4000] Request Compression enabled
[DEBUG] 2024-01-03 17:48:25.108 ClientConfiguration [0x30c6f4000] ClientConfiguration will use MinReqCompression: 10240
[DEBUG] 2024-01-03 17:48:25.108 ClientConfiguration [0x30c6f4000] ClientConfiguration will use SDK Auto Resolved profile: [default] if not specified by users.
[INFO] 2024-01-03 17:48:25.108 ClientConfiguration [0x30c6f4000] Retry Strategy will use the default max attempts.
[INFO] 2024-01-03 17:48:25.108 EC2MetadataClient [0x30c6f4000] Creating AWSHttpResourceClient with max connections 2 and scheme http
[INFO] 2024-01-03 17:48:25.108 CurlHandleContainer [0x30c6f4000] Initializing CurlHandleContainer with size 2
[DEBUG] 2024-01-03 17:48:25.108 ClientConfiguration [0x30c6f4000] Request Compression enabled
[DEBUG] 2024-01-03 17:48:25.108 ClientConfiguration [0x30c6f4000] ClientConfiguration will use MinReqCompression: 10240
[DEBUG] 2024-01-03 17:48:25.108 ClientConfiguration [0x30c6f4000] ClientConfiguration will use SDK Auto Resolved profile: [default] if not specified by users.
[INFO] 2024-01-03 17:48:25.108 ClientConfiguration [0x30c6f4000] Retry Strategy will use the default max attempts.
[TRACE] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:48:25.121 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Initializing config loader against fileName ~/Library/Containers/com.myapp/Data/.aws/credentials and using profilePrefix = 0
[TRACE] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[TRACE] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[INFO] 2024-01-03 17:48:25.121 ProfileConfigFileAWSCredentialsProvider [0x30c6f4000] Setting provider to read credentials from ~/Library/Containers/com.myapp/Data/.aws/credentials for credentials file and ~/Library/Containers/com.myapp/Data/.aws/config for the config file , for use with profile default
[INFO] 2024-01-03 17:48:25.121 ProcessCredentialsProvider [0x30c6f4000] Setting process credentials provider to read config from default
[WARN] 2024-01-03 17:48:25.121 STSAssumeRoleWithWebIdentityCredentialsProvider [0x30c6f4000] Token file must be specified to use STS AssumeRole web identity creds provider.
[INFO] 2024-01-03 17:48:25.121 SSOBearerTokenProvider [0x30c6f4000] Setting sso bearerToken provider to read config from default
[INFO] 2024-01-03 17:48:25.121 SSOCredentialsProvider [0x30c6f4000] Setting sso credentials provider to read config from default
[DEBUG] 2024-01-03 17:48:25.121 DefaultAWSCredentialsProviderChain [0x30c6f4000] The environment variable value AWS_CONTAINER_CREDENTIALS_RELATIVE_URI is 
[DEBUG] 2024-01-03 17:48:25.121 DefaultAWSCredentialsProviderChain [0x30c6f4000] The environment variable value AWS_CONTAINER_CREDENTIALS_FULL_URI is 
[DEBUG] 2024-01-03 17:48:25.121 DefaultAWSCredentialsProviderChain [0x30c6f4000] The environment variable value AWS_EC2_METADATA_DISABLED is TRUE
[INFO] 2024-01-03 17:48:25.121 Aws::Config::AWSConfigFileProfileConfigLoader [0x30c6f4000] Unable to open config file ~/Library/Containers/com.myapp/Data/.aws/credentials for reading.
[INFO] 2024-01-03 17:48:25.121 Aws::Config::AWSProfileConfigLoaderBase [0x30c6f4000] Failed to reload configuration.
[INFO] 2024-01-03 17:48:25.121 ProcessCredentialsProvider [0x30c6f4000] Failed to find credential process's profile: default
[TRACE] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Checking HOME for the home directory.
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Environment value for variable HOME is ~/Library/Containers/com.myapp/Data
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Home directory is missing the final / appending one to normalize
[DEBUG] 2024-01-03 17:48:25.121 FileSystemUtils [0x30c6f4000] Final Home Directory is ~/Library/Containers/com.myapp/Data/
[DEBUG] 2024-01-03 17:48:25.121 SSOCredentialsProvider [0x30c6f4000] Loading token from: ~/Library/Containers/com.myapp/Data/.aws/sso/cache/da39a3ee5e6b4b0d3255bfef95601890afd80709.json
[DEBUG] 2024-01-03 17:48:25.121 SSOCredentialsProvider [0x30c6f4000] Preparing to load token from: ~/Library/Containers/com.myapp/Data/.aws/sso/cache/da39a3ee5e6b4b0d3255bfef95601890afd80709.json
[INFO] 2024-01-03 17:48:25.121 SSOCredentialsProvider [0x30c6f4000] Unable to open token file on path: ~/Library/Containers/com.myapp/Data/.aws/sso/cache/da39a3ee5e6b4b0d3255bfef95601890afd80709.json
[TRACE] 2024-01-03 17:48:25.121 SSOCredentialsProvider [0x30c6f4000] Access token for SSO not available
[INFO] 2024-01-03 17:48:25.121 CurlHandleContainer [0x30c6f4000] Initializing CurlHandleContainer with size 25
[TRACE] 2024-01-03 17:48:25.122 Aws::Endpoint::DefaultEndpointProvider [0x30c6f4000] Endpoint str eval parameter: Region = us-east-1
[TRACE] 2024-01-03 17:48:25.122 Aws::Endpoint::DefaultEndpointProvider [0x30c6f4000] Endpoint bool eval parameter: UseFIPS = 0
[TRACE] 2024-01-03 17:48:25.122 Aws::Endpoint::DefaultEndpointProvider [0x30c6f4000] Endpoint bool eval parameter: UseDualStack = 0
[DEBUG] 2024-01-03 17:48:25.123 Unknown [0x30c6f4000] Resolved endpoint with status 0
[DEBUG] 2024-01-03 17:48:25.123 Aws::Endpoint::DefaultEndpointProvider [0x30c6f4000] Endpoint rules engine evaluated the endpoint: https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:25.123 AWSClient [0x30c6f4000] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2024-01-03 17:48:25.123 AWSClient [0x30c6f4000] Request Successfully signed
[TRACE] 2024-01-03 17:48:25.123 CurlHttpClient [0x30c6f4000] Making request to https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:25.123 CurlHttpClient [0x30c6f4000] Including headers:
[TRACE] 2024-01-03 17:48:25.123 CurlHttpClient [0x30c6f4000] amz-sdk-invocation-id: BA0E6C30-AFDA-46CF-BA85-F67CA995343C
[TRACE] 2024-01-03 17:48:25.123 CurlHttpClient [0x30c6f4000] amz-sdk-request: attempt=1
[TRACE] 2024-01-03 17:48:25.123 CurlHttpClient [0x30c6f4000] content-length: 1082
[TRACE] 2024-01-03 17:48:25.123 CurlHttpClient [0x30c6f4000] content-type: application/x-amz-json-1.1
[TRACE] 2024-01-03 17:48:25.123 CurlHttpClient [0x30c6f4000] host: cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:25.123 CurlHttpClient [0x30c6f4000] user-agent: aws-sdk-cpp/1.11.235 ua/2.0 md/aws-crt#0.24.11 os/Darwin/23.2.0 md/arch#x86_64 lang/c++#C++11 md/Clang#15.0.0 cfg/retry-mode#default api/Cognito_Identity_Provider
[TRACE] 2024-01-03 17:48:25.123 CurlHttpClient [0x30c6f4000] x-amz-api-version: 2016-04-18
[TRACE] 2024-01-03 17:48:25.123 CurlHttpClient [0x30c6f4000] x-amz-target: AWSCognitoIdentityProviderService.InitiateAuth
[DEBUG] 2024-01-03 17:48:25.123 CurlHandleContainer [0x30c6f4000] Attempting to acquire curl connection.
[DEBUG] 2024-01-03 17:48:25.123 CurlHandleContainer [0x30c6f4000] No current connections available in pool. Attempting to create new connections.
[DEBUG] 2024-01-03 17:48:25.123 CurlHandleContainer [0x30c6f4000] attempting to grow pool size by 2
[INFO] 2024-01-03 17:48:25.124 CurlHandleContainer [0x30c6f4000] Pool grown by 2
[DEBUG] 2024-01-03 17:48:25.124 CurlHandleContainer [0x30c6f4000] Connection has been released. Continuing.
[DEBUG] 2024-01-03 17:48:25.124 CurlHandleContainer [0x30c6f4000] Returning connection handle 0x7f82fa2c4600
[DEBUG] 2024-01-03 17:48:25.124 CurlHttpClient [0x30c6f4000] Obtained connection handle 0x7f82fa2c4600
[DEBUG] 2024-01-03 17:48:25.124 CURL [0x30c6f4000] (Text) WARNING: failed to open cookie file ""

[DEBUG] 2024-01-03 17:48:25.161 CURL [0x30c6f4000] (Text)   Trying 54.237.149.79:443...

[DEBUG] 2024-01-03 17:48:25.188 CURL [0x30c6f4000] (Text) Connected to cognito-idp.us-east-1.amazonaws.com (54.237.149.79) port 443

[DEBUG] 2024-01-03 17:48:25.188 CURL [0x30c6f4000] (Text) ALPN: curl offers h2,http/1.1

[DEBUG] 2024-01-03 17:48:25.188 CURL [0x30c6f4000] (Text) (304) (OUT), TLS handshake, Client hello (1):

[DEBUG] 2024-01-03 17:48:25.188 CURL [0x30c6f4000] (SSLDataOut) 336bytes
[DEBUG] 2024-01-03 17:48:25.199 CURL [0x30c6f4000] (Text)  CAfile: /etc/ssl/cert.pem

[DEBUG] 2024-01-03 17:48:25.199 CURL [0x30c6f4000] (Text)  CApath: none

[DEBUG] 2024-01-03 17:48:25.216 CURL [0x30c6f4000] (Text) (304) (IN), TLS handshake, Server hello (2):

[DEBUG] 2024-01-03 17:48:25.216 CURL [0x30c6f4000] (SSLDataIn) 100bytes
[DEBUG] 2024-01-03 17:48:25.217 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:25.217 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:25.218 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:25.218 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[DEBUG] 2024-01-03 17:48:25.218 CURL [0x30c6f4000] (Text) LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

[DEBUG] 2024-01-03 17:48:25.218 CURL [0x30c6f4000] (Text) Closing connection

[DEBUG] 2024-01-03 17:48:25.218 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:25.218 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:25.219 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:25.219 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[ERROR] 2024-01-03 17:48:25.219 CurlHttpClient [0x30c6f4000] Curl returned error code 35 - SSL connect error
[DEBUG] 2024-01-03 17:48:25.221 CurlHandleContainer [0x30c6f4000] Destroy curl handle: 0x7f82fa2c4600
[DEBUG] 2024-01-03 17:48:25.221 CurlHandleContainer [0x30c6f4000] Created replacement handle and released to pool: 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:25.221 AWSClient [0x30c6f4000] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2024-01-03 17:48:25.221 AWSJsonClient [0x30c6f4000] HTTP response code: -1
Resolved remote host IP address: 54.237.149.79
Request ID: 
Exception name: 
Error message: curlCode: 35, SSL connect error
0 response headers:
[WARN] 2024-01-03 17:48:25.221 AWSClient [0x30c6f4000] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2024-01-03 17:48:25.221 AWSClient [0x30c6f4000] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2024-01-03 17:48:25.221 AWSClient [0x30c6f4000] Request failed, now waiting 0 ms before attempting again.
[TRACE] 2024-01-03 17:48:25.222 AWSClient [0x30c6f4000] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2024-01-03 17:48:25.222 AWSClient [0x30c6f4000] Request Successfully signed
[TRACE] 2024-01-03 17:48:25.222 CurlHttpClient [0x30c6f4000] Making request to https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:25.222 CurlHttpClient [0x30c6f4000] Including headers:
[TRACE] 2024-01-03 17:48:25.222 CurlHttpClient [0x30c6f4000] amz-sdk-invocation-id: BA0E6C30-AFDA-46CF-BA85-F67CA995343C
[TRACE] 2024-01-03 17:48:25.222 CurlHttpClient [0x30c6f4000] amz-sdk-request: attempt=2; max=11
[TRACE] 2024-01-03 17:48:25.222 CurlHttpClient [0x30c6f4000] content-length: 1082
[TRACE] 2024-01-03 17:48:25.222 CurlHttpClient [0x30c6f4000] content-type: application/x-amz-json-1.1
[TRACE] 2024-01-03 17:48:25.222 CurlHttpClient [0x30c6f4000] host: cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:25.222 CurlHttpClient [0x30c6f4000] user-agent: aws-sdk-cpp/1.11.235 ua/2.0 md/aws-crt#0.24.11 os/Darwin/23.2.0 md/arch#x86_64 lang/c++#C++11 md/Clang#15.0.0 cfg/retry-mode#default api/Cognito_Identity_Provider
[TRACE] 2024-01-03 17:48:25.222 CurlHttpClient [0x30c6f4000] x-amz-api-version: 2016-04-18
[TRACE] 2024-01-03 17:48:25.222 CurlHttpClient [0x30c6f4000] x-amz-target: AWSCognitoIdentityProviderService.InitiateAuth
[DEBUG] 2024-01-03 17:48:25.222 CurlHandleContainer [0x30c6f4000] Attempting to acquire curl connection.
[DEBUG] 2024-01-03 17:48:25.222 CurlHandleContainer [0x30c6f4000] Connection has been released. Continuing.
[DEBUG] 2024-01-03 17:48:25.222 CurlHandleContainer [0x30c6f4000] Returning connection handle 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:25.222 CurlHttpClient [0x30c6f4000] Obtained connection handle 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:25.222 CURL [0x30c6f4000] (Text) WARNING: failed to open cookie file ""

[DEBUG] 2024-01-03 17:48:25.223 CURL [0x30c6f4000] (Text)   Trying 54.237.149.79:443...

[DEBUG] 2024-01-03 17:48:25.258 CURL [0x30c6f4000] (Text) Connected to cognito-idp.us-east-1.amazonaws.com (54.237.149.79) port 443

[DEBUG] 2024-01-03 17:48:25.258 CURL [0x30c6f4000] (Text) ALPN: curl offers h2,http/1.1

[DEBUG] 2024-01-03 17:48:25.259 CURL [0x30c6f4000] (Text) (304) (OUT), TLS handshake, Client hello (1):

[DEBUG] 2024-01-03 17:48:25.259 CURL [0x30c6f4000] (SSLDataOut) 336bytes
[DEBUG] 2024-01-03 17:48:25.269 CURL [0x30c6f4000] (Text)  CAfile: /etc/ssl/cert.pem

[DEBUG] 2024-01-03 17:48:25.269 CURL [0x30c6f4000] (Text)  CApath: none

[DEBUG] 2024-01-03 17:48:25.286 CURL [0x30c6f4000] (Text) (304) (IN), TLS handshake, Server hello (2):

[DEBUG] 2024-01-03 17:48:25.286 CURL [0x30c6f4000] (SSLDataIn) 100bytes
[DEBUG] 2024-01-03 17:48:25.287 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:25.287 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:25.287 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:25.287 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[DEBUG] 2024-01-03 17:48:25.287 CURL [0x30c6f4000] (Text) LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

[DEBUG] 2024-01-03 17:48:25.287 CURL [0x30c6f4000] (Text) Closing connection

[DEBUG] 2024-01-03 17:48:25.287 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:25.287 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:25.288 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:25.288 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[ERROR] 2024-01-03 17:48:25.288 CurlHttpClient [0x30c6f4000] Curl returned error code 35 - SSL connect error
[DEBUG] 2024-01-03 17:48:25.289 CurlHandleContainer [0x30c6f4000] Destroy curl handle: 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:25.289 CurlHandleContainer [0x30c6f4000] Created replacement handle and released to pool: 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:25.289 AWSClient [0x30c6f4000] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2024-01-03 17:48:25.289 AWSJsonClient [0x30c6f4000] HTTP response code: -1
Resolved remote host IP address: 54.237.149.79
Request ID: 
Exception name: 
Error message: curlCode: 35, SSL connect error
0 response headers:
[WARN] 2024-01-03 17:48:25.289 AWSClient [0x30c6f4000] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2024-01-03 17:48:25.289 AWSClient [0x30c6f4000] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2024-01-03 17:48:25.289 AWSClient [0x30c6f4000] Request failed, now waiting 50 ms before attempting again.
[TRACE] 2024-01-03 17:48:25.345 AWSClient [0x30c6f4000] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2024-01-03 17:48:25.345 AWSClient [0x30c6f4000] Request Successfully signed
[TRACE] 2024-01-03 17:48:25.345 CurlHttpClient [0x30c6f4000] Making request to https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:25.345 CurlHttpClient [0x30c6f4000] Including headers:
[TRACE] 2024-01-03 17:48:25.345 CurlHttpClient [0x30c6f4000] amz-sdk-invocation-id: BA0E6C30-AFDA-46CF-BA85-F67CA995343C
[TRACE] 2024-01-03 17:48:25.345 CurlHttpClient [0x30c6f4000] amz-sdk-request: attempt=3; max=11
[TRACE] 2024-01-03 17:48:25.345 CurlHttpClient [0x30c6f4000] content-length: 1082
[TRACE] 2024-01-03 17:48:25.345 CurlHttpClient [0x30c6f4000] content-type: application/x-amz-json-1.1
[TRACE] 2024-01-03 17:48:25.345 CurlHttpClient [0x30c6f4000] host: cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:25.345 CurlHttpClient [0x30c6f4000] user-agent: aws-sdk-cpp/1.11.235 ua/2.0 md/aws-crt#0.24.11 os/Darwin/23.2.0 md/arch#x86_64 lang/c++#C++11 md/Clang#15.0.0 cfg/retry-mode#default api/Cognito_Identity_Provider
[TRACE] 2024-01-03 17:48:25.345 CurlHttpClient [0x30c6f4000] x-amz-api-version: 2016-04-18
[TRACE] 2024-01-03 17:48:25.345 CurlHttpClient [0x30c6f4000] x-amz-target: AWSCognitoIdentityProviderService.InitiateAuth
[DEBUG] 2024-01-03 17:48:25.345 CurlHandleContainer [0x30c6f4000] Attempting to acquire curl connection.
[DEBUG] 2024-01-03 17:48:25.345 CurlHandleContainer [0x30c6f4000] Connection has been released. Continuing.
[DEBUG] 2024-01-03 17:48:25.345 CurlHandleContainer [0x30c6f4000] Returning connection handle 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:25.345 CurlHttpClient [0x30c6f4000] Obtained connection handle 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:25.345 CURL [0x30c6f4000] (Text) WARNING: failed to open cookie file ""

[DEBUG] 2024-01-03 17:48:25.348 CURL [0x30c6f4000] (Text)   Trying 54.237.149.79:443...

[DEBUG] 2024-01-03 17:48:25.379 CURL [0x30c6f4000] (Text) Connected to cognito-idp.us-east-1.amazonaws.com (54.237.149.79) port 443

[DEBUG] 2024-01-03 17:48:25.379 CURL [0x30c6f4000] (Text) ALPN: curl offers h2,http/1.1

[DEBUG] 2024-01-03 17:48:25.380 CURL [0x30c6f4000] (Text) (304) (OUT), TLS handshake, Client hello (1):

[DEBUG] 2024-01-03 17:48:25.380 CURL [0x30c6f4000] (SSLDataOut) 336bytes
[DEBUG] 2024-01-03 17:48:25.392 CURL [0x30c6f4000] (Text)  CAfile: /etc/ssl/cert.pem

[DEBUG] 2024-01-03 17:48:25.392 CURL [0x30c6f4000] (Text)  CApath: none

[DEBUG] 2024-01-03 17:48:25.410 CURL [0x30c6f4000] (Text) (304) (IN), TLS handshake, Server hello (2):

[DEBUG] 2024-01-03 17:48:25.410 CURL [0x30c6f4000] (SSLDataIn) 100bytes
[DEBUG] 2024-01-03 17:48:25.411 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:25.411 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:25.411 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:25.411 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[DEBUG] 2024-01-03 17:48:25.411 CURL [0x30c6f4000] (Text) LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

[DEBUG] 2024-01-03 17:48:25.411 CURL [0x30c6f4000] (Text) Closing connection

[DEBUG] 2024-01-03 17:48:25.411 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:25.412 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:25.412 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:25.412 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[ERROR] 2024-01-03 17:48:25.412 CurlHttpClient [0x30c6f4000] Curl returned error code 35 - SSL connect error
[DEBUG] 2024-01-03 17:48:25.414 CurlHandleContainer [0x30c6f4000] Destroy curl handle: 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:25.414 CurlHandleContainer [0x30c6f4000] Created replacement handle and released to pool: 0x7f82dc83ee00
[DEBUG] 2024-01-03 17:48:25.414 AWSClient [0x30c6f4000] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2024-01-03 17:48:25.414 AWSJsonClient [0x30c6f4000] HTTP response code: -1
Resolved remote host IP address: 54.237.149.79
Request ID: 
Exception name: 
Error message: curlCode: 35, SSL connect error
0 response headers:
[WARN] 2024-01-03 17:48:25.414 AWSClient [0x30c6f4000] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2024-01-03 17:48:25.414 AWSClient [0x30c6f4000] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2024-01-03 17:48:25.414 AWSClient [0x30c6f4000] Request failed, now waiting 100 ms before attempting again.
[TRACE] 2024-01-03 17:48:25.519 AWSClient [0x30c6f4000] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2024-01-03 17:48:25.519 AWSClient [0x30c6f4000] Request Successfully signed
[TRACE] 2024-01-03 17:48:25.520 CurlHttpClient [0x30c6f4000] Making request to https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:25.520 CurlHttpClient [0x30c6f4000] Including headers:
[TRACE] 2024-01-03 17:48:25.520 CurlHttpClient [0x30c6f4000] amz-sdk-invocation-id: BA0E6C30-AFDA-46CF-BA85-F67CA995343C
[TRACE] 2024-01-03 17:48:25.520 CurlHttpClient [0x30c6f4000] amz-sdk-request: attempt=4; max=11
[TRACE] 2024-01-03 17:48:25.520 CurlHttpClient [0x30c6f4000] content-length: 1082
[TRACE] 2024-01-03 17:48:25.520 CurlHttpClient [0x30c6f4000] content-type: application/x-amz-json-1.1
[TRACE] 2024-01-03 17:48:25.520 CurlHttpClient [0x30c6f4000] host: cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:25.520 CurlHttpClient [0x30c6f4000] user-agent: aws-sdk-cpp/1.11.235 ua/2.0 md/aws-crt#0.24.11 os/Darwin/23.2.0 md/arch#x86_64 lang/c++#C++11 md/Clang#15.0.0 cfg/retry-mode#default api/Cognito_Identity_Provider
[TRACE] 2024-01-03 17:48:25.520 CurlHttpClient [0x30c6f4000] x-amz-api-version: 2016-04-18
[TRACE] 2024-01-03 17:48:25.520 CurlHttpClient [0x30c6f4000] x-amz-target: AWSCognitoIdentityProviderService.InitiateAuth
[DEBUG] 2024-01-03 17:48:25.520 CurlHandleContainer [0x30c6f4000] Attempting to acquire curl connection.
[DEBUG] 2024-01-03 17:48:25.520 CurlHandleContainer [0x30c6f4000] Connection has been released. Continuing.
[DEBUG] 2024-01-03 17:48:25.520 CurlHandleContainer [0x30c6f4000] Returning connection handle 0x7f82dc83ee00
[DEBUG] 2024-01-03 17:48:25.520 CurlHttpClient [0x30c6f4000] Obtained connection handle 0x7f82dc83ee00
[DEBUG] 2024-01-03 17:48:25.520 CURL [0x30c6f4000] (Text) WARNING: failed to open cookie file ""

[DEBUG] 2024-01-03 17:48:25.523 CURL [0x30c6f4000] (Text)   Trying 54.237.149.79:443...

[DEBUG] 2024-01-03 17:48:25.554 CURL [0x30c6f4000] (Text) Connected to cognito-idp.us-east-1.amazonaws.com (54.237.149.79) port 443

[DEBUG] 2024-01-03 17:48:25.554 CURL [0x30c6f4000] (Text) ALPN: curl offers h2,http/1.1

[DEBUG] 2024-01-03 17:48:25.555 CURL [0x30c6f4000] (Text) (304) (OUT), TLS handshake, Client hello (1):

[DEBUG] 2024-01-03 17:48:25.555 CURL [0x30c6f4000] (SSLDataOut) 336bytes
[DEBUG] 2024-01-03 17:48:25.567 CURL [0x30c6f4000] (Text)  CAfile: /etc/ssl/cert.pem

[DEBUG] 2024-01-03 17:48:25.567 CURL [0x30c6f4000] (Text)  CApath: none

[DEBUG] 2024-01-03 17:48:25.590 CURL [0x30c6f4000] (Text) (304) (IN), TLS handshake, Server hello (2):

[DEBUG] 2024-01-03 17:48:25.590 CURL [0x30c6f4000] (SSLDataIn) 100bytes
[DEBUG] 2024-01-03 17:48:25.590 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:25.590 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:25.591 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:25.591 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[DEBUG] 2024-01-03 17:48:25.591 CURL [0x30c6f4000] (Text) LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

[DEBUG] 2024-01-03 17:48:25.591 CURL [0x30c6f4000] (Text) Closing connection

[DEBUG] 2024-01-03 17:48:25.591 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:25.591 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:25.591 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:25.591 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[ERROR] 2024-01-03 17:48:25.592 CurlHttpClient [0x30c6f4000] Curl returned error code 35 - SSL connect error
[DEBUG] 2024-01-03 17:48:25.593 CurlHandleContainer [0x30c6f4000] Destroy curl handle: 0x7f82dc83ee00
[DEBUG] 2024-01-03 17:48:25.593 CurlHandleContainer [0x30c6f4000] Created replacement handle and released to pool: 0x7f82dc03bc00
[DEBUG] 2024-01-03 17:48:25.593 AWSClient [0x30c6f4000] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2024-01-03 17:48:25.593 AWSJsonClient [0x30c6f4000] HTTP response code: -1
Resolved remote host IP address: 54.237.149.79
Request ID: 
Exception name: 
Error message: curlCode: 35, SSL connect error
0 response headers:
[WARN] 2024-01-03 17:48:25.594 AWSClient [0x30c6f4000] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2024-01-03 17:48:25.594 AWSClient [0x30c6f4000] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2024-01-03 17:48:25.594 AWSClient [0x30c6f4000] Request failed, now waiting 200 ms before attempting again.
[TRACE] 2024-01-03 17:48:25.799 AWSClient [0x30c6f4000] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2024-01-03 17:48:25.799 AWSClient [0x30c6f4000] Request Successfully signed
[TRACE] 2024-01-03 17:48:25.799 CurlHttpClient [0x30c6f4000] Making request to https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:25.799 CurlHttpClient [0x30c6f4000] Including headers:
[TRACE] 2024-01-03 17:48:25.799 CurlHttpClient [0x30c6f4000] amz-sdk-invocation-id: BA0E6C30-AFDA-46CF-BA85-F67CA995343C
[TRACE] 2024-01-03 17:48:25.799 CurlHttpClient [0x30c6f4000] amz-sdk-request: attempt=5; max=11
[TRACE] 2024-01-03 17:48:25.799 CurlHttpClient [0x30c6f4000] content-length: 1082
[TRACE] 2024-01-03 17:48:25.799 CurlHttpClient [0x30c6f4000] content-type: application/x-amz-json-1.1
[TRACE] 2024-01-03 17:48:25.799 CurlHttpClient [0x30c6f4000] host: cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:25.799 CurlHttpClient [0x30c6f4000] user-agent: aws-sdk-cpp/1.11.235 ua/2.0 md/aws-crt#0.24.11 os/Darwin/23.2.0 md/arch#x86_64 lang/c++#C++11 md/Clang#15.0.0 cfg/retry-mode#default api/Cognito_Identity_Provider
[TRACE] 2024-01-03 17:48:25.799 CurlHttpClient [0x30c6f4000] x-amz-api-version: 2016-04-18
[TRACE] 2024-01-03 17:48:25.799 CurlHttpClient [0x30c6f4000] x-amz-target: AWSCognitoIdentityProviderService.InitiateAuth
[DEBUG] 2024-01-03 17:48:25.799 CurlHandleContainer [0x30c6f4000] Attempting to acquire curl connection.
[DEBUG] 2024-01-03 17:48:25.799 CurlHandleContainer [0x30c6f4000] Connection has been released. Continuing.
[DEBUG] 2024-01-03 17:48:25.799 CurlHandleContainer [0x30c6f4000] Returning connection handle 0x7f82dc03bc00
[DEBUG] 2024-01-03 17:48:25.799 CurlHttpClient [0x30c6f4000] Obtained connection handle 0x7f82dc03bc00
[DEBUG] 2024-01-03 17:48:25.800 CURL [0x30c6f4000] (Text) WARNING: failed to open cookie file ""

[DEBUG] 2024-01-03 17:48:25.802 CURL [0x30c6f4000] (Text)   Trying 54.237.149.79:443...

[DEBUG] 2024-01-03 17:48:25.828 CURL [0x30c6f4000] (Text) Connected to cognito-idp.us-east-1.amazonaws.com (54.237.149.79) port 443

[DEBUG] 2024-01-03 17:48:25.828 CURL [0x30c6f4000] (Text) ALPN: curl offers h2,http/1.1

[DEBUG] 2024-01-03 17:48:25.829 CURL [0x30c6f4000] (Text) (304) (OUT), TLS handshake, Client hello (1):

[DEBUG] 2024-01-03 17:48:25.829 CURL [0x30c6f4000] (SSLDataOut) 336bytes
[DEBUG] 2024-01-03 17:48:25.840 CURL [0x30c6f4000] (Text)  CAfile: /etc/ssl/cert.pem

[DEBUG] 2024-01-03 17:48:25.840 CURL [0x30c6f4000] (Text)  CApath: none

[DEBUG] 2024-01-03 17:48:25.864 CURL [0x30c6f4000] (Text) (304) (IN), TLS handshake, Server hello (2):

[DEBUG] 2024-01-03 17:48:25.865 CURL [0x30c6f4000] (SSLDataIn) 100bytes
[DEBUG] 2024-01-03 17:48:25.865 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:25.865 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:25.865 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:25.865 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[DEBUG] 2024-01-03 17:48:25.865 CURL [0x30c6f4000] (Text) LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

[DEBUG] 2024-01-03 17:48:25.865 CURL [0x30c6f4000] (Text) Closing connection

[DEBUG] 2024-01-03 17:48:25.865 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:25.865 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:25.866 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:25.866 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[ERROR] 2024-01-03 17:48:25.866 CurlHttpClient [0x30c6f4000] Curl returned error code 35 - SSL connect error
[DEBUG] 2024-01-03 17:48:25.868 CurlHandleContainer [0x30c6f4000] Destroy curl handle: 0x7f82dc03bc00
[DEBUG] 2024-01-03 17:48:25.868 CurlHandleContainer [0x30c6f4000] Created replacement handle and released to pool: 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:25.868 AWSClient [0x30c6f4000] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2024-01-03 17:48:25.868 AWSJsonClient [0x30c6f4000] HTTP response code: -1
Resolved remote host IP address: 54.237.149.79
Request ID: 
Exception name: 
Error message: curlCode: 35, SSL connect error
0 response headers:
[WARN] 2024-01-03 17:48:25.868 AWSClient [0x30c6f4000] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2024-01-03 17:48:25.868 AWSClient [0x30c6f4000] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2024-01-03 17:48:25.868 AWSClient [0x30c6f4000] Request failed, now waiting 400 ms before attempting again.
[TRACE] 2024-01-03 17:48:26.273 AWSClient [0x30c6f4000] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2024-01-03 17:48:26.273 AWSClient [0x30c6f4000] Request Successfully signed
[TRACE] 2024-01-03 17:48:26.273 CurlHttpClient [0x30c6f4000] Making request to https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:26.273 CurlHttpClient [0x30c6f4000] Including headers:
[TRACE] 2024-01-03 17:48:26.273 CurlHttpClient [0x30c6f4000] amz-sdk-invocation-id: BA0E6C30-AFDA-46CF-BA85-F67CA995343C
[TRACE] 2024-01-03 17:48:26.273 CurlHttpClient [0x30c6f4000] amz-sdk-request: attempt=6; max=11
[TRACE] 2024-01-03 17:48:26.273 CurlHttpClient [0x30c6f4000] content-length: 1082
[TRACE] 2024-01-03 17:48:26.273 CurlHttpClient [0x30c6f4000] content-type: application/x-amz-json-1.1
[TRACE] 2024-01-03 17:48:26.273 CurlHttpClient [0x30c6f4000] host: cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:26.273 CurlHttpClient [0x30c6f4000] user-agent: aws-sdk-cpp/1.11.235 ua/2.0 md/aws-crt#0.24.11 os/Darwin/23.2.0 md/arch#x86_64 lang/c++#C++11 md/Clang#15.0.0 cfg/retry-mode#default api/Cognito_Identity_Provider
[TRACE] 2024-01-03 17:48:26.273 CurlHttpClient [0x30c6f4000] x-amz-api-version: 2016-04-18
[TRACE] 2024-01-03 17:48:26.273 CurlHttpClient [0x30c6f4000] x-amz-target: AWSCognitoIdentityProviderService.InitiateAuth
[DEBUG] 2024-01-03 17:48:26.273 CurlHandleContainer [0x30c6f4000] Attempting to acquire curl connection.
[DEBUG] 2024-01-03 17:48:26.273 CurlHandleContainer [0x30c6f4000] Connection has been released. Continuing.
[DEBUG] 2024-01-03 17:48:26.273 CurlHandleContainer [0x30c6f4000] Returning connection handle 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:26.273 CurlHttpClient [0x30c6f4000] Obtained connection handle 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:26.274 CURL [0x30c6f4000] (Text) WARNING: failed to open cookie file ""

[DEBUG] 2024-01-03 17:48:26.276 CURL [0x30c6f4000] (Text)   Trying 54.86.237.5:443...

[DEBUG] 2024-01-03 17:48:26.303 CURL [0x30c6f4000] (Text) Connected to cognito-idp.us-east-1.amazonaws.com (54.86.237.5) port 443

[DEBUG] 2024-01-03 17:48:26.304 CURL [0x30c6f4000] (Text) ALPN: curl offers h2,http/1.1

[DEBUG] 2024-01-03 17:48:26.304 CURL [0x30c6f4000] (Text) (304) (OUT), TLS handshake, Client hello (1):

[DEBUG] 2024-01-03 17:48:26.304 CURL [0x30c6f4000] (SSLDataOut) 336bytes
[DEBUG] 2024-01-03 17:48:26.318 CURL [0x30c6f4000] (Text)  CAfile: /etc/ssl/cert.pem

[DEBUG] 2024-01-03 17:48:26.318 CURL [0x30c6f4000] (Text)  CApath: none

[DEBUG] 2024-01-03 17:48:26.332 CURL [0x30c6f4000] (Text) (304) (IN), TLS handshake, Server hello (2):

[DEBUG] 2024-01-03 17:48:26.332 CURL [0x30c6f4000] (SSLDataIn) 100bytes
[DEBUG] 2024-01-03 17:48:26.332 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:26.332 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:26.333 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:26.333 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[DEBUG] 2024-01-03 17:48:26.333 CURL [0x30c6f4000] (Text) LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

[DEBUG] 2024-01-03 17:48:26.333 CURL [0x30c6f4000] (Text) Closing connection

[DEBUG] 2024-01-03 17:48:26.333 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:26.333 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:26.333 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:26.333 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[ERROR] 2024-01-03 17:48:26.334 CurlHttpClient [0x30c6f4000] Curl returned error code 35 - SSL connect error
[DEBUG] 2024-01-03 17:48:26.335 CurlHandleContainer [0x30c6f4000] Destroy curl handle: 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:26.335 CurlHandleContainer [0x30c6f4000] Created replacement handle and released to pool: 0x7f82da01b000
[DEBUG] 2024-01-03 17:48:26.335 AWSClient [0x30c6f4000] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2024-01-03 17:48:26.336 AWSJsonClient [0x30c6f4000] HTTP response code: -1
Resolved remote host IP address: 54.86.237.5
Request ID: 
Exception name: 
Error message: curlCode: 35, SSL connect error
0 response headers:
[WARN] 2024-01-03 17:48:26.336 AWSClient [0x30c6f4000] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2024-01-03 17:48:26.336 AWSClient [0x30c6f4000] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2024-01-03 17:48:26.336 AWSClient [0x30c6f4000] Request failed, now waiting 800 ms before attempting again.
[TRACE] 2024-01-03 17:48:27.137 AWSClient [0x30c6f4000] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2024-01-03 17:48:27.137 AWSClient [0x30c6f4000] Request Successfully signed
[TRACE] 2024-01-03 17:48:27.137 CurlHttpClient [0x30c6f4000] Making request to https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:27.137 CurlHttpClient [0x30c6f4000] Including headers:
[TRACE] 2024-01-03 17:48:27.137 CurlHttpClient [0x30c6f4000] amz-sdk-invocation-id: BA0E6C30-AFDA-46CF-BA85-F67CA995343C
[TRACE] 2024-01-03 17:48:27.137 CurlHttpClient [0x30c6f4000] amz-sdk-request: attempt=7; max=11
[TRACE] 2024-01-03 17:48:27.137 CurlHttpClient [0x30c6f4000] content-length: 1082
[TRACE] 2024-01-03 17:48:27.137 CurlHttpClient [0x30c6f4000] content-type: application/x-amz-json-1.1
[TRACE] 2024-01-03 17:48:27.137 CurlHttpClient [0x30c6f4000] host: cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:27.137 CurlHttpClient [0x30c6f4000] user-agent: aws-sdk-cpp/1.11.235 ua/2.0 md/aws-crt#0.24.11 os/Darwin/23.2.0 md/arch#x86_64 lang/c++#C++11 md/Clang#15.0.0 cfg/retry-mode#default api/Cognito_Identity_Provider
[TRACE] 2024-01-03 17:48:27.137 CurlHttpClient [0x30c6f4000] x-amz-api-version: 2016-04-18
[TRACE] 2024-01-03 17:48:27.137 CurlHttpClient [0x30c6f4000] x-amz-target: AWSCognitoIdentityProviderService.InitiateAuth
[DEBUG] 2024-01-03 17:48:27.137 CurlHandleContainer [0x30c6f4000] Attempting to acquire curl connection.
[DEBUG] 2024-01-03 17:48:27.137 CurlHandleContainer [0x30c6f4000] Connection has been released. Continuing.
[DEBUG] 2024-01-03 17:48:27.137 CurlHandleContainer [0x30c6f4000] Returning connection handle 0x7f82da01b000
[DEBUG] 2024-01-03 17:48:27.137 CurlHttpClient [0x30c6f4000] Obtained connection handle 0x7f82da01b000
[DEBUG] 2024-01-03 17:48:27.137 CURL [0x30c6f4000] (Text) WARNING: failed to open cookie file ""

[DEBUG] 2024-01-03 17:48:27.140 CURL [0x30c6f4000] (Text)   Trying 54.86.237.5:443...

[DEBUG] 2024-01-03 17:48:27.171 CURL [0x30c6f4000] (Text) Connected to cognito-idp.us-east-1.amazonaws.com (54.86.237.5) port 443

[DEBUG] 2024-01-03 17:48:27.171 CURL [0x30c6f4000] (Text) ALPN: curl offers h2,http/1.1

[DEBUG] 2024-01-03 17:48:27.172 CURL [0x30c6f4000] (Text) (304) (OUT), TLS handshake, Client hello (1):

[DEBUG] 2024-01-03 17:48:27.172 CURL [0x30c6f4000] (SSLDataOut) 336bytes
[DEBUG] 2024-01-03 17:48:27.184 CURL [0x30c6f4000] (Text)  CAfile: /etc/ssl/cert.pem

[DEBUG] 2024-01-03 17:48:27.184 CURL [0x30c6f4000] (Text)  CApath: none

[DEBUG] 2024-01-03 17:48:27.199 CURL [0x30c6f4000] (Text) (304) (IN), TLS handshake, Server hello (2):

[DEBUG] 2024-01-03 17:48:27.199 CURL [0x30c6f4000] (SSLDataIn) 100bytes
[DEBUG] 2024-01-03 17:48:27.199 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:27.199 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:27.200 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:27.200 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[DEBUG] 2024-01-03 17:48:27.200 CURL [0x30c6f4000] (Text) LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

[DEBUG] 2024-01-03 17:48:27.200 CURL [0x30c6f4000] (Text) Closing connection

[DEBUG] 2024-01-03 17:48:27.200 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:27.200 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:27.201 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:27.201 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[ERROR] 2024-01-03 17:48:27.201 CurlHttpClient [0x30c6f4000] Curl returned error code 35 - SSL connect error
[DEBUG] 2024-01-03 17:48:27.203 CurlHandleContainer [0x30c6f4000] Destroy curl handle: 0x7f82da01b000
[DEBUG] 2024-01-03 17:48:27.203 CurlHandleContainer [0x30c6f4000] Created replacement handle and released to pool: 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:27.203 AWSClient [0x30c6f4000] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2024-01-03 17:48:27.203 AWSJsonClient [0x30c6f4000] HTTP response code: -1
Resolved remote host IP address: 54.86.237.5
Request ID: 
Exception name: 
Error message: curlCode: 35, SSL connect error
0 response headers:
[WARN] 2024-01-03 17:48:27.203 AWSClient [0x30c6f4000] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2024-01-03 17:48:27.203 AWSClient [0x30c6f4000] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2024-01-03 17:48:27.203 AWSClient [0x30c6f4000] Request failed, now waiting 1600 ms before attempting again.
[TRACE] 2024-01-03 17:48:28.809 AWSClient [0x30c6f4000] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2024-01-03 17:48:28.809 AWSClient [0x30c6f4000] Request Successfully signed
[TRACE] 2024-01-03 17:48:28.809 CurlHttpClient [0x30c6f4000] Making request to https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:28.809 CurlHttpClient [0x30c6f4000] Including headers:
[TRACE] 2024-01-03 17:48:28.809 CurlHttpClient [0x30c6f4000] amz-sdk-invocation-id: BA0E6C30-AFDA-46CF-BA85-F67CA995343C
[TRACE] 2024-01-03 17:48:28.809 CurlHttpClient [0x30c6f4000] amz-sdk-request: attempt=8; max=11
[TRACE] 2024-01-03 17:48:28.809 CurlHttpClient [0x30c6f4000] content-length: 1082
[TRACE] 2024-01-03 17:48:28.809 CurlHttpClient [0x30c6f4000] content-type: application/x-amz-json-1.1
[TRACE] 2024-01-03 17:48:28.809 CurlHttpClient [0x30c6f4000] host: cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:28.809 CurlHttpClient [0x30c6f4000] user-agent: aws-sdk-cpp/1.11.235 ua/2.0 md/aws-crt#0.24.11 os/Darwin/23.2.0 md/arch#x86_64 lang/c++#C++11 md/Clang#15.0.0 cfg/retry-mode#default api/Cognito_Identity_Provider
[TRACE] 2024-01-03 17:48:28.809 CurlHttpClient [0x30c6f4000] x-amz-api-version: 2016-04-18
[TRACE] 2024-01-03 17:48:28.809 CurlHttpClient [0x30c6f4000] x-amz-target: AWSCognitoIdentityProviderService.InitiateAuth
[DEBUG] 2024-01-03 17:48:28.809 CurlHandleContainer [0x30c6f4000] Attempting to acquire curl connection.
[DEBUG] 2024-01-03 17:48:28.809 CurlHandleContainer [0x30c6f4000] Connection has been released. Continuing.
[DEBUG] 2024-01-03 17:48:28.809 CurlHandleContainer [0x30c6f4000] Returning connection handle 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:28.809 CurlHttpClient [0x30c6f4000] Obtained connection handle 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:28.809 CURL [0x30c6f4000] (Text) WARNING: failed to open cookie file ""

[DEBUG] 2024-01-03 17:48:28.813 CURL [0x30c6f4000] (Text)   Trying 18.233.20.179:443...

[DEBUG] 2024-01-03 17:48:28.842 CURL [0x30c6f4000] (Text) Connected to cognito-idp.us-east-1.amazonaws.com (18.233.20.179) port 443

[DEBUG] 2024-01-03 17:48:28.843 CURL [0x30c6f4000] (Text) ALPN: curl offers h2,http/1.1

[DEBUG] 2024-01-03 17:48:28.843 CURL [0x30c6f4000] (Text) (304) (OUT), TLS handshake, Client hello (1):

[DEBUG] 2024-01-03 17:48:28.843 CURL [0x30c6f4000] (SSLDataOut) 336bytes
[DEBUG] 2024-01-03 17:48:28.856 CURL [0x30c6f4000] (Text)  CAfile: /etc/ssl/cert.pem

[DEBUG] 2024-01-03 17:48:28.856 CURL [0x30c6f4000] (Text)  CApath: none

[DEBUG] 2024-01-03 17:48:28.872 CURL [0x30c6f4000] (Text) (304) (IN), TLS handshake, Server hello (2):

[DEBUG] 2024-01-03 17:48:28.872 CURL [0x30c6f4000] (SSLDataIn) 100bytes
[DEBUG] 2024-01-03 17:48:28.872 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:28.872 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:28.873 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:28.873 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[DEBUG] 2024-01-03 17:48:28.873 CURL [0x30c6f4000] (Text) LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

[DEBUG] 2024-01-03 17:48:28.873 CURL [0x30c6f4000] (Text) Closing connection

[DEBUG] 2024-01-03 17:48:28.873 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:28.873 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:28.873 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:28.873 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[ERROR] 2024-01-03 17:48:28.873 CurlHttpClient [0x30c6f4000] Curl returned error code 35 - SSL connect error
[DEBUG] 2024-01-03 17:48:28.875 CurlHandleContainer [0x30c6f4000] Destroy curl handle: 0x7f82fa89c000
[DEBUG] 2024-01-03 17:48:28.875 CurlHandleContainer [0x30c6f4000] Created replacement handle and released to pool: 0x7f82dc037800
[DEBUG] 2024-01-03 17:48:28.875 AWSClient [0x30c6f4000] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2024-01-03 17:48:28.875 AWSJsonClient [0x30c6f4000] HTTP response code: -1
Resolved remote host IP address: 18.233.20.179
Request ID: 
Exception name: 
Error message: curlCode: 35, SSL connect error
0 response headers:
[WARN] 2024-01-03 17:48:28.875 AWSClient [0x30c6f4000] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2024-01-03 17:48:28.875 AWSClient [0x30c6f4000] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2024-01-03 17:48:28.876 AWSClient [0x30c6f4000] Request failed, now waiting 3200 ms before attempting again.
[TRACE] 2024-01-03 17:48:32.081 AWSClient [0x30c6f4000] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2024-01-03 17:48:32.081 AWSClient [0x30c6f4000] Request Successfully signed
[TRACE] 2024-01-03 17:48:32.081 CurlHttpClient [0x30c6f4000] Making request to https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:32.081 CurlHttpClient [0x30c6f4000] Including headers:
[TRACE] 2024-01-03 17:48:32.081 CurlHttpClient [0x30c6f4000] amz-sdk-invocation-id: BA0E6C30-AFDA-46CF-BA85-F67CA995343C
[TRACE] 2024-01-03 17:48:32.081 CurlHttpClient [0x30c6f4000] amz-sdk-request: attempt=9; max=11
[TRACE] 2024-01-03 17:48:32.081 CurlHttpClient [0x30c6f4000] content-length: 1082
[TRACE] 2024-01-03 17:48:32.081 CurlHttpClient [0x30c6f4000] content-type: application/x-amz-json-1.1
[TRACE] 2024-01-03 17:48:32.081 CurlHttpClient [0x30c6f4000] host: cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:32.081 CurlHttpClient [0x30c6f4000] user-agent: aws-sdk-cpp/1.11.235 ua/2.0 md/aws-crt#0.24.11 os/Darwin/23.2.0 md/arch#x86_64 lang/c++#C++11 md/Clang#15.0.0 cfg/retry-mode#default api/Cognito_Identity_Provider
[TRACE] 2024-01-03 17:48:32.081 CurlHttpClient [0x30c6f4000] x-amz-api-version: 2016-04-18
[TRACE] 2024-01-03 17:48:32.081 CurlHttpClient [0x30c6f4000] x-amz-target: AWSCognitoIdentityProviderService.InitiateAuth
[DEBUG] 2024-01-03 17:48:32.081 CurlHandleContainer [0x30c6f4000] Attempting to acquire curl connection.
[DEBUG] 2024-01-03 17:48:32.081 CurlHandleContainer [0x30c6f4000] Connection has been released. Continuing.
[DEBUG] 2024-01-03 17:48:32.081 CurlHandleContainer [0x30c6f4000] Returning connection handle 0x7f82dc037800
[DEBUG] 2024-01-03 17:48:32.081 CurlHttpClient [0x30c6f4000] Obtained connection handle 0x7f82dc037800
[DEBUG] 2024-01-03 17:48:32.082 CURL [0x30c6f4000] (Text) WARNING: failed to open cookie file ""

[DEBUG] 2024-01-03 17:48:32.085 CURL [0x30c6f4000] (Text)   Trying 107.23.54.86:443...

[DEBUG] 2024-01-03 17:48:32.114 CURL [0x30c6f4000] (Text) Connected to cognito-idp.us-east-1.amazonaws.com (107.23.54.86) port 443

[DEBUG] 2024-01-03 17:48:32.114 CURL [0x30c6f4000] (Text) ALPN: curl offers h2,http/1.1

[DEBUG] 2024-01-03 17:48:32.115 CURL [0x30c6f4000] (Text) (304) (OUT), TLS handshake, Client hello (1):

[DEBUG] 2024-01-03 17:48:32.115 CURL [0x30c6f4000] (SSLDataOut) 336bytes
[DEBUG] 2024-01-03 17:48:32.126 CURL [0x30c6f4000] (Text)  CAfile: /etc/ssl/cert.pem

[DEBUG] 2024-01-03 17:48:32.126 CURL [0x30c6f4000] (Text)  CApath: none

[DEBUG] 2024-01-03 17:48:32.143 CURL [0x30c6f4000] (Text) (304) (IN), TLS handshake, Server hello (2):

[DEBUG] 2024-01-03 17:48:32.143 CURL [0x30c6f4000] (SSLDataIn) 100bytes
[DEBUG] 2024-01-03 17:48:32.143 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:32.143 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:32.144 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:32.144 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[DEBUG] 2024-01-03 17:48:32.144 CURL [0x30c6f4000] (Text) LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

[DEBUG] 2024-01-03 17:48:32.144 CURL [0x30c6f4000] (Text) Closing connection

[DEBUG] 2024-01-03 17:48:32.144 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:32.144 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:32.145 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:32.145 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[ERROR] 2024-01-03 17:48:32.145 CurlHttpClient [0x30c6f4000] Curl returned error code 35 - SSL connect error
[DEBUG] 2024-01-03 17:48:32.146 CurlHandleContainer [0x30c6f4000] Destroy curl handle: 0x7f82dc037800
[DEBUG] 2024-01-03 17:48:32.146 CurlHandleContainer [0x30c6f4000] Created replacement handle and released to pool: 0x7f82dc037800
[DEBUG] 2024-01-03 17:48:32.146 AWSClient [0x30c6f4000] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2024-01-03 17:48:32.146 AWSJsonClient [0x30c6f4000] HTTP response code: -1
Resolved remote host IP address: 107.23.54.86
Request ID: 
Exception name: 
Error message: curlCode: 35, SSL connect error
0 response headers:
[WARN] 2024-01-03 17:48:32.147 AWSClient [0x30c6f4000] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2024-01-03 17:48:32.147 AWSClient [0x30c6f4000] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2024-01-03 17:48:32.147 AWSClient [0x30c6f4000] Request failed, now waiting 6400 ms before attempting again.
[TRACE] 2024-01-03 17:48:38.552 AWSClient [0x30c6f4000] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2024-01-03 17:48:38.552 AWSClient [0x30c6f4000] Request Successfully signed
[TRACE] 2024-01-03 17:48:38.552 CurlHttpClient [0x30c6f4000] Making request to https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:38.552 CurlHttpClient [0x30c6f4000] Including headers:
[TRACE] 2024-01-03 17:48:38.552 CurlHttpClient [0x30c6f4000] amz-sdk-invocation-id: BA0E6C30-AFDA-46CF-BA85-F67CA995343C
[TRACE] 2024-01-03 17:48:38.552 CurlHttpClient [0x30c6f4000] amz-sdk-request: attempt=10; max=11
[TRACE] 2024-01-03 17:48:38.552 CurlHttpClient [0x30c6f4000] content-length: 1082
[TRACE] 2024-01-03 17:48:38.552 CurlHttpClient [0x30c6f4000] content-type: application/x-amz-json-1.1
[TRACE] 2024-01-03 17:48:38.552 CurlHttpClient [0x30c6f4000] host: cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:38.552 CurlHttpClient [0x30c6f4000] user-agent: aws-sdk-cpp/1.11.235 ua/2.0 md/aws-crt#0.24.11 os/Darwin/23.2.0 md/arch#x86_64 lang/c++#C++11 md/Clang#15.0.0 cfg/retry-mode#default api/Cognito_Identity_Provider
[TRACE] 2024-01-03 17:48:38.552 CurlHttpClient [0x30c6f4000] x-amz-api-version: 2016-04-18
[TRACE] 2024-01-03 17:48:38.552 CurlHttpClient [0x30c6f4000] x-amz-target: AWSCognitoIdentityProviderService.InitiateAuth
[DEBUG] 2024-01-03 17:48:38.553 CurlHandleContainer [0x30c6f4000] Attempting to acquire curl connection.
[DEBUG] 2024-01-03 17:48:38.553 CurlHandleContainer [0x30c6f4000] Connection has been released. Continuing.
[DEBUG] 2024-01-03 17:48:38.553 CurlHandleContainer [0x30c6f4000] Returning connection handle 0x7f82dc037800
[DEBUG] 2024-01-03 17:48:38.553 CurlHttpClient [0x30c6f4000] Obtained connection handle 0x7f82dc037800
[DEBUG] 2024-01-03 17:48:38.553 CURL [0x30c6f4000] (Text) WARNING: failed to open cookie file ""

[DEBUG] 2024-01-03 17:48:38.556 CURL [0x30c6f4000] (Text)   Trying 3.224.26.244:443...

[DEBUG] 2024-01-03 17:48:38.585 CURL [0x30c6f4000] (Text) Connected to cognito-idp.us-east-1.amazonaws.com (3.224.26.244) port 443

[DEBUG] 2024-01-03 17:48:38.585 CURL [0x30c6f4000] (Text) ALPN: curl offers h2,http/1.1

[DEBUG] 2024-01-03 17:48:38.586 CURL [0x30c6f4000] (Text) (304) (OUT), TLS handshake, Client hello (1):

[DEBUG] 2024-01-03 17:48:38.586 CURL [0x30c6f4000] (SSLDataOut) 336bytes
[DEBUG] 2024-01-03 17:48:38.598 CURL [0x30c6f4000] (Text)  CAfile: /etc/ssl/cert.pem

[DEBUG] 2024-01-03 17:48:38.598 CURL [0x30c6f4000] (Text)  CApath: none

[DEBUG] 2024-01-03 17:48:38.618 CURL [0x30c6f4000] (Text) (304) (IN), TLS handshake, Server hello (2):

[DEBUG] 2024-01-03 17:48:38.618 CURL [0x30c6f4000] (SSLDataIn) 100bytes
[DEBUG] 2024-01-03 17:48:38.618 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:38.618 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:38.619 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:38.619 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[DEBUG] 2024-01-03 17:48:38.619 CURL [0x30c6f4000] (Text) LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

[DEBUG] 2024-01-03 17:48:38.619 CURL [0x30c6f4000] (Text) Closing connection

[DEBUG] 2024-01-03 17:48:38.619 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:38.619 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:38.620 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:38.620 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[ERROR] 2024-01-03 17:48:38.620 CurlHttpClient [0x30c6f4000] Curl returned error code 35 - SSL connect error
[DEBUG] 2024-01-03 17:48:38.622 CurlHandleContainer [0x30c6f4000] Destroy curl handle: 0x7f82dc037800
[DEBUG] 2024-01-03 17:48:38.622 CurlHandleContainer [0x30c6f4000] Created replacement handle and released to pool: 0x7f82da021c00
[DEBUG] 2024-01-03 17:48:38.622 AWSClient [0x30c6f4000] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2024-01-03 17:48:38.622 AWSJsonClient [0x30c6f4000] HTTP response code: -1
Resolved remote host IP address: 3.224.26.244
Request ID: 
Exception name: 
Error message: curlCode: 35, SSL connect error
0 response headers:
[WARN] 2024-01-03 17:48:38.622 AWSClient [0x30c6f4000] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2024-01-03 17:48:38.622 AWSClient [0x30c6f4000] Date header was not found in the response, can't attempt to detect clock skew
[WARN] 2024-01-03 17:48:38.622 AWSClient [0x30c6f4000] Request failed, now waiting 12800 ms before attempting again.
[TRACE] 2024-01-03 17:48:51.425 AWSClient [0x30c6f4000] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2024-01-03 17:48:51.425 AWSClient [0x30c6f4000] Request Successfully signed
[TRACE] 2024-01-03 17:48:51.425 CurlHttpClient [0x30c6f4000] Making request to https://cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:51.425 CurlHttpClient [0x30c6f4000] Including headers:
[TRACE] 2024-01-03 17:48:51.425 CurlHttpClient [0x30c6f4000] amz-sdk-invocation-id: BA0E6C30-AFDA-46CF-BA85-F67CA995343C
[TRACE] 2024-01-03 17:48:51.425 CurlHttpClient [0x30c6f4000] amz-sdk-request: attempt=11; max=11
[TRACE] 2024-01-03 17:48:51.425 CurlHttpClient [0x30c6f4000] content-length: 1082
[TRACE] 2024-01-03 17:48:51.425 CurlHttpClient [0x30c6f4000] content-type: application/x-amz-json-1.1
[TRACE] 2024-01-03 17:48:51.425 CurlHttpClient [0x30c6f4000] host: cognito-idp.us-east-1.amazonaws.com
[TRACE] 2024-01-03 17:48:51.425 CurlHttpClient [0x30c6f4000] user-agent: aws-sdk-cpp/1.11.235 ua/2.0 md/aws-crt#0.24.11 os/Darwin/23.2.0 md/arch#x86_64 lang/c++#C++11 md/Clang#15.0.0 cfg/retry-mode#default api/Cognito_Identity_Provider
[TRACE] 2024-01-03 17:48:51.425 CurlHttpClient [0x30c6f4000] x-amz-api-version: 2016-04-18
[TRACE] 2024-01-03 17:48:51.425 CurlHttpClient [0x30c6f4000] x-amz-target: AWSCognitoIdentityProviderService.InitiateAuth
[DEBUG] 2024-01-03 17:48:51.425 CurlHandleContainer [0x30c6f4000] Attempting to acquire curl connection.
[DEBUG] 2024-01-03 17:48:51.425 CurlHandleContainer [0x30c6f4000] Connection has been released. Continuing.
[DEBUG] 2024-01-03 17:48:51.425 CurlHandleContainer [0x30c6f4000] Returning connection handle 0x7f82da021c00
[DEBUG] 2024-01-03 17:48:51.425 CurlHttpClient [0x30c6f4000] Obtained connection handle 0x7f82da021c00
[DEBUG] 2024-01-03 17:48:51.425 CURL [0x30c6f4000] (Text) WARNING: failed to open cookie file ""

[DEBUG] 2024-01-03 17:48:51.429 CURL [0x30c6f4000] (Text)   Trying 54.88.170.187:443...

[DEBUG] 2024-01-03 17:48:51.458 CURL [0x30c6f4000] (Text) Connected to cognito-idp.us-east-1.amazonaws.com (54.88.170.187) port 443

[DEBUG] 2024-01-03 17:48:51.458 CURL [0x30c6f4000] (Text) ALPN: curl offers h2,http/1.1

[DEBUG] 2024-01-03 17:48:51.459 CURL [0x30c6f4000] (Text) (304) (OUT), TLS handshake, Client hello (1):

[DEBUG] 2024-01-03 17:48:51.459 CURL [0x30c6f4000] (SSLDataOut) 336bytes
[DEBUG] 2024-01-03 17:48:51.472 CURL [0x30c6f4000] (Text)  CAfile: /etc/ssl/cert.pem

[DEBUG] 2024-01-03 17:48:51.472 CURL [0x30c6f4000] (Text)  CApath: none

[DEBUG] 2024-01-03 17:48:51.488 CURL [0x30c6f4000] (Text) (304) (IN), TLS handshake, Server hello (2):

[DEBUG] 2024-01-03 17:48:51.488 CURL [0x30c6f4000] (SSLDataIn) 100bytes
[DEBUG] 2024-01-03 17:48:51.489 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:51.489 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:51.489 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:51.489 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[DEBUG] 2024-01-03 17:48:51.490 CURL [0x30c6f4000] (Text) LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

[DEBUG] 2024-01-03 17:48:51.490 CURL [0x30c6f4000] (Text) Closing connection

[DEBUG] 2024-01-03 17:48:51.490 CURL [0x30c6f4000] (Text) TLSv1.2 (IN), TLS handshake, Certificate (11):

[DEBUG] 2024-01-03 17:48:51.490 CURL [0x30c6f4000] (SSLDataIn) 5030bytes
[DEBUG] 2024-01-03 17:48:51.490 CURL [0x30c6f4000] (Text) TLSv1.2 (OUT), TLS alert, decrypt error (563):

[DEBUG] 2024-01-03 17:48:51.490 CURL [0x30c6f4000] (SSLDataOut) 2bytes
[ERROR] 2024-01-03 17:48:51.490 CurlHttpClient [0x30c6f4000] Curl returned error code 35 - SSL connect error
[DEBUG] 2024-01-03 17:48:51.491 CurlHandleContainer [0x30c6f4000] Destroy curl handle: 0x7f82da021c00
[DEBUG] 2024-01-03 17:48:51.491 CurlHandleContainer [0x30c6f4000] Created replacement handle and released to pool: 0x7f82fa8c7000
[DEBUG] 2024-01-03 17:48:51.491 AWSClient [0x30c6f4000] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2024-01-03 17:48:51.491 AWSJsonClient [0x30c6f4000] HTTP response code: -1
Resolved remote host IP address: 54.88.170.187
Request ID: 
Exception name: 
Error message: curlCode: 35, SSL connect error
0 response headers:
[WARN] 2024-01-03 17:48:51.492 AWSClient [0x30c6f4000] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2024-01-03 17:48:51.492 AWSClient [0x30c6f4000] Date header was not found in the response, can't attempt to detect clock skew
[INFO] 2024-01-03 17:48:51.492 Aws_Init_Cleanup [0x30c6f4000] Shutdown AWS SDK for C++.
[INFO] 2024-01-03 17:48:51.492 CurlHandleContainer [0x30c6f4000] Cleaning up CurlHandleContainer.
[DEBUG] 2024-01-03 17:48:51.492 HttpClientFactory [0x30c6f4000] Cleanup Http Static State
[DEBUG] 2024-01-03 17:48:51.492 HttpClientFactory [0x30c6f4000] Cleanup Curl Http Client

@triton3 triton3 changed the title macOS Sonoma 14.2: Failed to connect to Cognito & Lambda endpoints (Curl error code 35) Reopening #2795 macOS Sonoma 14.2: Failed to connect to Cognito & Lambda endpoints (Curl error code 35 - SSL error) Reopening #2795 Jan 3, 2024
@triton3
Copy link
Author

triton3 commented Jan 3, 2024

Update: After updating to XCode 15.1 (and associated tools to use macOS 14.2 sdk).

The end result is still the same that our app cannot even get past initial authentication.

Could it be that the AWS sdk needs to be rebuilt using curl v8.4.0 ? Is there a way to specify that if curl is installed in a separate location when building the sdk from source?

@SergeyRyabinin
Copy link
Contributor

Hi @triton3,

Thank you for the update and investigation of the issue.
We just tried to run a quick reproduction of the issue on the macOS Sonoma and so far unfortunately were not able to reproduce it.

Here is how a custom curl build could be used during the SDK build:

git clone https://github.com/curl/curl.git
cd curl
# you might have to user something different other than openssl: https://curl.se/docs/install.html

./configure --with-openssl --enable-debug --prefix=$HOME/curl-install
make install

cd SDK_GIT_REPO

# You might want to examine the output of the next command to verify that custom curl is picked.
cmake .. -DENABLE_UNITY_BUILD=ON -DBUILD_ONLY="s3;s3-crt;core;cognito-idp" -DAUTORUN_UNIT_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$HOME/sdk-install -DCMAKE_PREFIX_PATH=$HOME/curl-install

cmake --build build -j 3 --config Debug

Best regards,
Sergey

@triton3
Copy link
Author

triton3 commented Jan 3, 2024

Hi @SergeyRyabinin Thank you for your response. I also managed to rebuild the AWS sdk on a mac with macOS 14.2 which has Curl v8.4.0 (see aws-build-log.txt attached), but I see the same issue.

The first set of API calls to authenticate via cognito goes through, but subsequent ones (MFA) fail. Please see aws_sdk_2024-01-03-21.log attached in case that helps - API calls to connect to cognito after line 384 are failing (this is when the MFA code is being submitted for verification).

At this point, I am not sure how to proceed on figuring out what else I can try. Any suggestions?

aws-build-log.txt
aws_sdk_2024-01-03-21.log

@sbiscigl
Copy link
Contributor

sbiscigl commented Jan 3, 2024

could you try to rebuild it with curl 8.5 provided homebrew? similiar to how sergey suggested in his response.

cmake -DCMAKE_PREFIX_PATH="/opt/homebrew/opt/curl/" \
  -DBUILD_ONLY="s3;s3-crt;core;cognito-idp" \
  -DAUTORUN_UNIT_TESTS=OFF \
  -DBUILD_ONLY="s3" \
  -DCMAKE_INSTALL_PREFIX="~/sdk-install" \
  ..

that will use the curl that homebrew installs instead of system. you can see this in your cmake output

--   Curl include directory: /opt/homebrew/opt/curl/include
--   Curl library: /opt/homebrew/opt/curl/lib/libcurl.dylib

edit: did some testing with 8.5 this morning and i could not replicate the issue

@SergeyRyabinin
Copy link
Contributor

Hi @triton3,

Thank you for providing the log file,
I can see a following instance of this line:

LibreSSL/3.3.6: error:0DFFF0A1:lib(13):func(4095):reason(161)

quick search lead me to this libcurl issue: curl/curl#12525

and our SDK performs curl_global_init and curl_global_cleanup quite extensively.

Well, there is hidden issue that SDK does not perform curl_global_init after cleanup (but libcurl has a hidden workaround that performs curl_global_init and hides/fixes our issue and that's why we did not notice it), and we have a PR that fixes this: #2424

May I ask you to try few different hacks to investigate the issue on your build?

  1. Please try to comment out curl_global_cleanup at


    This shall workaround the new libCurl-libreSSL issue (but will introduce a memory leak).

  2. Please try to use libCurl after their fix curl/curl@9f2d229
    with SDK with our additional fix: 042c5f7 (we are going to merge it soon anyway).

I expect either 1 to workaround (and confirm) the issue, or 2 to fix the issue.

Best regards,
Sergey

@jmklix jmklix added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days. p2 This is a standard priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Jan 4, 2024
@triton3
Copy link
Author

triton3 commented Jan 4, 2024

@SergeyRyabinin Thank you.

  1. Please try to comment out curl_global_cleanup at

Good news: After commenting out the curl cleanup function, it worked and subsequent calls to aws are connecting.

  1. Please try to use libCurl after their fix curl/curl@9f2d229
    with SDK with our additional fix: 042c5f7 (we are going to merge it soon anyway).

Will try this next and update the result here.

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days. label Jan 5, 2024
@triton3
Copy link
Author

triton3 commented Jan 5, 2024

  1. Please try to use libCurl after their fix curl/curl@9f2d229
    with SDK with our additional fix: 042c5f7 (we are going to merge it soon anyway).

Using Curl v8.5.0 along with the fix: 042c5f7 seems to work. Had to statically link the curl library, since the app was still picking the default macOS curl v8.4.0 when running on target machine.

Seems like this is a sensitive dependency for the AWS sdk, and we have no idea if Apple will decide to fix/update the curl version any time soon, or may break anytime in the future. Shouldn't it be mentioned in the instructions which version of Curl was tested and worked, or at least cautioning developers to use custom built curl library to ensure correctness?

@sbiscigl
Copy link
Contributor

@sbiscigl
Copy link
Contributor

updated documentation to warn about using libcurl 8.4.0, resolving this issue, please re-open if you have any more comments on how we could surface this to customers or need any more help

Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p2 This is a standard priority issue
Projects
None yet
Development

No branches or pull requests

4 participants