-
Notifications
You must be signed in to change notification settings - Fork 240
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
Respect IDE HTTP Proxy settings #685
Comments
SDK change was released in 2.2.0 |
I downloaded aws toolkit in intellij plugins. Even though proxy is set in intellij network settings, toolkit doesn't connect to aws lambda or cloudformation. What is the situation of this issue? @abrooksv |
We have not implemented it yet, this is a feature request. When attempting the change we found a bug in the SDK that will need to be fixed first. aws/aws-sdk-java-v2#975 |
Bugfix against SDK: aws/aws-sdk-java-v2#989 |
Another fix in Java SDK: aws/aws-sdk-java-v2#990 |
Code changes have been made and hidden behind a feature flag to opt-in. There are known issues since the SDK issues have not been merged. |
Tested the proxy integration does work but UrlConnectionHttpClient fails with signature validation issues against some services, SDK issue: aws/aws-sdk-java-v2#1078 |
I'm facing the same issue. We use corporate proxy with authentication and the AWS Toolkit cannot connect to the AWS |
I'm facing the same issue too. |
I have the same issue. Is there a workaround? I'm not very familiar with proxy-settings in general |
Trying a different approach: aws/aws-sdk-java-v2#1154 |
Proxy support has been re-written and showing good results. Will stay behind an experimental feature flag until we get some real-world users. |
Experimental support landed in 1.3-EAP.2019.04.04. @onedaywillcome1 @waSRull @bikerp If you would like to test it with your setup, please enable EAP builds (https://github.com/aws/aws-toolkit-jetbrains#eap-builds) and then enable the feature through the experimental actions system. |
Works for me through our corporate proxy, thanks. |
@abrooksv Thanks for the update. It works. |
This has been released in version 1.3 |
Calls to AWS via the AWS clients should respect the IDE-wide HTTP settings.
We will need to create our own implementation of the
SdkHttpClient
, the JetBrains framework has acom.intellij.util.net.HttpConfigurable
that we can use to create aHttpUrlConnection
(which includes IDE proxy settings if present). We should switch from the AWSApacheHttpClient
(and remove the dependency from our dependency closure), toUrlConnectionHttpClient
and then update the AWS SDK for Java so that it can accept a proxy configuration per request.Also need to update
software.aws.toolkits.core.utils.RemoteResourceResolver
The text was updated successfully, but these errors were encountered: