A friend asked me to help him get a stake pool setup so I’ve been investigating for a couple of weeks. Cardano stake pooling seems pretty interesting and something I’d like to work on getting up and running. I have some linux experience, but brand new to Cardano and the crypto environment.
I’m running ubuntu 20.04 and using the cardano-foundation videos/guild, coincashew, and guild operators documentation.
I’ve been able to work through getting prereqs installed and building the node. Have NOT been able to get it to start up correctly.
When I get to startup I run this:
cardano-node run \
--topology testnet-topology.json \
--database-path db \
--socket-path db/node.socket \
--host-addr 0.0.0.0 \
--port 3001 \
--config testnet-config.json
And get output like this:
Listening on http://127.0.0.1:12798
[relay-CN:cardano.node.networkMagic:Notice:5] [2021-04-20 17:13:08.50 UTC] NetworkMagic 1097911063
[relay-CN:cardano.node.basicInfo.protocol:Notice:5] [2021-04-20 17:13:08.50 UTC] Byron; Shelley
[relay-CN:cardano.node.basicInfo.version:Notice:5] [2021-04-20 17:13:08.50 UTC] 1.26.2
[relay-CN:cardano.node.basicInfo.commit:Notice:5] [2021-04-20 17:13:08.50 UTC] 3531289c9f79eab7ac5d3272ce6e6821504fec4c
[relay-CN:cardano.node.basicInfo.nodeStartTime:Notice:5] [2021-04-20 17:13:08.50 UTC] 2021-04-20 17:13:08.508251866 UTC
[relay-CN:cardano.node.basicInfo.systemStartTime:Notice:5] [2021-04-20 17:13:08.50 UTC] 2019-07-24 20:20:16 UTC
[relay-CN:cardano.node.basicInfo.slotLengthByron:Notice:5] [2021-04-20 17:13:08.50 UTC] 20s
[relay-CN:cardano.node.basicInfo.epochLengthByron:Notice:5] [2021-04-20 17:13:08.50 UTC] 21600
[relay-CN:cardano.node.basicInfo.slotLengthShelley:Notice:5] [2021-04-20 17:13:08.50 UTC] 1s
[relay-CN:cardano.node.basicInfo.epochLengthShelley:Notice:5] [2021-04-20 17:13:08.50 UTC] 432000
[relay-CN:cardano.node.basicInfo.slotsPerKESPeriodShelley:Notice:5] [2021-04-20 17:13:08.50 UTC] 129600
[relay-CN:cardano.node.basicInfo.slotLengthAllegra:Notice:5] [2021-04-20 17:13:08.50 UTC] 1s
[relay-CN:cardano.node.basicInfo.epochLengthAllegra:Notice:5] [2021-04-20 17:13:08.50 UTC] 432000
[relay-CN:cardano.node.basicInfo.slotsPerKESPeriodAllegra:Notice:5] [2021-04-20 17:13:08.50 UTC] 129600
[relay-CN:cardano.node.basicInfo.slotLengthMary:Notice:5] [2021-04-20 17:13:08.50 UTC] 1s
[relay-CN:cardano.node.basicInfo.epochLengthMary:Notice:5] [2021-04-20 17:13:08.50 UTC] 432000
[relay-CN:cardano.node.basicInfo.slotsPerKESPeriodMary:Notice:5] [2021-04-20 17:13:08.50 UTC] 129600
[relay-CN:cardano.node.addresses:Notice:5] [2021-04-20 17:13:08.50 UTC] [SocketInfo 0.0.0.0:3001]
[relay-CN:cardano.node.diffusion-mode:Notice:5] [2021-04-20 17:13:08.50 UTC] InitiatorAndResponderDiffusionMode
[relay-CN:cardano.node.dns-producers:Notice:5] [2021-04-20 17:13:08.50 UTC] [DnsSubscriptionTarget {dstDomain = "relays-new.cardano-testnet.iohkdev.io", dstPort = 3001, dstValency = 2}]
[relay-CN:cardano.node.ip-producers:Notice:5] [2021-04-20 17:13:08.50 UTC] IPSubscriptionTarget {ispIps = [], ispValency = 0}
[relay-CN:cardano.node.ChainDB:Info:5] [2021-04-20 17:13:08.52 UTC] Opened imm db with immutable tip at genesis (origin) and chunk 0
[relay-CN:cardano.node.ChainDB:Info:5] [2021-04-20 17:13:08.52 UTC] Opened vol db
[relay-CN:cardano.node.ChainDB:Info:5] [2021-04-20 17:13:08.52 UTC] Replaying ledger from genesis
[relay-CN:cardano.node.ChainDB:Info:5] [2021-04-20 17:13:08.52 UTC] Opened lgr db
[relay-CN:cardano.node.ChainDB:Info:5] [2021-04-20 17:13:08.52 UTC] Opened db with immutable tip at genesis (origin) and tip genesis (origin)
[relay-CN:cardano.node.ChainDB:Notice:34] [2021-04-20 17:13:08.52 UTC] Chain extended, new tip: 1e64e74bd7ac76d6806480a28017deb0aedd356fb61844ec95c429ae2f30c7c3 at slot 0
[relay-CN:cardano.node.DnsSubscription:Notice:66] [2021-04-20 17:13:08.57 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 18.132.238.21:3001
[relay-CN:cardano.node.DnsSubscription:Notice:67] [2021-04-20 17:13:08.59 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 18.159.64.253:3001
[relay-CN:cardano.node.DnsSubscription:Notice:68] [2021-04-20 17:13:08.62 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 54.151.49.138:3001
[relay-CN:cardano.node.DnsSubscription:Notice:69] [2021-04-20 17:13:08.64 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 54.250.11.33:3001
[relay-CN:cardano.node.DnsSubscription:Notice:70] [2021-04-20 17:13:08.67 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 175.41.160.108:3001
[relay-CN:cardano.node.DnsSubscription:Notice:71] [2021-04-20 17:13:08.69 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 3.9.80.183:3001
[relay-CN:cardano.node.DnsSubscription:Notice:72] [2021-04-20 17:13:08.72 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 3.124.178.139:3001
[relay-CN:cardano.node.DnsSubscription:Notice:73] [2021-04-20 17:13:08.74 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 3.128.220.55:3001
[relay-CN:cardano.node.DnsSubscription:Error:68] [2021-04-20 17:15:18.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Exception, destination 54.151.49.138:3001 exception: Network.Socket.connect: <socket: 27>: timeout (Connection timed out)
[relay-CN:cardano.node.DnsSubscription:Error:71] [2021-04-20 17:15:18.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Exception, destination 3.9.80.183:3001 exception: Network.Socket.connect: <socket: 30>: timeout (Connection timed out)
[relay-CN:cardano.node.DnsSubscription:Error:72] [2021-04-20 17:15:18.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Exception, destination 3.124.178.139:3001 exception: Network.Socket.connect: <socket: 31>: timeout (Connection timed out)
[relay-CN:cardano.node.DnsSubscription:Error:67] [2021-04-20 17:15:18.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Exception, destination 18.159.64.253:3001 exception: Network.Socket.connect: <socket: 26>: timeout (Connection timed out)
[relay-CN:cardano.node.DnsSubscription:Error:66] [2021-04-20 17:15:18.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Exception, destination 18.132.238.21:3001 exception: Network.Socket.connect: <socket: 24>: timeout (Connection timed out)
[relay-CN:cardano.node.DnsSubscription:Error:73] [2021-04-20 17:15:18.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Exception, destination 3.128.220.55:3001 exception: Network.Socket.connect: <socket: 32>: timeout (Connection timed out)
[relay-CN:cardano.node.DnsSubscription:Error:69] [2021-04-20 17:15:18.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Exception, destination 54.250.11.33:3001 exception: Network.Socket.connect: <socket: 28>: timeout (Connection timed out)
[relay-CN:cardano.node.DnsSubscription:Error:70] [2021-04-20 17:15:18.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Exception, destination 175.41.160.108:3001 exception: Network.Socket.connect: <socket: 29>: timeout (Connection timed out)
[relay-CN:cardano.node.ErrorPolicy:Notice:52] [2021-04-20 17:15:18.93 UTC] IP 54.151.49.138:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 27>: timeout (Connection timed out))) 20s
[relay-CN:cardano.node.ErrorPolicy:Notice:52] [2021-04-20 17:15:18.93 UTC] IP 3.124.178.139:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 31>: timeout (Connection timed out))) 20s
[relay-CN:cardano.node.ErrorPolicy:Notice:52] [2021-04-20 17:15:18.93 UTC] IP 18.159.64.253:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 26>: timeout (Connection timed out))) 20s
[relay-CN:cardano.node.ErrorPolicy:Notice:52] [2021-04-20 17:15:18.93 UTC] IP 18.132.238.21:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 24>: timeout (Connection timed out))) 20s
[relay-CN:cardano.node.ErrorPolicy:Notice:52] [2021-04-20 17:15:18.93 UTC] IP 3.128.220.55:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 32>: timeout (Connection timed out))) 20s
[relay-CN:cardano.node.ErrorPolicy:Notice:52] [2021-04-20 17:15:18.93 UTC] IP 54.250.11.33:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 28>: timeout (Connection timed out))) 20s
[relay-CN:cardano.node.DnsSubscription:Warning:55] [2021-04-20 17:15:18.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Failed to start all required subscriptions
[relay-CN:cardano.node.ErrorPolicy:Notice:52] [2021-04-20 17:15:18.93 UTC] IP 175.41.160.108:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 29>: timeout (Connection timed out))) 20s
[relay-CN:cardano.node.ErrorPolicy:Notice:52] [2021-04-20 17:15:18.93 UTC] IP 3.9.80.183:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 30>: timeout (Connection timed out))) 20s
[relay-CN:cardano.node.DnsSubscription:Warning:55] [2021-04-20 17:15:19.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Failed to start all required subscriptions
[relay-CN:cardano.node.DnsSubscription:Warning:55] [2021-04-20 17:15:29.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Failed to start all required subscriptions
[relay-CN:cardano.node.DnsSubscription:Notice:81] [2021-04-20 17:15:39.93 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 3.128.220.55:3001
[relay-CN:cardano.node.DnsSubscription:Notice:82] [2021-04-20 17:15:39.96 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 3.124.178.139:3001
[relay-CN:cardano.node.DnsSubscription:Notice:83] [2021-04-20 17:15:39.98 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 3.9.80.183:3001
[relay-CN:cardano.node.DnsSubscription:Notice:84] [2021-04-20 17:15:40.01 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 175.41.160.108:3001
[relay-CN:cardano.node.DnsSubscription:Notice:85] [2021-04-20 17:15:40.03 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 54.250.11.33:3001
[relay-CN:cardano.node.DnsSubscription:Notice:86] [2021-04-20 17:15:40.06 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 54.151.49.138:3001
[relay-CN:cardano.node.DnsSubscription:Notice:87] [2021-04-20 17:15:40.08 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 18.159.64.253:3001
[relay-CN:cardano.node.DnsSubscription:Notice:88] [2021-04-20 17:15:40.11 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Connection Attempt Start, destination 18.132.238.21:3001
If I use my public IP in the startup command it simple fails to start at all and goes back to the CL.
InvalidYaml (Just (YamlException “Yaml file not found: testnet-config.json”))
cardano-node: YAML exception:
Yaml file not found: testnet-config.jsonrelay@relay-CNODE:~/git/cardano-node/scripts$
It seems like a configuration or port issue to me. I’d like to get much more comfortable with the process on testnet and really play with it, but have hit a wall here. Any help or advice would be appreciated.
Thanks