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

Unclear error message when setting allowed-connection=specified and not providing any peer-key #155

Closed
matthewdarwin opened this issue May 17, 2024 · 3 comments · Fixed by #164
Labels
bug The product is not working as was intended. 👍 lgtm

Comments

@matthewdarwin
Copy link

Unclear error message when setting allowed-connection=specified and not providing any peer-key

appbase: exception thrown during plugin "" initialization.
Incorrect plugin configuration
@spoonincode
Copy link
Member

What version are you seeing that on? I tried spring 1.0.0 beta1 and leap 5.0.2, both provided a helpful error message.

nodeos --allowed-connection=specified
...
warn  2024-05-17T22:07:00.239 nodeos    net_plugin.cpp:4406           plugin_initialize    ] 3110006 plugin_config_exception: Incorrect plugin configuration
At least one peer-key must accompany 'allowed-connection=specified'
    {}
    nodeos  net_plugin.cpp:4370 plugin_initialize

appbase: exception thrown during plugin "eosio::net_plugin" initialization.
Incorrect plugin configuration

but I do see something like looks like #138 on spring beta, since I end up with,

warn  2024-05-17T22:07:00.244 nodeos    fork_database.cpp:722         close                ] fork_database is in a bad state when closing; not writing out '/home/spoon/.local/share/eosio/nodeos/data/blocks/reversible/fork_db.dat', legacy_valid=false, savanna_valid=false

@heifner
Copy link
Member

heifner commented May 18, 2024

warn  2024-05-17T22:07:00.244 nodeos    fork_database.cpp:722         close                ] fork_database is in a bad state when closing; not writing out '/home/spoon/.local/share/eosio/nodeos/data/blocks/reversible/fork_db.dat', legacy_valid=false, savanna_valid=false

We should fix that warning, there is nothing wrong there.

@heifner
Copy link
Member

heifner commented May 20, 2024

Resolved by #164

@heifner heifner closed this as completed May 20, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Backlog May 20, 2024
@heifner heifner added bug The product is not working as was intended. and removed triage labels May 20, 2024
@arhag arhag added this to the Savanna: Production-Ready milestone May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The product is not working as was intended. 👍 lgtm
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants