Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Update Proxy settings for installation script #169

Merged
merged 1 commit into from Sep 10, 2021

Conversation

SamKhGit
Copy link
Contributor

Description of changes:
SSM Agent 3.0.1390.0 and later is not using http_proxy setting for HTTPS traffics and setting https_proxy is mandatory.

Updated SSM Agent PowerShell installation script to include https_proxy.

The reason is a change in Go version 1.16 net/http.

The ProxyFromEnvironment function no longer returns the setting of the HTTP_PROXY environment variable for https:// URLs when HTTPS_PROXY is unset

Here is more references about the change:

[+] https://go-review.googlesource.com/c/net/+/249440/4/http/httpproxy/proxy.go
[+] golang/go#40909

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

SSM Agent 3.0.1390.0 and later is not using http_proxy setting for HTTPS traffics and setting https_proxy is mandatory.
@CalebAWS CalebAWS merged commit 3627d29 into awsdocs:main Sep 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants