Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rai fails with "ERRO[0004] Unable to assume role" #31

Closed
cwpearson opened this issue Jun 26, 2019 · 1 comment
Closed

rai fails with "ERRO[0004] Unable to assume role" #31

cwpearson opened this issue Jun 26, 2019 · 1 comment

Comments

@cwpearson
Copy link
Contributor

cwpearson commented Jun 26, 2019

At PUMPS 2019, we had a student whose macOS client failed with

✱ Checking your authentication credentials.
ERRO[0004] Unable to assume role: SignatureDoesNotMatch: Signature expired: 20190625T125159Z is now earlier than 20190625T133708Z (20190625T135208Z - 15 min.)
 status code: 403, request id: 6c94a705-9750-11e9-8f73-c1f6be7b1816 pkg=amazon
ERRO[0004] Failed to set sts credentials pkg=amazon error="SignatureDoesNotMatch: Signature expired: 20190625T125159Z is now earlier than 20190625T133708Z (20190625T135208Z - 15 min.)\n\tstatus code: 403, request id: 6c94a705-9750-11e9-8f73-c1f6be7b1816”
✱ Preparing your project directory for upload.
✱ Uploading your project directory. This may take a few minutes.
ERRO[0006] Cannot list buckets pkg=store/s3 error="RequestTimeTooSkewed: The difference between the request time and the current time is too large.\n\tstatus code: 403, request id: F039C6AFD8246EA5, host id: dc/Avnr59LWxm2v1qS1/aiH25BuApFPuLINHH6aEBrB95Und2F46Ptd+b+SGbaZzRWOjsPn0uBM=“
ERRO[0006] Can't add file /Users/computa/github_repos/pumps-rai/gpu-algorithms-labs/labs/device_query/CMakeLists.txt to tar: io: read/write on closed pipe
Error: cannot list buckets: RequestTimeTooSkewed: The difference between the request time and the current time is too large.
 status code: 403, request id: F039C6AFD8246EA5, host id: dc/Avnr59LWxm2v1qS1/aiH25BuApFPuLINHH6aEBrB95Und2F46Ptd+b+SGbaZzRWOjsPn0uBM=
cannot list buckets: RequestTimeTooSkewed: The difference between the request time and the current time is too large.
 status code: 403, request id: F039C6AFD8246EA5, host id: dc/Avnr59LWxm2v1qS1/aiH25BuApFPuLINHH6aEBrB95Und2F46Ptd+b+SGbaZzRWOjsPn0uBM=
ERRO[0006] Can't close tar writer: io: read/write on closed pipe
2019/06/25 15:52:02 error: cannot list buckets: RequestTimeTooSkewed: The difference between the request time and the current time is too large.
 status code: 403, request id: F039C6AFD8246EA5, host id: dc/Avnr59LWxm2v1qS1/aiH25BuApFPuLINHH6aEBrB95Und2F46Ptd+b+SGbaZzRWOjsPn0uBM=
@cwpearson
Copy link
Contributor Author

cwpearson commented Jun 26, 2019

This ended up being caused by his timezone being set manually to a different time-zone than where PUMPS was hosted, but his clock being set to display the correct local time. Therefore, the system time was off by a few hours, which made the encryption fail.

To correct the issue, his system's timezone and clock were adjusted to be correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant