Error on chef Opsworks AWS
Starting today i have an error with chef 12 on AWS Opsworks
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Resolving dependencies...
Installing aws-sigv4 1.0.2
Installing jmespath 1.3.1
Using bundler 1.12.5
Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/aws-sdk-core-2.10.127.gem)
An error occurred while installing aws-sdk-core (2.10.127), and Bundler cannot
continue.
Make sure that `gem install aws-sdk-core -v '2.10.127'` succeeds before
bundling.
STDERR:
---- End output of bundle install ----
Ran bundle install returned 5
[2018-02-07T09:50:55+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Anyone as same problem?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by kerrizor on 07 Feb, 2018 05:08 PM
Are you behind a firewall or proxy? Sometimes we see this kind of thing happen intermittently.
Have you tried updating to the latest versions of openssl and bundler?
2 Posted by Tanuj on 08 Feb, 2018 03:19 PM
We are seeing the same issue today from AWS eu-west-1 region.
[0;32m amazon-ebs: TASK [ruby : Get Rubygems] *****************************************************[0m [0;32m amazon-ebs: [0;31mfatal: [127.0.0.1]: FAILED! => {"changed": false, "dest": "/tmp/rubygems-2.7.4.zip", "msg": "Request failed: ", "state": "absent", "url": "https://rubygems.org/rubygems/rubygems-2.7.4.zip"}[0m[0m
3 Posted by ynuyasha on 08 Feb, 2018 03:29 PM
I'm on eu-west-1 region too.
4 Posted by Tanuj on 08 Feb, 2018 03:55 PM
The issue seems to be with the SSL connection. It connects intermittently.
root@ip-10-X-X-X:/home/ubuntu/rubygems-2.7.4# wget https://rubygems.org/rubygems/rubygems-2.7.4.zip
--2018-02-08 15:24:37-- https://rubygems.org/rubygems/rubygems-2.7.4.zip Resolving rubygems.org (rubygems.org)... 151.101.130.2, 151.101.194.2, 151.101.2.2, ...
Connecting to rubygems.org (rubygems.org)|151.101.130.2|:443... connected.
Unable to establish SSL connection.
root@ip-X-X-X-X:/home/ubuntu/rubygems-2.7.4# wget https://rubygems.org/rubygems/rubygems-2.7.4.zip
--2018-02-08 15:24:47-- https://rubygems.org/rubygems/rubygems-2.7.4.zip Resolving rubygems.org (rubygems.org)... 151.101.66.2, 151.101.130.2, 151.101.194.2, ...
Connecting to rubygems.org (rubygems.org)|151.101.66.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1138574 (1.1M) [application/zip]
Saving to: ‘rubygems-2.7.4.zip.2’
5 Posted by Tanuj on 08 Feb, 2018 07:43 PM
Fastly which host rubygems and even pypi were throttling our AWS IP's from AWS Ireland region. I modified the public ip and its fixed it for now. The same should help to you ynuyasha as well.
Support Staff 6 Posted by kerrizor on 08 Feb, 2018 08:10 PM
Glad it could get sorted!
kerrizor closed this discussion on 08 Feb, 2018 08:10 PM.
ynuyasha re-opened this discussion on 09 Feb, 2018 01:36 PM
7 Posted by ynuyasha on 09 Feb, 2018 01:36 PM
i can't change external ip because is our NAT gateway that we use for other reason, so we present to Internet always with the same ip's
8 Posted by Tanuj on 09 Feb, 2018 05:57 PM
https://status.fastly.com/incidents/k3zzxnkz4vcd
Fastly has recognised the issue.
Support Staff 9 Posted by kerrizor on 10 Feb, 2018 10:49 PM
At this time Fastly believes the issue resolved. More information can be found here: https://status.fastly.com/incidents/k3zzxnkz4vcd
kerrizor closed this discussion on 10 Feb, 2018 10:49 PM.