awsmobile-cli icon indicating copy to clipboard operation
awsmobile-cli copied to clipboard

CLI use behind proxy

Open rdingwell opened this issue 6 years ago • 2 comments

When attempting to use the cli behind a proxy all of the calls I make result in network timeouts. I have just about every environment variable I can think of to attempt to set the proxy but either the cli or underlying aws-sdk does not appear to pick these up. I fired up wireshark to see what was going on and saw the traffic is not attempting to go through the proxy.

Is there a way to set a configuration variable to have the CLI use a proxy?

The only information I found is for the aws-sdk-javascript which seems to point to this needing to be done in code, which does not seem practical for a cli based tool. https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-configuring-proxies.html Thanks

rdingwell avatar May 09 '18 13:05 rdingwell

unfortunately the cli currently does not provide this capability.

UnleashedMind avatar May 09 '18 19:05 UnleashedMind

I really need awsmobile-cli to support proxies too! We are behind a corporate firewall & its good that the standard aws-cli supports proxying already. Its built into npm & operating system defaults, so please add soon or we are unable to use aws-mobile thanks

caramorsimon avatar Sep 12 '18 11:09 caramorsimon