Coder Social home page Coder Social logo

Comments (17)

dasanchez avatar dasanchez commented on June 30, 2024 1

Hi @vietanhtran2710 !
The ERR error on light block request from witness, removing... error="post failed: Post \"https://rpc.state-sync-02.theta-testnet.polypore.xyz:443\": context deadline exceeded" module=light primary={} and ERR failed to remove witnesses err="no witnesses connected. please reset light client" module=light witnessesToRemove=[0] messages will show up sometimes before a good snapshot is found and the node starts syncing.

You may need to reset the state if you had previously run the script that had v9.0.0-rc6 in it. Can you stop the service with systemctl stop gaiad, delete your ~/.gaia home folder, and run the script again?

from testnets.

99Kies avatar 99Kies commented on June 30, 2024

I started StateSync sync mode.

and this is my config:

persistent_peers = "639d50339d7045436c756a042906b9a69970913f@seed-01.theta-testnet.polypore.xyz:26656,3e506472683ceb7ed75c1578d092c79785c27857@seed-02.theta-testnet.polypore.xyz:26656"

But it seems that the sync is still failing because of the seed node timeout, and the seed I'm using is the one in the documentation. i can't reach anyone else right now, is there an update on the seed now?

this is my start log info:

12:16AM INF Added peer module=p2p peer={"Data":{},"Logger":{}}
12:16AM INF Discovered new snapshot format=1 hash="�\v1\x10�\x1a�^O�\t�\x1b�h�F�D�h`=|v�q\x1ḙ3#" height=13523000 module=statesync
12:16AM INF Discovered new snapshot format=1 hash="��On��&8B�$\r(�\x06��kZ����\\t�B7�R�:" height=13522000 module=statesync
12:16AM INF Discovered new snapshot format=1 hash="\vd\t��c=��F�#��7����a\x042����0\x04\x13�td" height=13521000 module=statesync
12:16AM INF Discovered new snapshot format=1 hash="��Zlw\b�^����1\t\t~�NvHv �5��o\x1f\x1e�Œ" height=13520000 module=statesync
12:16AM INF Discovered new snapshot format=1 hash="\x01\x10��R�\x12�.�K��'|\\�|��Ԉ�r�lYb\x01��?" height=13519000 module=statesync
12:16AM INF Discovered new snapshot format=1 hash="�8PT\x16\u007f�����\x03�i\x1f��\x03�\x15v$���oTخ� `" height=13518000 module=statesync
12:16AM INF Discovered new snapshot format=1 hash="��A�����̄��H�\x10;\x03ʄ��>ت}���\x18�J�" height=13517000 module=statesync
12:16AM INF Discovered new snapshot format=1 hash="[\x02r� e-E�\bi0e˻�mE\x04\x02��D��\f(�\x12�F\x1c" height=13516000 module=statesync
12:16AM INF Discovered new snapshot format=1 hash="%Q\tf����p��\x1cGKAt\vA�@d�c�Z�\n��پ�" height=13515000 module=statesync
12:16AM INF Discovered new snapshot format=1 hash="Dz.:J�\nm>CёF\rp��W\u070e9�?n����\x01�/�" height=13514000 module=statesync
12:16AM ERR dialing failed (attempts: 1): dial tcp 18.215.117.208:26656: i/o timeout addr={"id":"3af09a146c5ad335e364fa9c219fda1565e26f40","ip":"18.215.117.208","port":26656} module=pex
12:16AM ERR dialing failed (attempts: 1): dial tcp 34.205.28.215:26656: i/o timeout addr={"id":"692e8ca585c72a0a6ab705b3e0ff2fec99e7588d","ip":"34.205.28.215","port":26656} module=pex
12:16AM ERR dialing failed (attempts: 1): dial tcp 159.89.125.186:26656: i/o timeout addr={"id":"38537666a5d6bef57713281be25cc5383cc77ac3","ip":"159.89.125.186","port":26656} module=pex
12:16AM ERR dialing failed (attempts: 1): dial tcp 35.194.180.0:40830: i/o timeout addr={"id":"a37c2dffff6a7d8ce6d8e1c548cded72503ca9cd","ip":"35.194.180.0","port":40830} module=pex
12:16AM ERR dialing failed (attempts: 1): dial tcp 18.219.225.144:26656: i/o timeout addr={"id":"3b5068a968edf917a42f2e600a9da0ea9abb64cb","ip":"18.219.225.144","port":26656} module=pex
^[[I^[[O^[[I^[[O^[[I12:16AM ERR failed to restore snapshot err="cannot import into non-IAVL store \"icahost\": internal logic error"
12:16AM INF Applied snapshot chunk to ABCI app chunk=14 format=1 height=13523000 module=statesync total=15
12:16AM ERR State sync failed err="state sync aborted" module=statesync
^[[O^[[I^[[O^[[I^[[O12:16AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=4 numToDial=6
12:16AM INF Will dial address addr={"id":"f7cea52c4fdb175071a138407e91125ab5c1893a","ip":"3.121.126.32","port":34770} module=pex
12:16AM INF Will dial address addr={"id":"e33e3ec79440795fab748888a5ce857c1129c32d","ip":"95.121.233.44","port":26656} module=pex
12:16AM INF Will dial address addr={"id":"626e25e6bca1590e46b5350fb2ea29a4de7939fa","ip":"194.163.180.180","port":26656} module=pex
12:16AM INF Will dial address addr={"id":"0ee88d4bf1fc35ccc389d9368edcdf29e4a93421","ip":"44.197.238.148","port":26656} module=pex
12:16AM INF Will dial address addr={"id":"931fa504874c98b41437ad735506929e77a5e38b","ip":"46.166.146.165","port":26656} module=pex
12:16AM INF Will dial address addr={"id":"ca470e0b62b8466cfdf6273ddde4c1bc5dbc463d","ip":"98.15.8.61","port":41484} module=pex
12:16AM INF Dialing peer address={"id":"ca470e0b62b8466cfdf6273ddde4c1bc5dbc463d","ip":"98.15.8.61","port":41484} module=p2p
12:16AM INF Dialing peer address={"id":"626e25e6bca1590e46b5350fb2ea29a4de7939fa","ip":"194.163.180.180","port":26656} module=p2p
12:16AM INF Dialing peer address={"id":"0ee88d4bf1fc35ccc389d9368edcdf29e4a93421","ip":"44.197.238.148","port":26656} module=p2p
12:16AM INF Dialing peer address={"id":"931fa504874c98b41437ad735506929e77a5e38b","ip":"46.166.146.165","port":26656} module=p2p
12:16AM INF Dialing peer address={"id":"f7cea52c4fdb175071a138407e91125ab5c1893a","ip":"3.121.126.32","port":34770} module=p2p
12:16AM INF Dialing peer address={"id":"e33e3ec79440795fab748888a5ce857c1129c32d","ip":"95.121.233.44","port":26656} module=p2p
12:16AM ERR dialing failed (attempts: 1): dial tcp 95.121.233.44:26656: i/o timeout addr={"id":"e33e3ec79440795fab748888a5ce857c1129c32d","ip":"95.121.233.44","port":26656} module=pex
12:16AM ERR dialing failed (attempts: 1): dial tcp 3.121.126.32:34770: i/o timeout addr={"id":"f7cea52c4fdb175071a138407e91125ab5c1893a","ip":"3.121.126.32","port":34770} module=pex
12:16AM ERR dialing failed (attempts: 1): dial tcp 44.197.238.148:26656: i/o timeout addr={"id":"0ee88d4bf1fc35ccc389d9368edcdf29e4a93421","ip":"44.197.238.148","port":26656} module=pex
12:16AM ERR dialing failed (attempts: 1): dial tcp 194.163.180.180:26656: i/o timeout addr={"id":"626e25e6bca1590e46b5350fb2ea29a4de7939fa","ip":"194.163.180.180","port":26656} module=pex
12:16AM ERR dialing failed (attempts: 1): dial tcp 98.15.8.61:41484: i/o timeout addr={"id":"ca470e0b62b8466cfdf6273ddde4c1bc5dbc463d","ip":"98.15.8.61","port":41484} module=pex
12:16AM ERR dialing failed (attempts: 1): dial tcp 46.166.146.165:26656: i/o timeout addr={"id":"931fa504874c98b41437ad735506929e77a5e38b","ip":"46.166.146.165","port":26656} module=pex
^[[I^[[O^[[I^[[O12:17AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=4 numToDial=6
12:17AM INF Will dial address addr={"id":"f5fe383c6338c14f94319a96813ea77df1ab9060","ip":"35.239.129.49","port":26656} module=pex
12:17AM INF Will dial address addr={"id":"aaf0963725335f3d639258553ede9689f8b48b45","ip":"164.92.160.85","port":26656} module=pex
12:17AM INF Will dial address addr={"id":"cd71d7c8aefef00b7688f5b398a4bd8b4795920d","ip":"54.185.32.140","port":26656} module=pex
12:17AM INF Will dial address addr={"id":"2781cb100b12f53d590b2ec52cbfdba41db43baa","ip":"100.96.12.15","port":26656} module=pex
12:17AM INF Will dial address addr={"id":"ed1e0cf09786e1daec18b5db42eaaee81c4043a1","ip":"145.239.205.232","port":26656} module=pex
12:17AM INF Will dial address addr={"id":"9c3e9ecedf6817c902b58e7f976aca3797df03fb","ip":"51.79.20.221","port":26656} module=pex
12:17AM INF Dialing peer address={"id":"f5fe383c6338c14f94319a96813ea77df1ab9060","ip":"35.239.129.49","port":26656} module=p2p
12:17AM INF Dialing peer address={"id":"2781cb100b12f53d590b2ec52cbfdba41db43baa","ip":"100.96.12.15","port":26656} module=p2p
12:17AM INF Dialing peer address={"id":"aaf0963725335f3d639258553ede9689f8b48b45","ip":"164.92.160.85","port":26656} module=p2p
12:17AM INF Dialing peer address={"id":"ed1e0cf09786e1daec18b5db42eaaee81c4043a1","ip":"145.239.205.232","port":26656} module=p2p
12:17AM INF Dialing peer address={"id":"9c3e9ecedf6817c902b58e7f976aca3797df03fb","ip":"51.79.20.221","port":26656} module=p2p
12:17AM INF Dialing peer address={"id":"cd71d7c8aefef00b7688f5b398a4bd8b4795920d","ip":"54.185.32.140","port":26656} module=p2p
12:17AM INF Starting Peer service impl="Peer{MConn{35.239.129.49:26656} f5fe383c6338c14f94319a96813ea77df1ab9060 out}" module=p2p peer={"id":"f5fe383c6338c14f94319a96813ea77df1ab9060","ip":"35.239.129.49","port":26656}
12:17AM INF Starting MConnection service impl=MConn{35.239.129.49:26656} module=p2p peer={"id":"f5fe383c6338c14f94319a96813ea77df1ab9060","ip":"35.239.129.49","port":26656}
12:17AM INF Added peer module=p2p peer={"Data":{},"Logger":{}}
12:17AM ERR dialing failed (attempts: 1): incompatible: peer is on a different network. Got cosmoshub-4, expected theta-testnet-001 addr={"id":"9c3e9ecedf6817c902b58e7f976aca3797df03fb","ip":"51.79.20.221","port":26656} module=pex
12:17AM ERR dialing failed (attempts: 1): dial tcp 100.96.12.15:26656: i/o timeout addr={"id":"2781cb100b12f53d590b2ec52cbfdba41db43baa","ip":"100.96.12.15","port":26656} module=pex
12:17AM ERR dialing failed (attempts: 1): dial tcp 54.185.32.140:26656: i/o timeout addr={"id":"cd71d7c8aefef00b7688f5b398a4bd8b4795920d","ip":"54.185.32.140","port":26656} module=pex
12:17AM ERR dialing failed (attempts: 1): dial tcp 145.239.205.232:26656: i/o timeout addr={"id":"ed1e0cf09786e1daec18b5db42eaaee81c4043a1","ip":"145.239.205.232","port":26656} module=pex
12:17AM ERR dialing failed (attempts: 1): auth failure: secret conn failed: read tcp 10.0.17.80:40876->164.92.160.85:26656: i/o timeout addr={"id":"aaf0963725335f3d639258553ede9689f8b48b45","ip":"164.92.160.85","port":26656} module=pex

from testnets.

dasanchez avatar dasanchez commented on June 30, 2024

Hi! I just tested this script and it took about three minutes to sync up.

I only changed the following lines:
export GAIA_BRANCH=v7.1.0
export TRUST_HEIGHT=13563400
export TRUST_HASH="5FC5E6B7C3192ABF867E21EEBD7A15D736204804C9425CDAE30C9A1E2AC9AA21"

By the way can you help me judge my understanding --- my understanding is that I need to run the node with v6.0.0 first, wait for the sync to reach block 9283650, then shut down the current sync service, switch the version to v7.0.0-rc0 and then restart the service again.

If you want to use state sync, you can start with v7.1.0 right away and it will get a recent snapshot to quickly sync up to the current height.
If you want to sync to every block since genesis, then yes, you start the node with v6.0.4 and go through the upgrade at height 9283650. You will need to turn off state sync if you want to set up a node this way.

from testnets.

99Kies avatar 99Kies commented on June 30, 2024

@dasanchez I found that this script can only be executed under the root account, I am now executing successfully, but I am still curious why the previous command failed, in fact I have tried many versions of gaiad before also including v7.1.0.

from testnets.

99Kies avatar 99Kies commented on June 30, 2024

I referenced the tutorial here(https://hub.cosmos.network/main/hub-tutorials/join-testnet.html) and just set the parameters(statesync config, persistent_peers, etc...) in it to the ones in this script.

from testnets.

dasanchez avatar dasanchez commented on June 30, 2024

@99Kies the tutorial you referenced has been updated with more accurate information, were you able to join the network?

from testnets.

steve-ng avatar steve-ng commented on June 30, 2024

I've tried running the script: https://github.com/cosmos/testnets/blob/master/public/join-public-testnet.sh -- though been getting this error, any insight?

ERR failed to remove witnesses err="no witnesses connected. please reset light client" module=light witnessesToRemove=[0]

ERR Can't verify err="failed to obtain the header at height #14579006: post failed: Post \"https://rpc.state-sync-02.theta-testnet.polypore.xyz:443\": context deadline exceeded" module=light

INF failed to fetch and verify app hash err="failed to obtain the header at height #14579006: post failed: Post \"https://rpc.state-sync-02.theta-testnet.polypore.xyz:443\": context deadline exceeded" module=statesync

i've tried to do a curl command and it seems fine

curl -v https://rpc.state-sync-01.theta-testnet.polypore.xyz/block?height=14579005

from testnets.

dasanchez avatar dasanchez commented on June 30, 2024

@steve-ng we upgraded the testnet binaries more than once in the last couple of weeks, it's possible that your machine pulled a state sync header from a node running an old version when you ran the script. Are you able to run the script again now that we have settled on v9.0.0-rc7?

from testnets.

openVietAnh avatar openVietAnh commented on June 30, 2024

I just ran the join-public-testnet.sh script today with CHAIN_BINARY_URL='https://github.com/cosmos/gaia/releases/download/v9.0.0-rc7/gaiad-v9.0.0-rc7-linux-amd64', still getting this error

Thg 2 28 16:45:54 teko-Vostro-5471 gaiad[66445] 4:45PM INF error from light block request from primary, removing... error="post failed: Post \"https://rpc.state-sync-01.theta-testnet.polypore.xyz:443\": context
deadline exceeded" height=14788309 module=light primary={} 
Thg 2 28 16:45:54 teko-Vostro-5471 gaiad[66445] 4:45PM ERR error on light block request from witness, removing... error="post failed: Post \"https://rpc.state-sync-02.theta-testnet.polypore.xyz:443\": context de
adline exceeded" module=light primary={} 
Thg 2 28 16:45:54 teko-Vostro-5471 gaiad[66445] 4:45PM ERR failed to remove witnesses err="no witnesses connected. please reset light client" module=light witnessesToRemove=[0] 
Thg 2 28 16:45:54 teko-Vostro-5471 gaiad[66445] 4:45PM ERR Can't verify err="failed to obtain the header at height #14788309: post failed: Post \"https://rpc.state-sync-02.theta-testnet.polypore.xyz:443\": conte
xt deadline exceeded" module=light 
Thg 2 28 16:45:54 teko-Vostro-5471 gaiad[66445] 4:45PM INF failed to fetch and verify app hash err="failed to obtain the header at height #14788309: post failed: Post \"https://rpc.state-sync-02.theta-testnet.po
lypore.xyz:443\": context deadline exceeded" module=statesync

from testnets.

openVietAnh avatar openVietAnh commented on June 30, 2024

I reset the state and ran the script again, after a really long time showing Ensure peers and Saving addrbook, the node is now syncing:

Mar 02 20:47:07 testnet-cosmos cosmovisor[1866]: 8:47PM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"340191716FC0BD85BB74046FD78E1F6914C80F50D3F3F6B98A53FD9CBDB67016","parts":{"hash":"A7D9C5380FF2978D901B2BB36798829E056021082166E70DDCFA74F9428779AA","total":1}},"height":14831454,"pol_round":-1,"round":0,"signature":"+YGk8E+Sk2Dsb330YlijOwtwjKIKiO2rIms1CrsplfyhY+lx525W1vcAaInKLjjdynro+x8R7NLm8wCy4p7TAA==","timestamp":"2023-03-03T01:47:06.735656983Z"}
Mar 02 20:47:07 testnet-cosmos cosmovisor[1866]: 8:47PM INF received complete proposal block hash=340191716FC0BD85BB74046FD78E1F6914C80F50D3F3F6B98A53FD9CBDB67016 height=14831454 module=consensus
Mar 02 20:47:07 testnet-cosmos cosmovisor[1866]: 8:47PM INF finalizing commit of block hash={} height=14831454 module=consensus num_txs=1 root=9FE2E5FF3FBF89B219C533A1F9D8E7496A11E0DC8A57713DF04356D62909FD8D
Mar 02 20:47:07 testnet-cosmos cosmovisor[1866]: 8:47PM INF minted coins from module account amount=58442162uatom from=mint module=x/bank
Mar 02 20:47:07 testnet-cosmos cosmovisor[1866]: 8:47PM INF packet sent dst_channel=channel-105 dst_port=transfer module=x/ibc/channel sequence=1553 src_channel=channel-667 src_port=transfer
Mar 02 20:47:07 testnet-cosmos cosmovisor[1866]: 8:47PM INF IBC fungible token transfer amount=1092914 module=x/ibc-transfer receiver=persistence1524rhdvua2h90d8u2kxcgwp9r9vdy2gh9f4uzr sender=cosmos1524rhdvua2h90d8u2kxcgwp9r9vdy2ght9n0v8 token=uatom
Mar 02 20:47:07 testnet-cosmos cosmovisor[1866]: 8:47PM INF executed block height=14831454 module=state num_invalid_txs=0 num_valid_txs=1
Mar 02 20:47:07 testnet-cosmos cosmovisor[1866]: 8:47PM INF commit synced commit=436F6D6D697449447B5B32343020313931203932203736203820333320313039203939203136332039203335203735203233203139382031373120313220313520333020313332203131203134312031363220323230203233312031323020323620313834203137203520313639203436203234325D3A4532344635457D
Mar 02 20:47:07 testnet-cosmos cosmovisor[1866]: 8:47PM INF committed state app_hash=F0BF5C4C08216D63A309234B17C6AB0C0F1E840B8DA2DCE7781AB81105A92EF2 height=14831454 module=state num_txs=1
Mar 02 20:47:07 testnet-cosmos cosmovisor[1866]: 8:47PM INF indexed block exents height=14831454 module=txindex
Mar 02 20:47:12 testnet-cosmos cosmovisor[1866]: 8:47PM INF Timed out dur=4971.063479 height=14831455 module=consensus round=0 step=1
Mar 02 20:47:12 testnet-cosmos cosmovisor[1866]: 8:47PM INF client state updated client-id=07-tendermint-1037 height=1-10410816 module=x/ibc/client
Mar 02 20:47:12 testnet-cosmos cosmovisor[1866]: 8:47PM INF packet acknowledged dst_channel=channel-105 dst_port=transfer module=x/ibc/channel sequence=1551 src_channel=channel-667 src_port=transfer
Mar 02 20:47:12 testnet-cosmos cosmovisor[1866]: 8:47PM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"0D7470C6E89BA16E307126A6A0F3DA09DCA7233CA698C52A695EAF8D7B1DBC44","parts":{"hash":"15489F82C3140E4BB82B5DB32640327DB162F33CF0C0E13E6A023CA33B4B45E6","total":1}},"height":14831455,"pol_round":-1,"round":0,"signature":"EF+RHw6m/7Inyiz3ic51VHKAqih/tF4glHl0IJAOhLwzgFWBMHAn3L736eDEzt1/WnislzyzI10Lc5o/wO1kAg==","timestamp":"2023-03-03T01:47:12.243542157Z"}
Mar 02 20:47:12 testnet-cosmos cosmovisor[1866]: 8:47PM INF received complete proposal block hash=0D7470C6E89BA16E307126A6A0F3DA09DCA7233CA698C52A695EAF8D7B1DBC44 height=14831455 module=consensus
Mar 02 20:47:13 testnet-cosmos cosmovisor[1866]: 8:47PM INF finalizing commit of block hash={} height=14831455 module=consensus num_txs=0 root=F0BF5C4C08216D63A309234B17C6AB0C0F1E840B8DA2DCE7781AB81105A92EF2
Mar 02 20:47:13 testnet-cosmos cosmovisor[1866]: 8:47PM INF minted coins from module account amount=58442164uatom from=mint module=x/bank
Mar 02 20:47:13 testnet-cosmos cosmovisor[1866]: 8:47PM INF executed block height=14831455 module=state num_invalid_txs=0 num_valid_txs=0

Thanks a lot for your help @dasanchez, really helpful and I really appreciate it. May I ask why Ensure peers took really long? For almost half a day the node only show INF Ensure peers module=pex numDialing=0 num InPeers=0 numOutPeers=4 numToDial=6 with numOutPeers and numToDial changing every few hours

from testnets.

dasanchez avatar dasanchez commented on June 30, 2024

@vietanhtran2710 that's great to hear!
What are your machine specs? The node may have been busy parsing the genesis file, but half a day sounds like a lot.

from testnets.

openVietAnh avatar openVietAnh commented on June 30, 2024

My Testnet server has 2vCPU with 8GB RAM, and my Mainnet Server has 4 vCPU, 16GB of RAM and 2TB of HDD.
The Mainnet Node log has been showing

10:38AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=10 numToDial=0
10:39AM INF Saving AddrBook to file book=/var/local/mainnet-cosmos/config/addrbook.json module=p2p size=4712

for almost 3 days now and nothing else.
Both servers are using state sync, does it have to use the genesis file in this mode?

from testnets.

dasanchez avatar dasanchez commented on June 30, 2024

@vietanhtran2710
Thanks for sharing! Given the current size of the testnet, we recommend at least 16GB RAM.
For joining mainnet, you could try using a snapshot. Polkachu offers mainnet snapshots and a state sync endpoint. We always have the genesis file for the relevant network in place when starting a node. For mainnet, you can find the genesis file url here.

from testnets.

yuanzd123 avatar yuanzd123 commented on June 30, 2024

Hello @dasanchez , why I cannot use state sync to sync within 10 minutes? I am stuck in the log I provided below for a day.
It seems like it rolls back from numToDial 3 to 10. Is it behave normally?

I use a Macbook Pro with m1 Max, 32GB, 1TB SSD to run testnet gaiad (v9.1.0). Since I am using Mac, I cannot use systemctl. Instead, I use gaiad start --x-crisis-skip-assert-invariants to start my node.

My config.toml:

[statesync]
enable = true
rpc_servers = "https://rpc.state-sync-01.theta-testnet.polypore.xyz:443,https://rpc.state-sync-02.theta-testnet.polypore.xyz:443"
trust_height = 15989044
trust_hash = "D7B35A3D5D266E4F40555A5F82E47448135256A7E607F52D54BB1FA43F57B39D"
trust_period = "168h0m0s"

seeds = "639d50339d7045436c756a042906b9a69970913f@seed-01.theta-testnet.polypore.xyz:26656,3e506472683ceb7ed75c1578d092c79785c27857@seed-02.theta-testnet.polypore.xyz:26656"
persistent_peers = ""

6:42AM INF Saving AddrBook to file book=/Users/zhouyuan/.gaia/config/addrbook.json module=p2p size=1003
6:42AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=7 numToDial=3
6:43AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=7 numToDial=3
6:43AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=7 numToDial=3
6:44AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=7 numToDial=3
6:44AM INF Saving AddrBook to file book=/Users/zhouyuan/.gaia/config/addrbook.json module=p2p size=1003
6:44AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=7 numToDial=3
6:45AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=7 numToDial=3
6:45AM INF Connection is closed @ recvRoutine (likely by the other side) conn={"Logger":{}} module=p2p peer={"id":"39de2434a983feb64b6b3c4886d1959334f90591","ip":"82.100.58.103","port":26656}
6:45AM INF service stop impl={"Logger":{}} module=p2p msg={} peer={"id":"39de2434a983feb64b6b3c4886d1959334f90591","ip":"82.100.58.103","port":26656}
6:45AM ERR Stopping peer for error err=EOF module=p2p peer={"Data":{},"Logger":{}}
6:45AM INF service stop impl={"Data":{},"Logger":{}} module=p2p msg={} peer={"id":"39de2434a983feb64b6b3c4886d1959334f90591","ip":"82.100.58.103","port":26656}
6:45AM ERR Connection failed @ sendRoutine conn={"Logger":{}} err="pong timeout" module=p2p peer={"id":"58c2741e699d44c866802a2bf45fe5f621acf36b","ip":"35.239.129.49","port":26656}
6:45AM INF service stop impl={"Logger":{}} module=p2p msg={} peer={"id":"58c2741e699d44c866802a2bf45fe5f621acf36b","ip":"35.239.129.49","port":26656}
6:45AM ERR Stopping peer for error err="pong timeout" module=p2p peer={"Data":{},"Logger":{}}
6:45AM INF service stop impl={"Data":{},"Logger":{}} module=p2p msg={} peer={"id":"58c2741e699d44c866802a2bf45fe5f621acf36b","ip":"35.239.129.49","port":26656}
6:45AM INF Connection is closed @ recvRoutine (likely by the other side) conn={"Logger":{}} module=p2p peer={"id":"4f1626568572dd6be6b3b5478acac01376fc4729","ip":"142.132.241.67","port":26110}
6:45AM INF service stop impl={"Logger":{}} module=p2p msg={} peer={"id":"4f1626568572dd6be6b3b5478acac01376fc4729","ip":"142.132.241.67","port":26110}
6:45AM ERR Stopping peer for error err=EOF module=p2p peer={"Data":{},"Logger":{}}
6:45AM INF service stop impl={"Data":{},"Logger":{}} module=p2p msg={} peer={"id":"4f1626568572dd6be6b3b5478acac01376fc4729","ip":"142.132.241.67","port":26110}
6:45AM ERR Connection failed @ sendRoutine conn={"Logger":{}} err="pong timeout" module=p2p peer={"id":"33405c22f56348c557be86c46ce5aafedaa30f40","ip":"95.217.172.214","port":26110}
6:45AM INF service stop impl={"Logger":{}} module=p2p msg={} peer={"id":"33405c22f56348c557be86c46ce5aafedaa30f40","ip":"95.217.172.214","port":26110}
6:45AM ERR Stopping peer for error err="pong timeout" module=p2p peer={"Data":{},"Logger":{}}
6:45AM INF service stop impl={"Data":{},"Logger":{}} module=p2p msg={} peer={"id":"33405c22f56348c557be86c46ce5aafedaa30f40","ip":"95.217.172.214","port":26110}
6:45AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=3 numToDial=7
6:45AM ERR Connection failed @ sendRoutine conn={"Logger":{}} err="pong timeout" module=p2p peer={"id":"3e506472683ceb7ed75c1578d092c79785c27857","ip":"104.245.147.203","port":26656}
6:45AM INF service stop impl={"Logger":{}} module=p2p msg={} peer={"id":"3e506472683ceb7ed75c1578d092c79785c27857","ip":"104.245.147.203","port":26656}
6:45AM ERR Stopping peer for error err="pong timeout" module=p2p peer={"Data":{},"Logger":{}}
6:45AM INF service stop impl={"Data":{},"Logger":{}} module=p2p msg={} peer={"id":"3e506472683ceb7ed75c1578d092c79785c27857","ip":"104.245.147.203","port":26656}
6:45AM INF Connection is closed @ recvRoutine (likely by the other side) conn={"Logger":{}} module=p2p peer={"id":"f28e8ebc62a9db90b7b021090f234f361d4822a9","ip":"89.149.218.150","port":26656}
6:45AM INF service stop impl={"Logger":{}} module=p2p msg={} peer={"id":"f28e8ebc62a9db90b7b021090f234f361d4822a9","ip":"89.149.218.150","port":26656}
6:45AM ERR Stopping peer for error err=EOF module=p2p peer={"Data":{},"Logger":{}}
6:45AM INF service stop impl={"Data":{},"Logger":{}} module=p2p msg={} peer={"id":"f28e8ebc62a9db90b7b021090f234f361d4822a9","ip":"89.149.218.150","port":26656}
6:45AM ERR Connection failed @ sendRoutine conn={"Logger":{}} err="pong timeout" module=p2p peer={"id":"fc87b38b4e63332fe55cd9a185180a2717e073fc","ip":"167.235.105.28","port":26110}
6:45AM INF service stop impl={"Logger":{}} module=p2p msg={} peer={"id":"fc87b38b4e63332fe55cd9a185180a2717e073fc","ip":"167.235.105.28","port":26110}
6:45AM ERR Stopping peer for error err="pong timeout" module=p2p peer={"Data":{},"Logger":{}}
6:45AM INF service stop impl={"Data":{},"Logger":{}} module=p2p msg={} peer={"id":"fc87b38b4e63332fe55cd9a185180a2717e073fc","ip":"167.235.105.28","port":26110}
6:46AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
6:46AM INF Saving AddrBook to file book=/Users/zhouyuan/.gaia/config/addrbook.json module=p2p size=1003
6:46AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
6:47AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
6:47AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
6:48AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
6:48AM INF Saving AddrBook to file book=/Users/zhouyuan/.gaia/config/addrbook.json module=p2p size=1003
6:48AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
6:49AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
6:49AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
6:50AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
6:50AM INF service start impl="Peer{MConn{142.132.241.67:26110} 4f1626568572dd6be6b3b5478acac01376fc4729 out}" module=p2p msg={} peer={"id":"4f1626568572dd6be6b3b5478acac01376fc4729","ip":"142.132.241.67","port":26110}
6:50AM INF service start impl=MConn{142.132.241.67:26110} module=p2p msg={} peer={"id":"4f1626568572dd6be6b3b5478acac01376fc4729","ip":"142.132.241.67","port":26110}
6:50AM INF Saving AddrBook to file book=/Users/zhouyuan/.gaia/config/addrbook.json module=p2p size=1003
6:50AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=1 numToDial=9
6:51AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=1 numToDial=9
6:51AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=1 numToDial=9
6:52AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=1 numToDial=9
6:52AM INF service start impl="Peer{MConn{104.245.147.203:26656} 3e506472683ceb7ed75c1578d092c79785c27857 out}" module=p2p msg={} peer={"id":"3e506472683ceb7ed75c1578d092c79785c27857","ip":"104.245.147.203","port":26656}
6:52AM INF service start impl=MConn{104.245.147.203:26656} module=p2p msg={} peer={"id":"3e506472683ceb7ed75c1578d092c79785c27857","ip":"104.245.147.203","port":26656}
6:52AM INF Saving AddrBook to file book=/Users/zhouyuan/.gaia/config/addrbook.json module=p2p size=1003
6:52AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=2 numToDial=8
6:53AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=2 numToDial=8
6:53AM INF service start impl="Peer{MConn{89.149.218.150:26656} f28e8ebc62a9db90b7b021090f234f361d4822a9 out}" module=p2p msg={} peer={"id":"f28e8ebc62a9db90b7b021090f234f361d4822a9","ip":"89.149.218.150","port":26656}
6:53AM INF service start impl=MConn{89.149.218.150:26656} module=p2p msg={} peer={"id":"f28e8ebc62a9db90b7b021090f234f361d4822a9","ip":"89.149.218.150","port":26656}
6:53AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=3 numToDial=7
6:54AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=3 numToDial=7
6:54AM INF Saving AddrBook to file book=/Users/zhouyuan/.gaia/config/addrbook.json module=p2p size=1003
6:54AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=3 numToDial=7
6:55AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=3 numToDial=7
6:55AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=3 numToDial=7
6:56AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=3 numToDial=7
6:56AM INF Saving AddrBook to file book=/Users/zhouyuan/.gaia/config/addrbook.json module=p2p size=1003

from testnets.

dasanchez avatar dasanchez commented on June 30, 2024

Hi @yuanzd123 !
Could you try syncing with Gaia v9.0.3, please? We haven't upgraded the theta-testnet-001 chain to v9.1.0 yet.

from testnets.

yuanzd123 avatar yuanzd123 commented on June 30, 2024

@dasanchez Thanks! It worked!
If I want to setup a sentry node, use basically the same setting as my local node in the AWS EC2 instance, and only need to change my local node and cloud node config as this. Start both nodes, that's it right?
image

from testnets.

mechul-eth avatar mechul-eth commented on June 30, 2024

Could you please try these ?

sudo systemctl stop gaiad

[email protected]:36656,[email protected]:2320,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:43656,[email protected]:2010,[email protected]:30156,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26001,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:40800,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:14956,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:14956,[email protected]:25007,[email protected]:25001,[email protected]:26656,[email protected]:26656,[email protected]:25003,[email protected]:26676,[email protected]:25002,[email protected]:28656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.gaia/config/config.toml

gaiad tendermint unsafe-reset-all --home ~/.HOME --keep-addr-book

sudo systemctl restart gaiad && journalctl -fu gaiad -o cat

from testnets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.