hyperledger / besu

An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
https://www.hyperledger.org/projects/besu
Apache License 2.0
1.48k stars 809 forks source link

The provided --p2p-interface is not available #4609

Closed binny1024 closed 1 year ago

binny1024 commented 1 year ago

Description

As an [Actor], I want [feature] so that [why]. picocli.CommandLine$ParameterException: The provided --p2p-interface is not available:[public ip] at org.hyperledger.besu.cli.BesuCommand.run(BesuCommand.java:1439) at picocli.CommandLine.executeUserObject(CommandLine.java:1939) at picocli.CommandLine.access$1300(CommandLine.java:145) at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358) at picocli.CommandLine$RunLast.handle(CommandLine.java:2352) at picocli.CommandLine$RunLast.handle(CommandLine.java:2314) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179) at picocli.CommandLine$RunLast.execute(CommandLine.java:2316) at picocli.CommandLine.execute(CommandLine.java:2078) at org.hyperledger.besu.cli.util.ConfigOptionSearchAndRunHandler.handle(ConfigOptionSearchAndRunHandler.java:54) at org.hyperledger.besu.cli.util.ConfigOptionSearchAndRunHandler.handle(ConfigOptionSearchAndRunHandler.java:32) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179) at picocli.CommandLine$RunLast.execute(CommandLine.java:2316) at picocli.CommandLine.execute(CommandLine.java:2078) at org.hyperledger.besu.cli.BesuCommand.parse(BesuCommand.java:1609) at org.hyperledger.besu.cli.BesuCommand.parse(BesuCommand.java:1388) at org.hyperledger.besu.Besu.main(Besu.java:48) Caused by: picocli.CommandLine$ParameterException: The provided --p2p-interface is not available: [public ip] at org.hyperledger.besu.cli.BesuCommand.validateP2PInterface(BesuCommand.java:1790) at org.hyperledger.besu.cli.BesuCommand.validateOptions(BesuCommand.java:1751) at org.hyperledger.besu.cli.BesuCommand.run(BesuCommand.java:1421) ... 16 more

To display full help: besu [COMMAND] --help

Acceptance Criteria

Steps to Reproduce (Bug)

  1. [Step 1]
  2. [Step 2]
  3. [Step ...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Frequency: [What percentage of the time does it occur?]

Versions (Add all that apply)

Smart contract information (If you're reporting an issue arising from deploying or calling a smart contract, please supply related information)

Additional Information (Add any of the following or anything else that may be relevant)

gfukushima commented 1 year ago

Hi @heifuni would be able to share the configuration or cli parameters you're using?

binny1024 commented 1 year ago

Sorry, it's been a little long in the past, next time I meet, I'll send it to you again, thank you

non-fungible-nelson commented 1 year ago

Will close this for now - @binny1024 please re-open the issue if its still occurring.