Stride-Labs / mainnet

Instructions to connect to Stride's mainnet
MIT License
63 stars 124 forks source link

Cannot connect to peers #12

Open sorcer1122 opened 2 years ago

sorcer1122 commented 2 years ago

Hi there! I have installed the node with the official script but getting the following in my log:

12:55PM INF Dialing peer address={"id":"39242860e603f31c000b90cbf756ad7270b40a96","ip":"20.223.147.37","port":16656} module=p2p 12:55PM INF Dialing peer address={"id":"e279712a0543ab8618aeed2c259c6744c3d3ab7e","ip":"144.91.77.189","port":36656} module=p2p 12:55PM INF Dialing peer address={"id":"c6956b6f2ab9781394a887ee253ce5de94030cc3","ip":"20.25.133.77","port":16656} module=p2p 12:55PM INF Dialing peer address={"id":"fcd3157f7d3a935d1c1ff7a7e16acecd7c50b329","ip":"46.8.220.60","port":16656} module=p2p 12:55PM INF Dialing peer address={"id":"07c69d8490a2f8c987cb4c8044a54a2982d230e4","ip":"5.189.136.24","port":12656} module=p2p 12:55PM INF Dialing peer address={"id":"b0fb556f0f34a5802af9407801283eb1b3fb91e0","ip":"95.217.210.174","port":26656} module=p2p 12:55PM INF Dialing peer address={"id":"2f21cf1b63d75a83426883b2ad91a92d1d1594c4","ip":"116.202.112.175","port":26656} module=p2p 12:55PM INF Dialing peer address={"id":"2059989bbadb24ef498ff5b12f0b43c071701882","ip":"134.209.186.147","port":16656} module=p2p 12:55PM INF Dialing peer address={"id":"a0023c5552562f749544649be9125486d6966044","ip":"95.217.118.100","port":31656} module=p2p 12:55PM INF Dialing peer address={"id":"f14f356649871089cabdbcc6fd62f980eac4eab4","ip":"142.132.225.240","port":26656} module=p2p 12:55PM INF Dialing peer address={"id":"135043e139d20a483d668076b56594cbf28beb1f","ip":"20.78.59.150","port":26656} module=p2p 12:55PM INF Dialing peer address={"id":"11cf69772d08210baa7eff2728efb190cc8103db","ip":"46.146.231.96","port":26656} module=p2p 12:55PM INF Dialing peer address={"id":"a37d65086e78865929ccb7388146fb93664223f7","ip":"18.144.13.149","port":26656} module=p2p 12:55PM INF Discovering snapshots for 15s module=statesync 12:56PM INF Dialing peer address={"id":"05313ff7326221035692e5c43198d13ee9079cc7","ip":"116.203.47.199","port":26656} module=p2p 12:56PM INF Connection is closed @ recvRoutine (likely by the other side) conn={"Logger":{}} module=p2p peer={"id":"0fe7ae392a472b6e1215879fc4f2908e9f2370c4","ip":"167.99.93.51","port":26656} 12:56PM INF Stopping MConnection service impl={"Logger":{}} module=p2p peer={"id":"0fe7ae392a472b6e1215879fc4f2908e9f2370c4","ip":"167.99.93.51","port":26656} 12:56PM ERR Stopping peer for error err=EOF module=p2p peer={"Data":{},"Logger":{}} 12:56PM INF Stopping Peer service impl={"Data":{},"Logger":{}} module=p2p peer={"id":"0fe7ae392a472b6e1215879fc4f2908e9f2370c4","ip":"167.99.93.51","port":26656} 12:56PM INF Error reconnecting to peer. Trying again addr={"id":"05313ff7326221035692e5c43198d13ee9079cc7","ip":"116.203.47.199","port":26656} err="auth failure: secret conn failed: read tcp 194.163.142.220:47110->116.203.47.199:26656: i/o timeout" module=p2p tries=5 12:56PM INF Discovering snapshots for 15s module=statesync 12:56PM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=20 numToDial=80 12:56PM INF Dialing peer address={"id":"59524a6ad0470a3d5ad4046b71b02265120b4315","ip":"185.220.205.161","port":16656} module=p2p 12:56PM INF Dialing peer address={"id":"ca628217568cefba3d974e0e99cc6b74dab0464c","ip":"213.136.70.209","port":26656} module=p2p 12:56PM INF Dialing peer address={"id":"8d9f19b5b45540e5424d5c96bd030f2044f45ec0","ip":"68.183.232.34","port":16656} module=p2p 12:56PM INF Dialing peer address={"id":"53cc3c3dea7be4bfd432ac7f4c98cd4c7ee591fb","ip":"34.244.181.193","port":26656} module=p2p 12:56PM INF Dialing peer address={"id":"99e7a1dd224cf33c6fd97c527f7f327275e7d84b","ip":"94.130.204.53","port":12656} module=p2p 12:56PM INF Dialing peer address={"id":"84ff28824a911409e2c24f2f5ede87ae1b859b5f","ip":"5.189.178.222","port":46656} module=p2p 12:56PM INF Dialing peer address={"id":"54a49080e7abc31cef1890a665b9eb7743862737","ip":"20.63.188.185","port":16656} module=p2p 12:56PM INF Dialing peer address={"id":"7caf1e1c356e37d5430709745c08488e2c834db9","ip":"136.243.110.52","port":16656} module=p2p 12:56PM INF Dialing peer address={"id":"55a3ea9a384f93d5d74e835c6e2dd97edeee455a","ip":"164.92.81.14","port":26656} module=p2p 12:56PM INF Dialing peer address={"id":"0feb325d1830b1214f5408de322efdd28e76048b","ip":"161.97.92.162","port":26656} module=p2p 12:56PM INF Dialing peer address={"id":"a11da3f191ef4fb30f0a3c7c4f93417352568751","ip":"20.189.116.32","port":16656} module=p2p 12:56PM INF Dialing peer address={"id":"af1a1ea515d326595972f4eaaf46f4866f024897","ip":"18.116.21.220","port":26656} module=p2p 12:56PM INF Dialing peer address={"id":"bfea1a928ffaaa5c8ceb5625f426a235103ef997","ip":"192.46.221.20","port":16656} module=p2p 12:56PM INF Dialing peer address={"id":"bb7a964dd3fa5d7f65df96f9f2980dc1bcd3e3b6","ip":"34.77.125.86","port":16656} module=p2p 12:56PM INF Dialing peer address={"id":"19656527fa4f9df379ebca5d31b5eca9b06476be","ip":"65.108.43.116","port":56142} module=p2p 12:56PM INF Dialing peer address={"id":"a98a2275459ee330f0649b2b709489c340938886","ip":"178.128.52.193","port":16656} module=p2p 12:56PM INF Dialing peer address={"id":"3a619a04fb655fa3060a8297f0b18be354fde576","ip":"65.108.216.8","port":26658} module=p2p 12:56PM INF Dialing peer address={"id":"05860da816e41100acf71610a4932600a3958b35",

I tried to re-install, reset, leaving it overnight but nothing helps. I also noticed that some other people faced with the same issue.

Any idea how to fix it?

sorcer1122 commented 2 years ago

Sometimes I get the following in my log:

12:59PM INF Dialing peer address={"id":"37bba1b12a649abff75138c767b3f132ac7e34d7","ip":"13.209.198.111","port":26656} module=p2p 12:59PM INF Dialing peer address={"id":"3e56f7b82c6cbb03ce6ac8401817c6741ac8c21c","ip":"143.198.128.117","port":12656} module=p2p 12:59PM INF Dialing peer address={"id":"82cb7c3f039275418773a8edbe73de3d7df298b3","ip":"66.175.235.110","port":26656} module=p2p 12:59PM INF Starting Peer service impl="Peer{MConn{167.99.93.51:26656} 0fe7ae392a472b6e1215879fc4f2908e9f2370c4 out}" module=p2p peer={"id":"0fe7ae392a472b6e1215879fc4f2908e9f2370c4","ip":"167.99.93.51","port":26656} 12:59PM INF Starting MConnection service impl=MConn{167.99.93.51:26656} module=p2p peer={"id":"0fe7ae392a472b6e1215879fc4f2908e9f2370c4","ip":"167.99.93.51","port":26656} 12:59PM INF Added peer module=p2p peer={"Data":{},"Logger":{}} 12:59PM INF error from light block request from primary, removing... error="post failed: Post \"http://stride-library-direct.poolparty.stridenet.co:26657\": context deadline exceeded" height=25588 module=light primary={} 12:59PM ERR error on light block request from witness, removing... error="post failed: Post \"http://141.95.124.151:20087\": context deadline exceeded" module=light primary={} 12:59PM ERR error on light block request from witness, removing... error="post failed: Post \"http://stride.stake-take.com:26657\": context deadline exceeded" module=light primary={} 12:59PM ERR error on light block request from witness, removing... error="post failed: Post \"http://stride-library-direct.poolparty.stridenet.co:26657\": context deadline exceeded" module=light primary={} 12:59PM ERR failed to remove witnesses err="no witnesses connected. please reset light client" module=light witnessesToRemove=[1,2,0] 12:59PM ERR Can't verify err="failed to obtain the header at height #25588: post failed: Post \"http://stride-library-direct.poolparty.stridenet.co:26657\": context deadline exceeded" module=light 12:59PM INF failed to fetch and verify app hash err="failed to obtain the header at height #25588: post failed: Post \"http://stride-library-direct.poolparty.stridenet.co:26657\": context deadline exceeded" module=statesync 12:59PM INF Snapshot rejected format=1 hash="��O^�#\x16G\x04�����x=����88\x17}��\x06�mX0�" height=13100 module=statesync 12:59PM INF VerifyHeader hash=7A6BFFEC101CBE39872D4DDEE8EA5BA0A6A0853F6D4B32E91B02BAFB3CF50A53 height=13001 module=light 1:00PM INF Connection is closed @ recvRoutine (likely by the other side) conn={"Logger":{}} module=p2p peer={"id":"73f15ad99a0ac6e60cda2b691bc5b71cd7f221bc","ip":"141.95.124.151","port":20086} 1:00PM INF Stopping MConnection service impl={"Logger":{}} module=p2p peer={"id":"73f15ad99a0ac6e60cda2b691bc5b71cd7f221bc","ip":"141.95.124.151","port":20086} 1:00PM ERR Stopping peer for error err=EOF module=p2p peer={"Data":{},"Logger":{}}

StakeTake commented 2 years ago

Hello. Try add our fresh addrbook: sudo systemctl stop strided rm $HOME/.stride/config/addrbook.json wget -O $HOME/.stride/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-TESTNET-2/addrbook.json" sudo systemctl restart strided