cardano-db-sync icon indicating copy to clipboard operation
cardano-db-sync copied to clipboard

13.1.1.2-docker not compatible with 8.1.1

Open wutzebaer opened this issue 1 year ago • 1 comments

When staring docker containers on windows 11

inputoutput/cardano-node:8.1.1 and inputoutput/cardano-db-sync:13.1.1.2-docker

[db-sync-node:Info:6] [2023-06-19 19:43:06.50 UTC] All migrations were executed
[db-sync-node:Info:6] [2023-06-19 19:43:06.50 UTC] New user indexes were not created. They may be created later if necessary.
[db-sync-node:Info:6] [2023-06-19 19:43:06.50 UTC] Using byron genesis file from: "/nix/store/r7siw74p4k6mb3368fnlcbbyhzm5mjxv-byron-genesis.json"
[db-sync-node:Info:6] [2023-06-19 19:43:06.50 UTC] Using shelley genesis file from: "/nix/store/52c1zwszp2rlpm21qvjbvq640hppc5gc-shelley-genesis.json"
[db-sync-node:Info:6] [2023-06-19 19:43:06.50 UTC] Using alonzo genesis file from: "/nix/store/8qnphq6yvcjspiy3z0aijfd6cv64l3hl-alonzo-genesis.json"
[db-sync-node:Info:6] [2023-06-19 19:43:06.53 UTC] NetworkMagic: 2
[db-sync-node:Info:6] [2023-06-19 19:43:06.54 UTC] ExtraMigrations {emRan = False, emConsume = False, emPrune = False}
[db-sync-node:Info:6] [2023-06-19 19:43:06.54 UTC] No extra migration specified
[db-sync-node:Info:6] [2023-06-19 19:43:06.55 UTC] Initial genesis distribution present and correct
[db-sync-node:Info:6] [2023-06-19 19:43:06.55 UTC] Total genesis supply of Ada: 30000000000.000000
[db-sync-node:Info:6] [2023-06-19 19:43:06.55 UTC] Inserting Shelley Genesis distribution
[db-sync-node:Info:6] [2023-06-19 19:43:06.55 UTC] epochStartup: Checking
[db-sync-node:Info:6] [2023-06-19 19:43:06.55 UTC] localInitiatorNetworkApplication: connecting to node via "/node-ipc/node.socket"
[db-sync-node.Subscription:Notice:53] [2023-06-19 19:43:06.55 UTC] Identity Starting Subscription Worker, valency 1
[db-sync-node.Subscription:Notice:54] [2023-06-19 19:43:06.55 UTC] Identity Connection Attempt Start, destination LocalAddress "/node-ipc/node.socket"
[db-sync-node.Subscription:Notice:54] [2023-06-19 19:43:06.55 UTC] Identity Connection Attempt End, destination LocalAddress "/node-ipc/node.socket" outcome: ConnectSuccessLast
[db-sync-node.Handshake:Info:54] [2023-06-19 19:43:06.55 UTC] WithMuxBearer (ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/ipc/node.socket"}) Send (ClientAgency TokPropose,MsgProposeVersions (fromList [(NodeToClientV_9,TInt 2),(NodeToClientV_10,TInt 2),(NodeToClientV_11,TInt 2),(NodeToClientV_12,TInt 2),(NodeToClientV_13,TInt 2),(NodeToClientV_14,TInt 2),(NodeToClientV_15,TInt 2)]))
[db-sync-node.Handshake:Info:54] [2023-06-19 19:43:06.55 UTC] WithMuxBearer (ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/ipc/node.socket"}) Recv (ServerAgency TokConfirm,MsgRefuse (HandshakeDecodeError NodeToClientV_15 "unknown encoding: TInt 2"))
[db-sync-node.Mux:Error:54] [2023-06-19 19:43:06.55 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/ipc/node.socket"} event: Handshake Client Error HandshakeError (HandshakeDecodeError NodeToClientV_15 "unknown encoding: TInt 2") duration 0.001335274s
[db-sync-node.Subscription:Error:54] [2023-06-19 19:43:06.55 UTC] Identity Application Exception: LocalAddress "/node-ipc/node.socket" HandshakeError (HandshakeDecodeError NodeToClientV_15 "unknown encoding: TInt 2")
[db-sync-node.ErrorPolicy:Error:6] [2023-06-19 19:43:06.55 UTC] IP LocalAddress "/node-ipc/node.socket" ErrorPolicyLocalNodeError (ApplicationExceptionTrace (HandshakeError (HandshakeDecodeError NodeToClientV_15 "unknown encoding: TInt 2")))
cardano-db-sync: HandshakeError (HandshakeDecodeError NodeToClientV_15 "unknown encoding: TInt 2")

with inputoutput/cardano-node:8.0.0 it works

wutzebaer avatar Jun 19 '23 19:06 wutzebaer

As the draft release docs say https://github.com/input-output-hk/cardano-db-sync/releases

This release adds support for [node 8.0.0](https://github.com/input-output-hk/cardano-node/releases/tag/8.0.0)
Possibly it also supports newer node versions, but this requires testing.

So db-sync is not supposed to support newer version. We try to support as many versions as possible and be future proof. This is not guaranteed though.

kderme avatar Jun 28 '23 13:06 kderme