nomic icon indicating copy to clipboard operation
nomic copied to clipboard

hardcoded 26657

Open tac0turtle opened this issue 3 years ago • 4 comments

It seems 26657 is hardcoded in the code, users are reporting not being able the port as its listed in the config.toml

#[cfg(feature = "full")]
pub fn app_client() -> TendermintClient<app::App> {
  TendermintClient::new("http://localhost:26657").unwrap()
}

.

tac0turtle avatar Feb 01 '22 22:02 tac0turtle

What works is curl http://127.0.0.1:26657/block regardless of port configuration in the config.toml. We have seen this issue on multiple nomic nodes. The config.toml (tendermint) values are not respected.
Following settings image The curl http://127.0.0.1:2001/block command fails - even after restarting.

Validatus avatar Feb 01 '22 22:02 Validatus

It seems like the tendermint node is initialized in a way that ignores the config parameters by overwriting them here: https://github.com/nomic-io/orga/blob/71d146375f7ac160d3dad79bed51da22095b1869/src/abci/node.rs#L44-L71

Validatus avatar Feb 01 '22 22:02 Validatus

Any update on this?

Thanks

SpacePepeLabs avatar Jul 19 '22 06:07 SpacePepeLabs

Addressed in fa1a1911e692e4cd36bba9419ee81ad678d67715 - this will finally be resolved in the next release.

mappum avatar Mar 09 '23 21:03 mappum