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

chore: add instruction for snapshot #29

Merged
merged 2 commits into from
Sep 20, 2024
Merged

chore: add instruction for snapshot #29

merged 2 commits into from
Sep 20, 2024

Conversation

MicBun
Copy link
Contributor

@MicBun MicBun commented Sep 18, 2024

Description

Related Problem

How Has This Been Tested?

@MicBun MicBun requested a review from outerlook September 18, 2024 15:26
@MicBun MicBun self-assigned this Sep 18, 2024
@MicBun MicBun linked an issue Sep 18, 2024 that may be closed by this pull request
outerlook
outerlook previously approved these changes Sep 18, 2024
@MicBun
Copy link
Contributor Author

MicBun commented Sep 18, 2024

some action are required on the server, please do not merge this instruction to avoid misleading information

@MicBun MicBun changed the title docs: add instruction for snapshot chore: add instruction for snapshot Sep 19, 2024
@MicBun
Copy link
Contributor Author

MicBun commented Sep 20, 2024

I have working solutions for now:

works:

kwild --root-dir ./my-peer-config/ --chain.statesync.enable=true --chain.statesync.rpc-servers='http://18.189.163.27:26657'

not works:

# even if one of them works, if the other not working then it will fail
kwild --root-dir ./my-peer-config/ --chain.statesync.enable=true --chain.statesync.rpc-servers='http://18.189.163.27:26657,http://3.140.58.76:26657'
Error: failed to start state sync: failed to set up light client state provider: post failed: Post "http://3.140.58.76:26657": context deadline exceeded
failed to start state sync: failed to set up light client state provider: post failed: Post "http://3.140.58.76:26657": context deadline exceeded

# using DNS will resulting in context deadline exceeded
kwild --root-dir ./my-peer-config/ --chain.statesync.enable=true --chain.statesync.rpc-servers='http://staging.node-1.tsn.truflation.com:26657'
panic while building kwild: failed to configure state syncer, failed to fetch trust options from the remote server.:

cc @brennanjl

@MicBun MicBun requested a review from brennanjl September 20, 2024 03:49
@MicBun MicBun added the documentation Improvements or additions to documentation label Sep 20, 2024
@MicBun MicBun requested a review from outerlook September 20, 2024 04:05
@MicBun MicBun enabled auto-merge (squash) September 20, 2024 05:28
@MicBun MicBun disabled auto-merge September 20, 2024 06:03
@MicBun MicBun enabled auto-merge (squash) September 20, 2024 06:03
@MicBun MicBun merged commit b656751 into main Sep 20, 2024
3 checks passed
@MicBun MicBun deleted the doc/StateSync branch September 20, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: New Nodes Cannot Sync
2 participants