icingaweb2-module-aws icon indicating copy to clipboard operation
icingaweb2-module-aws copied to clipboard

Proxy not used

Open dgoetz opened this issue 5 years ago • 0 comments

Expected Behavior

Setting a proxy in the configuration makes the module use the proxy.

Current Behavior

Setting a proxy in the configuration has no effect.

Possible Solution

Changing library/Aws/AwsClient.php line 273 to

$params['http'] = array(

works for me. I did not create a PR as I think ssl_ca will perhaps also not work, but could not verify.

Context

No internet access without proxy from the Icinga Web 2 installation.

Your Environment

  • Module version (System - About): 1.0.0 (git commit 0a889cc8eb60308e0dbe12e458298c1ef1a3553d)
  • AWS SDK version: 3.133.17
  • Icinga Web 2 version and modules (System - About): 2.7.3
  • Icinga 2 version (icinga2 --version): 2.11.2
  • Operating System and version: CentOS Linux release 7.7.1908
  • Webserver, PHP versions: httpd + php-fpm 7.1.30

dgoetz avatar Feb 19 '20 11:02 dgoetz