Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

connect timeout when using proxy #54

Open
Enrice opened this issue Apr 30, 2018 · 0 comments
Open

connect timeout when using proxy #54

Enrice opened this issue Apr 30, 2018 · 0 comments

Comments

@Enrice
Copy link

Enrice commented Apr 30, 2018

Hello. I actually was able to use a proxy through setting it in the environment, but our proxy seems to be too slow on providing a connection because it scans the download beforehand.

I get:
Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Connection timed out - connect(2) for "download.oracle.com" port 80 at /data/config/puppet/common/modules/oracle_java/manifests/download.pp:33:17 at [..] /opt/puppetlabs/puppet/lib/ruby/2.1.0/net/http.rb:879:in 'initialize' /opt/puppetlabs/puppet/lib/ruby/2.1.0/net/http.rb:879:in 'open' /opt/puppetlabs/puppet/lib/ruby/2.1.0/net/http.rb:879:in 'block in connect' /opt/puppetlabs/puppet/lib/ruby/2.1.0/timeout.rb:90:in 'block in timeout' /opt/puppetlabs/puppet/lib/ruby/2.1.0/timeout.rb:100:in 'call' /opt/puppetlabs/puppet/lib/ruby/2.1.0/timeout.rb:100:in 'timeout' /opt/puppetlabs/puppet/lib/ruby/2.1.0/net/http.rb:878:in 'connect' /opt/puppetlabs/puppet/lib/ruby/2.1.0/net/http.rb:863:in 'do_start' /opt/puppetlabs/puppet/lib/ruby/2.1.0/net/http.rb:852:in 'start' /opt/puppetlabs/puppet/lib/ruby/2.1.0/net/http.rb:583:in 'start' /data/config/puppet/common/modules/oracle_java/lib/puppet_x/aco/util.rb:22:in 'request' /data/config/puppet/common/modules/oracle_java/lib/puppet/parser/functions/oracle_sso.rb:23:in 'block in <module:Functions>'

I had to change the module, because the official puppetlabs module could no longer download an older jdk because they don't provide a means of logging in into oracle. However it uses stdlib archive which does not have this timeout problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant