Export to GitHub

typica - issue #96

MonitoringException when calling listMetrics()


Posted on Jul 11, 2010 by Happy Panda

I don't think this is necessarily a Typica issue, but I would like to get it into the system just in case. See http://developer.amazonwebservices.com/connect/message.jspa?messageID=173410 for details.

Typica 1.7, Java 1.6.0_20 (64-bit), Mac OS X 10.6.4.

Comment #1

Posted on Jul 26, 2010 by Happy Panda

I just tried the Amazon SDK for Java client, and it works. Logging the HTTP traffic shows two major differences. First, AWSSDK uses POST while Typica uses GET. Secondly, the "Timestamp" headers are formatted differently (AWSSDK includes microseconds).

I'm not sure if either of these matter, but hope it helps.

Comment #2

Posted on Sep 6, 2010 by Happy Panda

OK, I tried what may be the most obvious thing, in hindsight: changing the User-Agent header to "AWS Java SDK-1.0.007" and leaving everything else intact (in other words, ignoring the differences from my previous command) fixes the problem.

I obviously don't expect Typica to use a different User-Agent, but would it possible to make the User-Agent customizable? Currently, the only way to change it is to modify the Typica source code.

Status: New