Comments (11)
from bsc-archive-snapshot.
The first time failed after around 14 hours and the most recent was around 20 hours. Funnily enough, I think the failure was at around the same time of day both times though.
Is it safe to assume the downloaded data is of no use and it's not possible to use in parts and sync from the missing bit? Sorry, I'm not very familiar with ZFS and how it stores files.
from bsc-archive-snapshot.
I cleared it out and started the download again. I'll let you know how it goes.
Thanks again for all of your help and running this project!
from bsc-archive-snapshot.
The fact that this is taking so long makes me think you are downloading this to outside the us-west-1 data center? If so, I might suggest spinning up an EC2 instance first, placing it on the instance manually then copy it to your final location.
I suspect the problem is that AWS terminates any active downloads when a new version is uploaded. Another idea is to download a specific version instead of the active latest version.
from bsc-archive-snapshot.
Thanks for getting back to me again, really appreciate it!
Yes, I'm downloading to a server outside of was. I think you're right about the specific version, I think maybe I'm somehow downloading the oldest version and it's being removed before it finishes.
Could you point me in the direction of how I can download a specific version, please? I'm only seeing the command in your script about downloading the file without a version.
from bsc-archive-snapshot.
I called aws s3 ls s3://public-blockchain-snapshots/bsc/ --request-payer=requester to see available files but I only see erigon-latest.tar.zstd in there.
from bsc-archive-snapshot.
Just a quick update. It failed again at around 9:30pm PST, similar to the other times. Is that around the time you update it?
I've followed your suggestion of keeping it inside us-west-1 and have created a bucket that I'm transferring it to. At current speeds it will probably take around 20 hours still but will hopefully get there just before the new version knocks it off.
from bsc-archive-snapshot.
from bsc-archive-snapshot.
I don't create different files, instead I rely on S3's version system.
I have updated the permissions of the bucket. You should now be able to run:
aws s3api list-object-versions --bucket public-blockchain-snapshots --prefix bsc/
To get the versions available to download. You can try downloading a specific version by running that command, finding the latest version (don't use oldest), then run:
aws s3api get-object --bucket public-blockchain-snapshots --key bsc/erigon-latest.tar.zstd --version-id "VERSION_ID_HERE" /path/to/location/to/download.tar.zstd --request-payer=requester
9:30 seems plausible. It starts uploading at midnight UTC time and takes about 2-3 hours to finish. This would put the upload finishing around 7pm PST. AWS might do some internal bookkeeping that might delay it too.
You may run into issues with using the list-object-version
command because it doesn't appear to support requester payer in the CLI (but does on the API layer). Here's the latest version to test out if needed... This should be good for ~3 days: vHFTVtAgp9Nxe1PWdzZT0B_9vsy0gQb0
.
In any case I suggest doing what I posted above to see if it helps.
from bsc-archive-snapshot.
Thanks so much for this. Before I saw your message, I was able to get the file onto a EC2 server and upload it to an S3 bucket (I was having problems going straight to an S3 bucket because of the list-objects permissions).
Depending on how things go though I may still try to give this a try to know for the future if I need a quick snapshot. Thank you for all of the help!
from bsc-archive-snapshot.
FYI, you might want to checkout: #14
It likely take a few weeks to get a new version uploaded with this fix. It should not cause issues with most people's use case, but if you are a purist, be warned.
from bsc-archive-snapshot.
Related Issues (20)
- how login account HOT 1
- AWS fatal error: Unable to locate credentials HOT 10
- Problem when calling the ListObjectsV2 operation: Access Denied HOT 3
- The whole snapshot only 500GB? HOT 3
- ETH vs BSC Archive Nodes` HOT 1
- fatal error: An error occurred (404) when calling the HeadObject operation: Key "bsc/erigon-latest.tar.zstd" does not exist HOT 1
- Download failed HOT 42
- Download snapshots failed HOT 7
- How to store 30TB in AWS EBS? HOT 4
- Sync slow HOT 8
- fail to start bsc archive with new snapshot HOT 5
- Empty file after downloading erigon-bsc-archive HOT 2
- Current version failure to download/run... HOT 2
- The script stopped working HOT 3
- Script finishes with no errors at 568GB. HOT 9
- getting block not found for older blocks HOT 1
- Always about 8 minutes behind the latest block HOT 5
- S3 folder structure possibly wrong HOT 4
- On (probable) discontinuation of erigon support for BSC HOT 4
- Slow synchronization HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsc-archive-snapshot.