[http-connection] - static: Client connection failed with error 30 (AWS_ERROR_PRIORITY_QUEUE_EMPTY) #611
-
With latest aws-iot-device-sdk-cpp-v2 latest code and FIPS enabled crypto we are seeing that connection(client TLS) fails with following error [TRACE] [2023-08-08T17:35:38Z] [00007fdbba073700] [channel-bootstrap] - id=0x5623e33d1210: Setting up socket handler on channel 0x7fdbb00018d0 with handler 0x7fdbb0012890 on slot 0x7fdbb00122e0. Attaching the trace and error logs. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The error code is a red herring. You've hit a code path that fails but does not set the thread-local error code and so whatever was set previously is being surfaced. Based on the logging, I believe the failing call is here: https://github.com/awslabs/aws-c-io/blob/main/source/channel_bootstrap.c#L299-L300 Without knowing more about platform, compilation setup, and what "FIPS enabled crypto" implies, I can't say more. I would suggest stepping into the function above and seeing what exactly is failing. |
Beta Was this translation helpful? Give feedback.
The error code is a red herring. You've hit a code path that fails but does not set the thread-local error code and so whatever was set previously is being surfaced.
Based on the logging, I believe the failing call is here:
https://github.com/awslabs/aws-c-io/blob/main/source/channel_bootstrap.c#L299-L300
Without knowing more about platform, compilation setup, and what "FIPS enabled crypto" implies, I can't say more.
I would suggest stepping into the function above and seeing what exactly is failing.