cardano-sl icon indicating copy to clipboard operation
cardano-sl copied to clipboard

cardano-node: CannotParseNetworkConfig (AesonException "Error in $: Topology

Open CockyCat opened this issue 6 years ago • 5 comments

./connect-to-mainnet

Keeping state in /xxx/.state-wallet-mainnet Launching a node connected to 'mainnet' ... /usr/bin/connect-to-mainnet: line 13: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8): No such file or directory Wallet is starting... [production:INFO:ThreadId 5] [2018-07-19 13:17:59.14 UTC] [Attention] Software is built with the wallet backend [production:INFO:ThreadId 5] [2018-07-19 13:17:59.14 UTC] using configurations: ConfigurationOptions {cfoFilePath = "/nix/store/zb4922asa0nyb8siz926gp3zh5rjxlna-cardano-config/configuration.yaml", cfoKey = "mainnet_full", cfoSystemStart = Nothing, cfoSeed = Nothing} [node:ERROR:ThreadId 5] [2018-07-19 13:17:59.85 UTC] logException: CannotParseNetworkConfig (AesonException "Error in $: Topology: expected exactly one of 'nodes', 'wallet', 'relays', or 'p2p'") cardano-node: CannotParseNetworkConfig (AesonException "Error in $: Topology: expected exactly one of 'nodes', 'wallet', 'relays', or 'p2p'")

What's wrong? Please help me , Thanks.

CockyCat avatar Jul 19 '18 13:07 CockyCat

Who can help me ?

CockyCat avatar Jul 24 '18 07:07 CockyCat

What version of the software are you running? Did you build it yourself from Git? If so what is the git commit hash?

erikd avatar Jul 25 '18 06:07 erikd

I'm getting teh same error. Built from git yesterday. Followed the instructions for exchange on-boarding. created a custom-wallet-config.nix as instructed. generated a ./launch file and upon launching get this error. Does this have something to go with the exchange-topology.yaml? at the moment it is empty. The instructions say that relays have to be inserted into this file. Not sure what is meant by this.

i5hi avatar Oct 08 '18 07:10 i5hi

Launching a node connected to 'mainnet' ... ./launch_2018-10-08_a0fc74140: line 19: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8): No such file or directory Wallet is starting...[cardano-sl.production:Info:ThreadId 5] [2018-10-08 07:13:46.09 UTC] using configurations: ConfigurationOptions {cfoFilePath = "/nix/store/p6x17f061gqw69f4fb7hm1xnk4ywqyv5-cardano-sl-config/lib/configuration.yaml", cfoKey = "mainnet_full", cfoSystemStart = Nothing, cfoSeed = Nothing} [cardano-sl.production:Info:ThreadId 5] [2018-10-08 07:13:46.88 UTC] System start time is 1506203091000000 [cardano-sl.production:Info:ThreadId 5] [2018-10-08 07:13:46.88 UTC] Current time is 1538982826887975 [cardano-sl.production:Info:ThreadId 5] [2018-10-08 07:13:46.88 UTC] initalizing user secret cardano-node: CannotParseNetworkConfig (AesonException "Error in $: Topology: expected exactly one of 'nodes', 'wallet','relays', or 'p2p'")

i5hi avatar Oct 08 '18 07:10 i5hi

okay its been resolved now. i deleted everything and reinstalled. this time didnt create the ./connect-to-mainnet file, instead just followed the instructions on the exchange-onboarding page and directly created a ./launch with a custom config.

i5hi avatar Oct 08 '18 08:10 i5hi