AWS CLI not working behind proxy

0

Issue: I’m trying to get aws cli working through a proxy on a Windows or linux guest VM but not having any luck.

Note: all my VMs are configured with my organization proxy, these allows us to connect successfully to Internet via https

requirement: ( testing Aws cloud ) Configure Aws CLI on a windows and Linux guest vm which is connected to Internet via proxy-server. have set the PROXY address as per the AWS documentation (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-proxy.html), but still getting error "Failed to connect to proxy URL https:\IPADDRESS:PORTnumber"

note: I am able to connect to Azure cloud using azure cli from the same VMs.

How do i connect to aws cli using the proxy ?

Regards Nithin

NK
gefragt vor einem Jahr1842 Aufrufe
1 Antwort
0

If the proxy settings (both HTTP_PROXY and HTTPS_PROXY) are correct & working with other python applications like azure-cli, then my next quess would be incorrect or mis-spelled region. With older versions of aws-cli you got the proxy error when actual problem was with region setting.

Here is a github issue describing the case https://github.com/aws/aws-cli/issues/3872

But in your post it says "https:\IPADDRESS:PORTnumber". I think it should be "https://..." or "http://..." ?

profile picture
EXPERTE
Kallu
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen