informalsystems / hermes

IBC Relayer in Rust
https://hermes.informal.systems
Apache License 2.0
439 stars 323 forks source link

Some configuration questions about starting `sei` relayer #3796

Open 99Kies opened 8 months ago

99Kies commented 8 months ago

https://github.com/sei-protocol/sei-chain/issues/1216

And when I create connection, I get this error.

this is my hermes config.toml:

[[chains]]
id = "pacific-1"
type = "CosmosSdk"
rpc_addr = "https://sei-rpc.lavenderfive.com:443"
grpc_addr = "https://sei-grpc.lavenderfive.com"
rpc_timeout = "10s"
trusted_node = false
account_prefix = "sei"
key_name = "keysei"
key_store_type = "Test"
store_prefix = "ibc"
default_gas = 100000
max_gas = 400000
gas_multiplier = 1.5
max_msg_num = 30
max_tx_size = 180000
max_grpc_decoding_size = 33554432
clock_drift = "5s"
max_block_time = "30s"
ccv_consumer_chain = false
memo_prefix = ""
sequential_batch_tx = false
compat_mode = '0.34'

[chains.event_source]
mode = "push"
url = "wss://sei-rpc.lavenderfive.com:443/websocket"
batch_delay = "500ms"

command:

➜  ~ hermes create connection --a-chain vota-ash --a-client 07-tendermint-18 --b-client 07-tendermint-65

log:


2024-01-09T06:15:28.679659Z ERROR ThreadId(01) failed ConnOpenTry ConnectionSide { chain: BaseChainHandle { chain_id: pacific-1 }, client_id: 07-tendermint-65, connection_id: None }: failed during a query to chain id pacific-1: RPC error to endpoint https://sei-rpc.polkachu.com/: serde parse error: invalid length 0, expected struct EvidenceList with 1 element at line 1 column 20077
2024-01-09T06:15:32.267790Z ERROR ThreadId(01) failed ConnOpenTry ConnectionSide { chain: BaseChainHandle { chain_id: pacific-1 }, client_id: 07-tendermint-65, connection_id: None }: failed during a query to chain id pacific-1: RPC error to endpoint https://sei-rpc.polkachu.com/: serde parse error: invalid length 0, expected struct EvidenceList with 1 element at line 1 column 17996
2024-01-09T06:15:32.267823Z ERROR ThreadId(01) failed to open connection after 101 retries
ERROR error after maximum retry of 101 and total delay of 300s: failed to finish connection handshake for Connection { delay_period: 0ns, a_side: ConnectionSide { chain: BaseChainHandle { chain_id: ChainId { id: "vota-ash", version: 0 }, runtime_sender: Sender { .. } }, client_id: ClientId("07-tendermint-18"), connection_id: Some(ConnectionId("connection-15")) }, b_side: ConnectionSide { chain: BaseChainHandle { chain_id: ChainId { id: "pacific-1", version: 1 }, runtime_sender: Sender { ..} }, client_id: ClientId("07-tendermint-65"), connection_id: None } }: failed during a query to chain id pacific-1: RPC error to endpoint https://sei-rpc.polkachu.com/: serde parse error: invalid length 0, expected struct EvidenceList with 1 element at line 1 column 17996
adizere commented 7 months ago

Can you follow the instructions about enabling debug and post the result?

99Kies commented 2 months ago

Can you follow the instructions about enabling debug and post the result?

relaying production on sei channels only works with hermes <= v1.2.

romac commented 2 months ago

Without detailed logs it's impossible for us to look into this, so please share any logs you might have if you want to enable us to debug this. Please make sure to set the log level to debug in the config, if possible.