-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Rome crashes when downloading cache from remote - Zero bytes Archive #125
Comments
Can you run with From the messages it seems that the download was successful, the next step would be deleting the framework in
|
One of the framework in local cache was a 0 byte archive, probably because of the upload command fails. Here is the log of the upload command.
|
I see. To double check please run the download command with I'm trying to nail down which part does not like a 0 byte archive. |
I uploaded all the cache to remote manually via the web interface, so now the download command works. But could you take a look at the error while uploading? There is an error on "SignatureDoesNotMatch", but I could upload with s3cmd using the same AWS key/secret. |
I found this: https://stackoverflow.com/questions/10281557/signaturedoesnotmatch-amazon-s3-api s3cmd is probably using a different profile or secret and id combination than rome check the value of the following env variables:
Edit: There is really nothing I can do here as the part that talks to AWS is done via amazonka. Here are related issues that might shed some light: https://github.com/brendanhay/amazonka/issues?utf8=%E2%9C%93&q=is%3Aissue+SignatureDoesNotMatch Also, on the JAVA sdk people report that regenerating the keys solved this for them: aws/aws-sdk-js#86 |
@thii I doubt something as important as Authorization is implemented differently between S3 and Ceph (assuming you're using Ceph) Amazon: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#ConstructingTheAuthenticationHeader |
Other possible causes aws/aws-cli#602 (comment) and what reported in aws/aws-cli#602 Also some characters in the keys seems to cause issues: aws/aws-cli#602 (comment) (+ / % ) |
Does the download command use a different signature than the upload? Because the download command works, but the upload doesn't. Download:
Upload:
|
The signing procedure is the same put: https://hackage.haskell.org/package/amazonka-s3-1.5.0/docs/Network-AWS-S3-PutObject.html I suggest the following:
|
Also list of issue in Ceph relating to |
Might be a Ceph issue. I'll report to the storage team and get you posted. |
@thii any luck? |
@blender Still haven't figured out so I switched back to using |
That's a shame. I will see if I can manage to install ceph via docker and try myself. |
@thii I have update the AWS library, can you try https://github.com/blender/Rome/releases/tag/v0.16.0.44 |
@blender Still the same error. |
@thii I just had this error with Minio, I updated the version I was using and It went away. I strongly suspect this is a problem with Ceph and I think they share some common lib. |
I just experienced this as well, and it was resolved after restarting my test Minio server. I'll follow up if I find anything new, but think it would be useful to anyone stumbling across this thread that it does reproduce (sometimes) with Minio 2019-02-20T22:44:29Z |
@eskerber which part? The 0 byte archive or the failing upload? |
Apologies - the 0 byte part. I got the error on |
ok, time to fix this. |
@eskerber can you tell me if you encountered the problem while running the command in |
@blender It was not verbose. rome download --platform iOS |
@thii yes. However I could never get your case to repo. If you could help me with that I can take a look. |
Enhancement Suggestion / Bug Report
Rome crashes when downloading cache from remote.
Steps which explain the enhancement or reproduce the bug
I'll try to make a sample project that reproduces that crash, here is the crash log:
Current behavior
Rome crashes when downloading cache from remote.
Suggested behavior
Not crash.
Why would the enhancement be useful to most users
Rome version:
OS and version:
The text was updated successfully, but these errors were encountered: