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

[Bug]: Client and App Comet RPC are mismatched in simdv2 #23329

Open
1 task done
aljo242 opened this issue Jan 10, 2025 · 0 comments
Open
1 task done

[Bug]: Client and App Comet RPC are mismatched in simdv2 #23329

aljo242 opened this issue Jan 10, 2025 · 0 comments
Labels

Comments

@aljo242
Copy link
Contributor

aljo242 commented Jan 10, 2025

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Run the following:

make init-simapp-v2
make build
cd build && ./simappv2 start

Client tries to use a Comet RPC at localhost:26658

curl  localhost:1317/cosmos/tx/v1beta1/txs/block/5

{"code":2,"message":"error in json rpc client, with http response metadata: (Status: 200 OK, Protocol HTTP/1.1). RPC error -32603 - Internal error: post failed: Post \"http://127.0.0.1:26658\": dial tcp 127.0.0.1:26658: connect: connection refused","details":[]}%
curl localhost:26658/health
curl: (7) Failed to connect to localhost port 26658 after 0 ms: Couldn't connect to server

But the actual RPC is at localhost:26657

curl localhost:26657/health
{"jsonrpc":"2.0","id":-1,"result":{}}%                       

this mismatch can be confirmed by checking the generated app.toml (26657) and client.toml (26658) files

Cosmos SDK Version

main

How to reproduce?

No response

@aljo242 aljo242 added the T:Bug label Jan 10, 2025
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Cosmos-SDK Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant