Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Byron-Proxy failing to sync from clean slate #87

@oneEdoubleD

Description

@oneEdoubleD

Issue

Cardano-Byron-Proxy is failing to sync when it's started from a clean slate. This is happening for both tags/1.0.3 and master on both staging and mainnet.

The first error that occurs once is:

[cardano_byron_proxy.main.client:Info:62] [2020-01-20 10:51:17.77 UTC] Attempting to download chain with hash AbstractHash 0bdaaa4fe38239c8fa64dfb208ff80886ef8f5dd49d9b532948809682487c85a from NodeId 13.250.233.196:3000:0
[cardano_byron_proxy.diffusion.outboundqueue.self:Debug:62] [2020-01-20 10:51:17.77 UTC] inFlight = fromList []
[cardano_byron_proxy.diffusion.outboundqueue.self:Debug:62] [2020-01-20 10:51:17.77 UTC] message MsgRequestBlocks (fromList [NodeId 13.250.233.196:3000:0]) enqueued to [NodeId 13.250.233.196:3000:0]
[cardano_byron_proxy.diffusion.outboundqueue.self:Debug:75] [2020-01-20 10:51:17.78 UTC] sending MsgRequestBlocks (fromList [NodeId 13.250.233.196:3000:0]) to NodeId 13.250.233.196:3000:0
[cardano_byron_proxy.diffusion:Debug:78] [2020-01-20 10:51:18.59 UTC] streamBlocks: Requesting stream of blocks from [d241cc87ef9d4ac5] to 0bdaaa4f

[cardano_byron_proxy.diffusion:Error:80] [2020-01-20 10:51:19.17 UTC] MsgStreamNoBlock handleStreamStart:strean Failed to find lca

[cardano_byron_proxy.diffusion.outboundqueue.self:Warning:75] [2020-01-20 10:51:19.17 UTC] sending MsgRequestBlocks (fromList [NodeId 13.250.233.196:3000:0]) to NodeId 13.250.233.196:3000:0 failed with BlockNetLogicException: DialogUnexpected "MsgStreamNoBlock handleStreamStart:strean Failed to find lca" :: SomeException

and then the proxy loops through these errors:

[cardano_byron_proxy.diffusion.outboundqueue.self:Error:60] [2020-01-20 10:39:42.72 UTC] enqueue instruction EnqueueOne [NodeRelay,NodeCore] (MaxAhead 3) PHigh failed to enqueue message MsgRequestBlocks (fromList [NodeId 13.250.233.196:3000:0]) to forwarding sets [(NodeRelay,[NodeId 13.250.233.196:3000:0])]
[cardano_byron_proxy.main.client:Info:60] [2020-01-20 10:39:42.72 UTC] Attempting to download chain with hash AbstractHash 2be956e62cb1a52334a82ade9de04841ddac2082606ed1fa740d8bb039548381 from NodeId 13.250.233.196:3000:0
[cardano_byron_proxy.diffusion.outboundqueue.self:Debug:60] [2020-01-20 10:39:42.72 UTC] inFlight = fromList []
[cardano_byron_proxy.diffusion.outboundqueue.self:Debug:60] [2020-01-20 10:39:42.72 UTC] Rejected alternative NodeId 13.250.233.196:3000:0 as it has a recent failure
[cardano_byron_proxy.diffusion.outboundqueue.self:Error:60] [2020-01-20 10:39:42.72 UTC] enqueue instruction EnqueueOne [NodeRelay,NodeCore] (MaxAhead 3) PHigh failed to enqueue message MsgRequestBlocks (fromList [NodeId 13.250.233.196:3000:0]) to forwarding sets [(NodeRelay,[NodeId 13.250.233.196:3000:0])]

@jbgi noticed a difference in the way logs are written which suggests some behaviour has changed:

1.0.3:

Rollback Origin
Rollforward (Block {blockPointSlot = SlotNo {unSlotNo = 0}, blockPointHash = ByronHash {unByronHash = AbstractHash d241cc87ef9d4ac5d4359d22d2db1c83102affd1220dda7e3c1895f47b33c8e4}})
startNode, we are NodeId de1dcb38-6ba7-4b18-969d-e82f537f7c73
dnsSubscriptionWorker: valency 1
subscriptionWorker: subscribing to NodeId 52.68.30.216:3000:0

< 1.0.3

Rollback Origin
startNode, we are NodeId 74ab47b9-a48a-4f0e-95d4-a07c169b6f33
dnsSubscriptionWorker: valency 1
Seeding database with genesis
subscriptionWorker: subscribing to NodeId 52.68.30.216:3000:0
Rollforward (Block {blockPointSlot = SlotNo {unSlotNo = 0}, blockPointHash = ByronHash {unByronHash = AbstractHash b365f1be6863b453f12b93e1810909b10c79a95ee44bf53414888513fe172c90}})

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbyronRequired for a Byron mainnet: replace the old core nodes with cardano-node.priority highissues/PRs that MUST be addressed. The release can't happen without this;

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions