-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Aws::AutoScaling::Client#create_auto_scaling_group yielding Seahorse::Client::NetworkingError #966
Comments
The issue is in your configuration. You specify the region with |
Since this was the second or third issue I've seen raised by users that were confused by the unhelpful error message returned from the networking stack, I've added some validation that will reject the region if it is an availability zone. This will go out with our next release. Thanks for reporting this issue. |
Well, that appears to have been the issue. I'm glad it was something simple like this. Is this documented anywhere or is there any chance of getting better error messages? This corner of the libarary is a labrynth of metaprogramming. It was rough trying to track down a potential source. |
Great, thanks! |
I am able to use aws-sdk to create Autoscale groups if I supply an EC2 instance with the
instance_id
option. However, when I attempt to create one using a launch config (launch_configuration_name
) and thevpz_zone_identifier
, I'm met with the following error:Here's a loose example of how I get the above error:
Note that omitting
launch_configuration_name
andvpc_zone_identifier
and addinginstance_id
with a valid EC2 instance ID works perfectly.Fearing an issue with my options, I successfully created an Autoscale group via the web console and picked out the parameters it sent back to the server. I then plugged those parameters into the same code above and was met with the exact same error.
I then attempted to use curl with both the above parameters and the ones I extracted to try to create an Autoscale group via the endpoints documented here: http://docs.aws.amazon.com/general/latest/gr/rande.html#as_region
Those endpoints sent me in a loop of 302 and 301 redirect codes, which eventually landed me on the main sales page for the Autoscaling service.
Unless I misread the source, the library uses http://autoscaling.amazonaws.com/doc/2011-01-01/ as an endpoint. When I tried to use curl here, I was met with 404's and
<UnknownOperationException/>
errors regardless of the payload I sent it.Any input you guys can provide would be awesome! Thanks!
The text was updated successfully, but these errors were encountered: