Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
S3 putObject fails on Elastic Beanstalk with SSL/cURL error #1110
My app is deployed on Elastic Beanstalk v2.1.7. When it tries to upload an object into S3, I'm seeing this error:
It'd appear that updating a system package through yum would fix this, however I'm not very comfortable with this as the changes would be lost whenever a new EC2 instance goes up.
Is there a workaround?
If this still happens in regardless of upgrade solution etc, it would be helpful if you could provide a wire log information with
Thanks for sharing the debug option @cjyclaire. As I turned it on, it revealed a trace of the HTTP connection.
Searching for one of the errors yielded some guidance on disabling a fork verification for NSS, as per https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Reference/NSS_environment_variables.
The relevant command is:
Once this is done, no more errors occur. That said, Mozilla clearly states it's an error to do this but I couldn't find an explanation as to why, which makes me a bit uneasy. However, given that this is the best way forward (I couldn't find an updated libcurl that works with Amazon Linux AMI and compiling the source code to build a custom package feels as it could break at any time) I'll be using it.
Thanks again for sharing the instructions to turn on the HTTP debug.