Re: Receiving "failed to parse date for auth header"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 04.09.2015 um 11:42 schrieb Ramon Marco Navarro:
Good day everyone!

I'm having a problem using aws-java-sdk to connect to Ceph using
radosgw. I am reading a " NOTICE: failed to parse date for auth header"
message in the logs. HTTP_DATE is "Fri, 04 Sep 2015 09:25:33 +00:00",
which is I think a valid rfc 1123 date...

Here's a link to the related lines in the log file:
https://gist.github.com/ramonmaruko/96e841167eda907f768b

Thank you for any help in advance!


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


I had the same problem today. The date has to be rfc 822 (no colons) but the pattern ("EEE, dd MMM yyyy HH:mm:ss z") at com.amazonaws.util.DateUtils#L55 has a "z" which can give "GMT" but also "+00:00". I couldn't figure out yet why I always get "+00:00" with my recent project but not with others (same Java 8, same SDK version) ...

I create a ticket and provided a fix: https://github.com/aws/aws-sdk-java/issues/514 because to my understanding it should always be GMT.

Cheers,
Jens


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux