I am using Chef Solo to create a Jenkins CI server on an EC2 instance. I follow a similar process with a chef and a tramp without any problems, but when I try to run cookbooks on EC2, I get the following problem:
FATAL: Zlib::BufError: http_request[HEAD http://updates.jenkins-ci.org/latest/git.hpi] (chef-jenkins::default line 70) had an error: Zlib::BufError: buffer error
Essentially, Jenkins installs fine, but when it tries to get the plugins listed in:
jenkins[:server][:plugins]
it does not work with the above messages for each plugin.
I use: https://github.com/fnichol/chef-jenkins .
I tried a simple wget on an EC2 instance at the same plugin url and I get the following error:
Connecting to updates.jenkins-ci.org|63.246.20.93|:443... connected.
ERROR: certificate common name `jenkins-ci.org' doesn't match requested host name `updates.jenkins-ci.org'.
To connect to updates.jenkins-ci.org insecurely, use `--no-check-certificate'.
I do not know if this is a temporary problem with Jenkins (I had some problems before installing Jenkins with the help of a chef due to problems at the end of Jenkins), or there is something wrong with installing EC2.
, .
... , , 'devops' Stackoverflow? Exchange... ?