rundeck-plugins / rundeck-ec2-nodes-plugin

Get resource node data from Amazon EC2
85 stars 45 forks source link

Proxy ignored #56

Closed zash01 closed 6 years ago

zash01 commented 7 years ago

Hi, I am using the plugin version 1.5.2 The Proxy is set in the required fields, also set as Java parameters for rundeck and in /etc/environment. The AWS Endpoint is also set correct. It should be used the Instance IAM-Role to get the Nodes from EC2. But I get this Exception and the Nodes are not imported com.amazonaws.AmazonClientException: Unable to execute HTTP request: Connect to sts.amazonaws.com:443 timed out

Thanks in advance!

opticpow commented 6 years ago

I am also seeing the same behavior. When using IAM keys, accessing the ec2 endpoint uses the configured proxy credentials. However when using an ARN, the call to STS is not honoring the proxy settings. Using the latest 1.5.5 release.

2018-01-08 20:23:05,420 [NodeService-SourceLoader67] ERROR com.dtolabs.rundeck.core.common.ProjectNodeSupport - Failed loading resource model source #1 in project bmo-platform-test1, skipping: com.amazonaws.SdkClientException: Unable to execute HTTP request: Connect to sts.amazonaws.com:443 [sts.amazonaws.com/54.239.29.25] failed: connect timed out

gretel commented 6 years ago

@gschueler could this be merged? it's important for enterprise environments.

gretel commented 6 years ago

@gschueler thanks, but it doesn't change the behaviour for me. can you check on your side? regards