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

Run solana rpc node got error "connection timed out" #35625

Closed
ForLina opened this issue Aug 8, 2024 · 1 comment
Closed

Run solana rpc node got error "connection timed out" #35625

ForLina opened this issue Aug 8, 2024 · 1 comment
Labels
community Community contribution

Comments

@ForLina
Copy link

ForLina commented Aug 8, 2024

Problem

I am trying to run a solana rpc node. I followed the aiticle how-to-run-a-solana-rpc-node due to I did not find the way of how to run a rpc node on mainnet on the solana's official website. Here is my validatory.sh

#!/bin/bash
set -e
set -u
export RUST_LOG=error

solana-validator \
	--identity /var/solana/data/config/validator-keypair.json \
	--known-validator 7Np41oeYqPefeNQEHSv1UDhYrehxin3NStELsSKCT4K2 \
	--known-validator GdnSyH3YtwcxFvQrVVJMm1JhTS4QVX7MFsX56uJLUfiZ \
	--known-validator DE1bawNcRJB9rVm3buyMVfr8mBEoyyu73NBovf2oXJsJ \
	--known-validator CakcnaRDHka2gXyfbEd2d3xsvkJkqsLw2akB3zsN1D2S \
	--only-known-rpc \
	--full-rpc-api \
	--no-voting \
	--ledger /var/solana/data/ledger \
	--accounts /var/solana/accounts \
	--log /home/r630/solana-rpc.log \
	--rpc-port 8899 \
	--rpc-bind-address 127.0.0.1 \
	--private-rpc \
        --dynamic-port-range 8000-8020 \
	--expected-genesis-hash 5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d \
	--entrypoint entrypoint.mainnet-beta.solana.com:8001 \
	--entrypoint entrypoint2.mainnet-beta.solana.com:8001 \
	--entrypoint entrypoint3.mainnet-beta.solana.com:8001 \
	--entrypoint entrypoint4.mainnet-beta.solana.com:8001 \
	--entrypoint entrypoint5.mainnet-beta.solana.com:8001 \
	--wal-recovery-mode skip_any_corrupted_record \
	--init-complete-file /var/solana/data/init-completed \
	--limit-ledger-size

Proposed Solution

execute the script

> ./validator.sh

check the log file

> tail -f solana-rpc.log
get_cluster_shred_version failed: 103.97.176.73:8001, connection timed out
get_cluster_shred_version failed: 184.173.136.86:8001, connection timed out
get_cluster_shred_version failed: 209.95.56.60:8001, connection timed out
get_cluster_shred_version failed: 67.228.235.91:8001, connection timed out

env

>solana --version
solana-cli 1.18.21 (src:818807a5; feat:4215500110, client:SolanaLabs)

>uname -a
Linux r630-PowerEdge-R630 6.5.0-18-generic #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb  7 11:40:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

I wonder how to solve this problem
Thanks

@ForLina ForLina added the community Community contribution label Aug 8, 2024
Copy link
Contributor

github-actions bot commented Aug 8, 2024

This repository is no longer in use. Please re-open this issue in the agave repo: https://github.com/anza-xyz/agave

@github-actions github-actions bot closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution
Projects
None yet
Development

No branches or pull requests

1 participant