RGW authentication fail with AWS S3 v4

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

 



Hi all,
I'm using Ceph Object Gateway with S3 API (ceph-radosgw-10.2.5-0.el7.x86_64 on CentOS Linux release 7.3.1611) and  I use generate_presigned_url method of boto3 to create rgw url. This url working fine in period of 15 minutes, after 15 minutes I recived RequestTimeTooSkewed error. My radosgw use Asia/Ho_Chi_Minh timezone and running ntp service. Here is url and rgw log: 

- URL:
http://rgw.xxx.vn/bucket/key.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=86400&X-Amz-Credential=7AHTO4E1JBZ1VG1U96F1%2F20170203%2F%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Date=20170203T081233Z&X-Amz-Signature=682be59232443fee58bc4744f656c533da8ddd828e36b739b332736fa22bef51

- RGW LOG:
// //
NOTICE: request time skew too big.
now_req = 1486109553 now = 1486110512; now - RGW_AUTH_GRACE_MINS=1486109612; now + RGW_AUTH_GRACE_MINS=1486111412
failed to authorize request
handler->ERRORHANDLER: err_no=-2012 new_err_no=-2012
// //

Someone can help me reslove this problem ? Thank
_______________________________________________
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