Skip to content

Cognito SDK, Broken Pipe #2494

Answered by SergeyRyabinin
sosRoland asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sosRoland ,

You did not specify the OS and the configuration you use, I assume it is some linux with default curl and OpenSSL crypto libraries.

Could you please check if setting Aws::SDKOptions.httpOptions.installSigPipeHandler option will fix your issue?

    Aws::SDKOptions options;
    options.httpOptions.installSigPipeHandler = true;

Also, from https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/basic-use.html#sdk-setting-options:

When installSigPipeHandler is true, the SDK for C++ uses a handler that ignores SIGPIPE signals. For more information on SIGPIPE, see Operation Error Signals on the GNU Operating System website. For more information on the curl handler, see CURLO…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jmklix
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SergeyRyabinin
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants