bnb-chain / bsc-relayer

An implementation of relay service to relay cross chain packages from BNB Beacon Chain to BNB Smart Chain
GNU Lesser General Public License v3.0
101 stars 51 forks source link

ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request #34

Closed moesaleh closed 3 years ago

moesaleh commented 3 years ago

Hello Again, I am using this configuration: "cross_chain_config": { "source_chain_id": 1, "dest_chain_id": 56, "monitor_channel_list": [1, 2, 3, 8, 9], "competition_mode": true }, "bbc_config": { "rpc_addrs": [ "tcp://dataseed1.ninicoin.io:80" ], "mnemonic_type": "local_mnemonic", "aws_region": "", "aws_secret_name": "", "mnemonic": "***************************", "sleep_millisecond_for_wait_block": 500, "clean_up_block_interval": 20, "block_interval_for_clean_up_undelivered_packages": 1000, "behind_block_threshold": 5 }, "bsc_config": { "key_type": "local_private_key", "aws_region": "", "aws_secret_name": "", "private_key": "***************************", "providers": [ "https://bsc-dataseed1.ninicoin.io/" ], "gas_limit": 4700000, "gas_price": 20000000000, "unconfirmed_tx_threshold": 1, "monitor_data_seed_list": [ "wss://empty-shy-snow.bsc.quiknode.pro/", "wss://hidden-silent-sun.bsc.quiknode.pro/08daccd148986f3c1611f989c755c4b0aa340b7c/" ] },

It ran for a minute and then it started to get me these errors: 2021-06-29 06:19:01 INFO cleanPreviousPackages channelID: 1, next deliver sequence 77 on BSC, next sequence 77 on BC 2021-06-29 06:19:01 INFO cleanPreviousPackages channelID: 2, next deliver sequence 9006494 on BSC, next sequence 9006496 on BC 2021-06-29 06:19:02 INFO UpdateClients Start to monitor bsc data-seeds healthy 2021-06-29 06:19:02 INFO cleanPreviousPackages Sync header 172725171, txHash 0x3cd0253a1a22189e4ee08ad4869c11b3c8d67a7f9a8b2a213fcfd78dbef1cc18 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 INFO cleanPreviousPackages Cleanup packages at height 18446744073709551615 2021-06-29 06:19:03 INFO SwitchBCClient Switch to RPC endpoint: tcp://dataseed1.ninicoin.io:80 2021-06-29 06:19:03 ERROR relayerCompetitionDaemon websocket client is dialing or stopped, can't send any request 2021-06-29 06:19:03 ERROR getLatestHeight Query latest height error: websocket client is dialing or stopped, can't send any request

Should I run a full BC Node? and replace dataseet1.ninicoin.io with it?

Appreciate your answer

moesaleh commented 3 years ago

@yutianwu Appreciate your help since there is no official support for the issue of BSC relayer. Thansk

yutianwu commented 3 years ago

you can try to run a full node, it may be more reliable

moesaleh commented 3 years ago

Appreciate your answer thanks a lot @yutianwu One last question, Am building a node on ankr hosting provider https://www.ankr.com/, and it's only witness, does it fulfill the requirements here to run BSC node without sockets issues?

yutianwu commented 3 years ago

gosdk of bc only accepts tcp protocol

moesaleh commented 3 years ago

@yutianwu I see, so it's something configurable in the full node configuration, right? because if they are not supporting TCP connections I will not be able to connect with the BC node.