maheshwarirohit87 / typica

Automatically exported from code.google.com/p/typica
Apache License 2.0
0 stars 0 forks source link

runInstances is broken : "direct" adressing type is deprecated #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi

I cannot use as-is the runInstance

The error returned by amazon:

<?xml version="1.0"?>
<Response><Errors><Error><Code>InvalidParameterValue</Code><Message>Direct
addressing has been deprecated and is not available to this EC2 account.
Please specify an alternate addressing type. Supp
rted addressing types are:
public</Message></Error></Errors><RequestID>1dc3c0d1-1029-4347-a907-59544b41d583
</RequestID></Response>titi

The file to update : Jec2.java
change 
   params.put("AddressingType", "direct);
to 
   params.put("AddressingType", "public");

Everything else works great, thanks for sharing this lib.

Enjoy your day !
Florent

Original issue reported on code.google.com by framiere on 11 May 2007 at 10:10

GoogleCodeExporter commented 9 years ago
I was aware of the issue, but didn't know it would cause problems. I'll have it 
fixed
i n the next release.

Original comment by dkavan...@gmail.com on 23 May 2007 at 1:19

GoogleCodeExporter commented 9 years ago
I've set the default addressing to be "public" since Amazon has deprecated 
"direct".
I've also included another runInstances() method that allows you to specify 
direct
addressing if it is required by some users. The change is in svn.

Original comment by dkavan...@gmail.com on 23 May 2007 at 1:21