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

consider making cleos error messages more clear as to what endpoint is being used #1857

Open
matthewdarwin opened this issue Nov 2, 2023 · 0 comments

Comments

@matthewdarwin
Copy link

image

It's not clear here what the "specified endpoint" is. Should the error tell us? (to those who know it is localhost:8888 of course)

Seems it might be nice to be able to have some cleos.ini file to tell it which endpoints to connect to for which type of thing. (I moved the net API onto a different port so cleos can't find it by default)

Our nodeos config.ini looks like this:

http-server-address = http-category-address
http-category-address = chain_ro,:8888
http-category-address = chain_rw,:8888
http-category-address = db_size,localhost:8889
http-category-address = net_ro,localhost:8889
http-category-address = net_rw,localhost:8889
http-category-address = producer_ro,localhost:8889
http-category-address = producer_rw,localhost:8889
http-category-address = snapshot,localhost:8889
http-category-address = prometheus,:9101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants