Skip to content
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

invalid configuration option `:proxy_uri' with AWS Ruby SDK V2 #15

Closed
wanghq opened this issue Jul 1, 2015 · 1 comment
Closed

invalid configuration option `:proxy_uri' with AWS Ruby SDK V2 #15

wanghq opened this issue Jul 1, 2015 · 1 comment
Assignees
Labels

Comments

@wanghq
Copy link

wanghq commented Jul 1, 2015

In AWS Ruby SDK V2, the proxy_uri option is changed to http_proxy.

http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Client.html#initialize-instance_method
https://forums.aws.amazon.com/thread.jspa?threadID=172034

Using the proxy_uri will cause ArgumentError: invalid configuration option `:proxy_uri'
https://github.com/logstash-plugins/logstash-mixin-aws/blob/master/lib/logstash/plugin_mixins/aws_config/v2.rb#L20

A fix would be just changing:

    opts[:proxy_uri] = @proxy_uri if @proxy_uri

to:

    opts[:http_proxy] = @proxy_uri if @proxy_uri
@andrewvc
Copy link
Contributor

Released with v1.0.1 of this plugin. Thanks for finding this @wanghq!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants