cosmos / relayer

An IBC relayer for ibc-go
Apache License 2.0
390 stars 1.71k forks source link

timeout packet verification failed #1472

Open hallazzang opened 5 months ago

hallazzang commented 5 months ago

I keep getting this error when I run the relayer:

2024-06-13T14:09:48.114538Z     error   Error sending messages  {"path_name": "...", "src_chain_id": "...", "dst_chain_id": "...", "src_client_id": "07-tendermint-...", "dst_client_id": "07-tendermint-...", "error": "rpc error: code = Unknown desc = rpc error: code = Unknown desc = failed to execute message; message index: 1: timeout packet verification failed: failed next sequence receive verification for client (07-tendermint-...): chained membership proof failed to verify membership of value: 0000000000000002 in subroot A851...D7E7 at index 0. Please ensure the path and value are both correct.: invalid proof [cosmos/ibc-go/v8@v8.2.1/modules/core/23-commitment/types/merkle.go:218] with gas used: '625040': unknown request"}

Is there any known reports about it? Here's my configuration file:

global:
    api-listen-addr: :5183
    timeout: 10s
    memo: ""
    light-cache-size: 20
    log-level: info
    ics20-memo-limit: 0
    max-receiver-size: 150
chains:
    chain1:
        type: cosmos
        value:
            key-directory: /root/.relayer/keys/...
            key: relayer
            chain-id: chain-1
            rpc-addr: http://...:26657
            account-prefix: ...
            keyring-backend: test
            gas-adjustment: 1.5
            gas-prices: 0.15...
            debug: false
            timeout: 20s
            output-format: json
            sign-mode: direct
            broadcast-mode: batch
    chain2:
        type: cosmos
        value:
            key-directory: /root/.relayer/keys/...
            key: relayer
            chain-id: chain-2
            rpc-addr: http://...:26657
            account-prefix: ...
            keyring-backend: test
            gas-adjustment: 1.5
            gas-prices: 0.15...
            debug: false
            timeout: 20s
            output-format: json
            sign-mode: direct
            broadcast-mode: batch
paths:
    path1:
        src:
            chain-id: chain-1
            client-id: 07-tendermint-...
            connection-id: connection-...
        dst:
            chain-id: chain-2
            client-id: 07-tendermint-...
            connection-id: connection-...
        src-channel-filter:
            rule: ""
            channel-list: []

I just substituted some values with ... to not disclose some information. I want to make sure if it's the relayer's issue or the chains' issue.

duonghb53 commented 5 months ago

@hallazzang do you have check 2 chains running?

hallazzang commented 5 months ago

@hallazzang do you have check 2 chains running?

Sure the chains are indeed running.

duonghb53 commented 5 months ago

2 chains run on local or docker. I see you use same port 26657.

duonghb53 commented 5 months ago

And can you describe all step run relayer?

Reecepbcups commented 5 months ago

This may be an IBC-Go thing? Looks like the hermes relayer had this same issue in the past come up here: https://github.com/informalsystems/hermes/issues/697

Need more info for what networks you are doing this on. I suspect its one of the chains issue vs relayer due to the invalid proof (improper packet?)

jtieri commented 2 months ago

hey @hallazzang, any updates on this? @Reecepbcups asked for some additional information regarding your original issue https://github.com/cosmos/relayer/issues/1472#issuecomment-2170017509

if we could have some additional information about this issue it may help us come up with a solution or allow us to reproduce the issue on our end in order to validate your report.

If we don't hear back soon then i will close the issue as stale until we hear back. Thanks!