minio / minio-cpp

MinIO C++ Client SDK for Amazon S3 Compatible Cloud Storage
https://minio-cpp.min.io/
Apache License 2.0
135 stars 56 forks source link

RequestTimeTooSkewed authentication failure. #155

Closed DKGH closed 3 months ago

DKGH commented 3 months ago

While trying to connect to a database in my organization, I am getting a similar error as described here: https://github.com/minio/minio-java/issues/701. I can connect to this database server using Chrome from the same client. I can also connect using minio-cpp if I tweak my time-zone a little bit. Please see if it is possible to disable time check or use another method of authentication which doesn't involve time check?

harshavardhana commented 3 months ago

While trying to connect to a database in my organization, I am getting a similar error as described here: minio/minio-java#701. I can connect to this database server using Chrome from the same client. I can also connect using minio-cpp if I tweak my time-zone a little bit. Please see if it is possible to disable time check or use another method of authentication which doesn't involve time check?

Unfortunately, time checks are the basis of AWS S3 signature; they cannot be turned off. Fix your system to have synchronized times via NTP.

aliddell commented 3 months ago

@harshavardhana I doubt "Fix your system to have synchronized times via NTP" is the right answer when when RequestTimeTooSkewed is known to be the symptom of a broken 0.2.0 release.

kobalicek commented 3 months ago

@harshavardhana Is there anything preventing us from updating minio-cpp on vcpkg? I also think there should be a new release if users are having problems with the current release.

DKGH commented 3 months ago

@harshavardhana I was able to connect with Chrome and also Aws SDK Cpp. I would still prefer this because this seems lightweight. Please see if new version can be released soon to vcpkg.

mateuszwojt commented 3 months ago

@harshavardhana is it possible to get an ETA on minio-cpp package update in vcpkg?