TransWikia.com

History configuration? (404s)

Stellar Asked by Ed Farley on July 29, 2020

I’m attempting to get a full-history horizon & core setup going, and I’m running into 404s fetching history buckets, with every combination of configurations I’ve seen on stackexchange and in the github issues.

In brief (the simplest steps I would expect to work), I followed the directions for a persistent server here:
https://hub.docker.com/r/stellar/quickstart/

Set CATCHUP_COMPLETE=true, and uncommented the lines below:

# Stellar.org history store
[HISTORY.sdf1]
get="curl -sf http://history.stellar.org/prd/core-live/core_live_001/{0} -o {1}"

[HISTORY.sdf2]
get="curl -sf http://history.stellar.org/prd/core-live/core_live_002/{0} -o {1}"

[HISTORY.sdf3]
get="curl -sf http://history.stellar.org/prd/core-live/core_live_003/{0} -o {1}"

Curl returns ’22’; strace confirms that history.stellar.org is returning a 404 page for all requests.

What am I doing wrong?

One Answer

Maybe you have applied HTTP method at an obsolete path. As I observe from the official example config, https://github.com/stellar/stellar-core/blob/master/docs/stellar-core_example.cfg#L366

 get="curl http://history.stellar.org/{0} -o {1}"

You may refer to the format there, around line 366.

 #other examples:
 [HISTORY.stellar]
 get="curl http://history.stellar.org/{0} -o {1}"
 put="aws s3 cp {0} s3://history.stellar.org/{1}"

 [HISTORY.backup]
 get="curl http://backupstore.blob.core.windows.net/backupstore/{0} -o {1}"
 put="azure storage blob upload {0} backupstore {1}"

 #The history store of the Stellar testnet
 [HISTORY.h1]
 get="curl -sf http://s3-eu-west-1.amazonaws.com/history.stellar.org/prd/core-testnet/core_testnet_001/{0} -o {1}"

 [HISTORY.h2]
 get="curl -sf http://s3-eu-west-1.amazonaws.com/history.stellar.org/prd/core-testnet/core_testnet_002/{0} -o {1}"

 [HISTORY.h3]
 get="curl -sf http://s3-eu-west-1.amazonaws.com/history.stellar.org/prd/core-testnet/core_testnet_003/{0} -o {1}"

Answered by cesarm on July 29, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP