Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR failed while querying src chain for latest height: RPC error to endpoint #3670

Open
chandiniv1 opened this issue Oct 20, 2023 · 6 comments

Comments

@chandiniv1
Copy link

System OS

  • ubuntu

Installed tools

  • cosmos-sdk (github.com/rollkit/cosmos-sdk v0.47.3-rollkit-v0.10.4-no-fraud-proofs)

  • Ignite version (v0.27.1)

  • Hermes version (v1.6.0+1c1cf02)

Hermes config

[global]
log_level = 'info'
[mode]
[mode.clients]
enabled = true
refresh = true
misbehaviour = true
[mode.connections]
enabled = true
[mode.channels]
enabled = true
[mode.packets]
enabled = true
clear_interval = 100
clear_on_start = true
tx_confirmation = true
[telemetry]
enabled = true
host = '127.0.0.1'
port = 3001
[rest]
enabled = true
host    = '127.0.0.1'
port    = 3000

[[chains]]
id = 'gm-chain-2'
rpc_addr = 'http://localhost:16657'
grpc_addr = 'http://localhost:9092'
event_source = { mode = 'push', url = 'ws:/localhost:16657/websocket', batch_delay = '500ms' }
rpc_timeout = '15s'
account_prefix = 'gm1'
key_name = 'gm-1'
store_prefix = 'ibc'
gas_price = { price = 0.01, denom = 'stake' }
max_gas = 10000000
clock_drift = '5s'
trusting_period = '14days'
trust_threshold = { numerator = '1', denominator = '3' }

[[chains]]
id = 'gm'
rpc_addr = 'http://localhost:26657'
grpc_addr = 'http://localhost:9090'
event_source = { mode = 'push', url = 'ws:/localhost:26657/websocket', batch_delay = '500ms' }
rpc_timeout = '15s'
account_prefix = 'gm1'
key_name = 'gm-key-1'
store_prefix = 'ibc'
gas_price = { price = 0.01, denom = 'stake' }
max_gas = 10000000
clock_drift = '5s'
trusting_period = '14days'
trust_threshold = { numerator = '1', denominator = '3' }

Steps to reproduce it

hermes create channel --a-chain gm --b-chain gm-chain-2 --a-port transfer --b-port transfer --new-client-connection

Expected result

It should create client ,connection and channel between the chains.

Actual result

Screenshot from 2023-10-17 12-08-28

@romac
Copy link
Member

romac commented Oct 21, 2023

Are you able to reach the RPC endpoint from a browser?

Can you please re-run the create channel command with --debug=rpc as the first argument to hermes and post the results here?

@chandiniv1
Copy link
Author

Hi @romac
here are the results after adding debug flag
Screenshot from 2023-10-24 10-54-28
Screenshot from 2023-10-24 10-54-36

@romac
Copy link
Member

romac commented Oct 24, 2023

Thanks! From what I see here, Hermes is operating nominally and making the expected requests but the node is not responding/closing the connection early. Are you able to query the node manually over HTTP, either via a browser or via curl?

@chandiniv1
Copy link
Author

@romac when I tried to access http://localhost:26657 I'm unable to see the available endpoints, but when I'm accessing the endpoints individually ex: http://localhost:26657/status etc I'm seeing the responses
Screenshot from 2023-10-24 13-14-44
Screenshot from 2023-10-24 13-14-32

@romac
Copy link
Member

romac commented Oct 24, 2023

For both nodes?

@chandiniv1
Copy link
Author

For both nodes?

Yes @romac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🩹 Triage
Development

No branches or pull requests

2 participants