Tried updating my pool/relay...failed...started from scratch and have topology issue?

Im trying to start fresh on a relay…with 10.2.1. Im getting a topology error when starting the node.

socket: /home/matt/cardano-my-node/db/socket
node-to-node versions: [13,14]
node-to-client versions: [16,17,18,19]

cardano-node: Cardano.Node.Configuration.Topology.readTopologyFile: Is your topology file formatted correctly? Expecting Non-P2P Topology file format. The port and valency fields should be numerical. If you specified the correct topology file make sure that you correctly setup EnableP2P configuration flag. Unexpected “,\n\t }\n ],\n "advertis”, expecting key literal
CallStack (from HasCallStack):
error, called at src/Cardano/Node/Configuration/Topology.hs:160:23 in cardano-node-10.2.1-inplace:Cardano.Node.Configuration.Topology

My topology looks like

“localRoots”: [
{
“accessPoints”: [
{
“address”: “my blocks ip”,
“port”: 6000,
}
],
“advertise”: false,
“trustable”: true,
“valency”: 1
}
],
“publicRoots”: [
{
“accessPoints”: [
{
“address”: “backbone.cardano.iog.io”,
“port”: 3001
},
{
“address”: “backbone.mainnet.cardanofoundation.org”,
“port”: 3001
},
{
“address”: “backbone.mainnet.emurgornd.com”,
“port”: 3001
}
],
“advertise”: false
}

Anyone got any ideas whats going? Im just trying to get me relay synched to 100% before i start trying to update the block…and now i cant even get the node to start?! What am i missing?

Did you update the config file? It looks like you have the P2P flag set to false.

1 Like

I did up the config and intentionally set p2p as false…seeing as im not ready to use p2p…i only currently have one relay and one block producer setup…i have second relay in the wings…but shouldn’t i just be able to disable p2p on the relay and block in the config?..or is it now mandatory to run it with the new hardfork?

The topology file you supplied is in p2p format…you can still run in non-p2p, but you need to provide it a non-p2p topology

Ahhh i think i get what you’re saying…wasn’t there a legacy topology somewhere…?

you’ll have to hunt around for an example. I think nearly everyone is on p2p now.