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: cleos error reporting #428

Closed
cc32d9 opened this issue Jun 19, 2022 · 2 comments
Closed

Bug: cleos error reporting #428

cc32d9 opened this issue Jun 19, 2022 · 2 comments
Assignees
Labels
3.1 Candidates 3.1 RC2 OCI OCI working this issue...
Milestone

Comments

@cc32d9
Copy link
Contributor

cc32d9 commented Jun 19, 2022

when the API rejects a connection, 3.1rc1 cleos prints strange messages:

/opt/wax-mandel/usr/local/bin/cleos -u http://127.0.0.1:8802 get info
Failed http request to nodeos at http://127.0.0.1:8802; is nodeos running?
  Common issue is message size too large. Check the log of nodeos.
  Error: connect: Connection refused
@heifner
Copy link
Member

heifner commented Jun 20, 2022

To be clear are you asking for the the message "Common issue is message size too large. Check the log of nodeos." to not be reported when the error is "Connection refused"? Or some other change?

@cc32d9
Copy link
Contributor Author

cc32d9 commented Jun 20, 2022

yes, exactly. "Common issue is message size too large. Check the log of nodeos." is confusing and misleading.

@heifner heifner self-assigned this Jun 21, 2022
@heifner heifner added OCI OCI working this issue... 3.1 RC2 labels Jun 21, 2022
@heifner heifner closed this as completed Jun 21, 2022
@arhag arhag added this to the Mandel 3.1.0 milestone Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.1 Candidates 3.1 RC2 OCI OCI working this issue...
Projects
None yet
Development

No branches or pull requests

4 participants