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

cleos error message missleading in 5.0 #1688

Closed
matthewdarwin opened this issue Sep 27, 2023 · 0 comments · Fixed by #1733 or #1738
Closed

cleos error message missleading in 5.0 #1688

matthewdarwin opened this issue Sep 27, 2023 · 0 comments · Fixed by #1733 or #1738
Assignees
Labels
bug Something isn't working 👍 lgtm OCI Work exclusive to OCI team

Comments

@matthewdarwin
Copy link

nodeos can use different ports for different APIs from 5.0 onwards. Cleos error message should suggest this possibility and not just suggest that the plugin is not enabled. In my test case net API is running on different port. (Of course cleos is not reading nodeos/config.ini so it doesn't know the real situation)

$ cleos -u http://localhost:8888 net peers
Error 3110004: Missing Net API Plugin
Ensure that you have eosio::net_api_plugin added to your node's configuration!
Error Details:
Net API plugin is not enabled
@enf-ci-bot enf-ci-bot moved this to Todo in Team Backlog Sep 27, 2023
@bhazzard bhazzard removed the triage label Sep 28, 2023
@bhazzard bhazzard added this to the Leap v5.0.0-stable milestone Sep 28, 2023
@bhazzard bhazzard added the bug Something isn't working label Sep 28, 2023
@heifner heifner self-assigned this Oct 6, 2023
@heifner heifner added the OCI Work exclusive to OCI team label Oct 6, 2023
@heifner heifner moved this from Todo to In Progress in Team Backlog Oct 6, 2023
heifner added a commit that referenced this issue Oct 6, 2023
@heifner heifner linked a pull request Oct 6, 2023 that will close this issue
heifner added a commit that referenced this issue Oct 9, 2023
heifner added a commit that referenced this issue Oct 9, 2023
heifner added a commit that referenced this issue Oct 9, 2023
[5.0 -> main] Improve cleos error messages
@github-project-automation github-project-automation bot moved this from In Progress to Done in Team Backlog Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 👍 lgtm OCI Work exclusive to OCI team
Projects
Archived in project
5 participants