Project

General

Profile

Actions

Bug #7545

closed

service-wait should disable proxy usage in case environmental variables exist

Added by Justin Sherrill over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

a user in #katello was hitting a installer issue:

[ERROR 2014-09-19 17:22:14 main] Could not start Service[tomcat6]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait tomcat6 start' returned 5: Starting tomcat6: [ OK ]

as it turned out the http_proxy and https_proxy environment variables were defined.

When he ran:

/usr/bin/wget --timeout=1 -4 --tries=5 --retry-connrefused --no-check-certificate https://localhost:8443/candlepin/status

he got:

| Resolving proxy.domain... 192.168.0.44 | Connecting to proxy.domain|192.168.0.44|:8080... connected. | Proxy tunneling failed: ForbiddenUnable to establish SSL connection.

Which indicated wget was trying to use his proxy.

We should tell wget and curl to not use a proxy:

looks like 'wget --no-proxy' and 'curl --noproxy *' should do this.

Actions

Also available in: Atom PDF