Timestamp parsing error
Jeffrey T Eaton
jeaton at cmu.edu
Mon Jul 21 21:19:40 EDT 2014
I’ve seen a few of these errors in my IDP logs recently:
19:34:32.571 - ERROR [edu.internet2.middleware.shibboleth.common.profile.ProfileRequestDispatcherServlet:89] - Error occurred while processing request
java.lang.IllegalArgumentException: Invalid format: "2014-07-21T23:34:31.25ZZ" is malformed at "Z"
at org.joda.time.format.DateTimeFormatter.parseMillis(DateTimeFormatter.java:644) ~[joda-time-1.6.2.jar:1.6.2]
at org.joda.time.convert.StringConverter.getInstantMillis(StringConverter.java:65) ~[joda-time-1.6.2.jar:1.6.2]
at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:171) ~[joda-time-1.6.2.jar:1.6.2]
at org.joda.time.DateTime.<init>(DateTime.java:213) ~[joda-time-1.6.2.jar:1.6.2]
at org.opensaml.saml2.core.impl.RequestAbstractTypeUnmarshaller.processAttribute(RequestAbstractTypeUnmarshaller.java:53) ~[opensaml-2.5.1.jar:na]
[snip]
I haven’t been able to correlate it to any specific SP sending the request (it would be really helpful if when logging errors, there was a way to connect it back to a specific HTTP request, or something - even just logging the source IP would be a start).
That date format is clearly bad, but does anyone have any advice on debugging what’s sending it?
-jeaton
More information about the users
mailing list