无法访问EC2实例上的Product Advertising API

时间:2011-08-09 19:16:44

标签: amazon-web-services amazon-ec2 amazon-product-api

我部署了一个微型EC2 Windows实例,我正试图通过亚马逊产品广告API。如果我在EC2实例上,是否存在差异网址?在ec2网络之外我的电脑上的相同网址。我有互联网连接,可以访问http://ecs.amazonaws.com

[ERROR] 2011-08-09 17:36:41,956 could not retrieve batch
java.io.IOException: Server returned HTTP response code: 400 for URL: http://ecs.amazonaws.com/onca/xml?AWSAccessKeyId=[key]&Condition=New&IdType=UPC&IncludeReviewsSummary=False&ItemId=[parameters]&Service=AWSECommerceService&Timestamp=2011-08-09T16%3A36%3A41Z&Version=2010-11-01&Signature=c8MBHhPCa3BF96YTl8xEbYnw0YQvt2wsYAU%2BWl0apFw%3D
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    at 
    at java.lang.Thread.run(Unknown Source)

0 个答案:

没有答案