-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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) #2795
Comments
1.4 is awfully old and we arent going to be offering any more updates on the 1.4 tag. Also in 1.11 we changed a lot with how we resolve endpoints which will likely resolve your problem. Is there any reason you cannot update from 1.4 to 1.11? |
Honestly, it was because of the breaking changes in v1.5 which blocked us from keeping it up to date. The issue really is that v1.4 was working perfectly fine until macOS 14.2 - We are not sure why the macOS version would cause a connectivity issue with AWS. Could it be the CURL version?
|
i think this could be correct, you could try targeting a older version of curl. but ultimately I do have to recommend updating to pick up important changes that have happened since.
Yeah we have daily CI builds for it, and if we did break it, it would be a super high priority fix because of the number of developers it would effect |
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one. |
We updated to the latest sdk v1.11.235 and still seeing connectivity issues. Logs attached below. Error message: Logs:
|
Reading elsewhere, this appears to be an issue with the libcurl that comes with macOS 14.2 (which I believe is v.8.4.0). There is talk that v.8.5.0 does not suffer from this issue but I've yet to confirm that this is the case.
|
This is interesting. I updated XCode to 15.1 (and associated tools to use macOS 14.2 sdk). Now I see the same behavior @Jonathanrwebb reported.
This seems to be the case both with AWS sdk v1.4.31 (which we had earlier), as well as with latest AWS sdk v1.11.235 I am not sure why subsequent calls fail, but 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? |
@Jonathanrwebb See this comment: #2804 (comment) |
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.
CurlHttpClient [0x308ac8000] Curl returned error code 35
Reproduction Steps
Aws::CognitoIdentityProvider::Model::InitiateAuthOutcome auth_request_result = cognito_client_->InitiateAuth(auth_request);
Possible Solution
No response
Additional Information/Context
SDK logs:
AWS CPP SDK version used
1.4.31
Compiler and Version used
clang version 15.0.0
Operating System and version
macOS Sonoma v14.2
The text was updated successfully, but these errors were encountered: