-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASK_CLI_PROXY is not used by the DefaultApiClient #434
Labels
Comments
Thanks for the bug report Jamie! |
doiron
pushed a commit
that referenced
this issue
Apr 22, 2023
doiron
pushed a commit
that referenced
this issue
May 2, 2023
doiron
pushed a commit
that referenced
this issue
May 2, 2023
doiron
pushed a commit
that referenced
this issue
May 2, 2023
doiron
pushed a commit
that referenced
this issue
May 3, 2023
doiron
pushed a commit
that referenced
this issue
May 8, 2023
doiron
pushed a commit
that referenced
this issue
May 9, 2023
doiron
added a commit
that referenced
this issue
May 15, 2023
feat: add proxy support for smapi commands #434
Merged
This looks to be working as expected now! I really appreciate you getting this installed @doiron 😀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a...
Expected Behavior
The ASK_CLI_PROXY environment variable should work for every SMAPI call made through ASK-CLI.
Current Behavior
The environment variable is completely ignored for most calls, as they go through the DefaultApiClient (ask-sdk-model-runtime\dist\index.js). A call that works with this variable is 'export-package,' which goes through clients\http-client.js.
This issue causes our corporate proxy to block the following calls:
Steps to Reproduce (for bugs)
Run 'ask smapi create-upload-url' as an example of a call that uses the DefaultApiClient.
Possible Solution
The following change to index.js allows the calls above to be made successfully in our environment[s]. If this approach could be made more robust, and was implemented into ask-cli, it'd be very helpful.
Your Environment and Context
The text was updated successfully, but these errors were encountered: