cardano-rosetta
cardano-rosetta copied to clipboard
1.2.1 : db-sync error (Identity Connection Attempt Exception, destination LocalAddress "/ipc/node.socket" exception: Network.Socket.connect: <socket: 13>: does not exist (No such file or directory)
Hi, all When I start cardano-rosetta on mainnet, this is my build step
1. download the cardano-rosetta code and checkout to 1.2.1
2. run command -> docker build -t cardano-rosetta .
when the block sync to 5364351, it stop and show information below, How do I resolve this problem?
[db-sync-node.Subscription:Notice:48] [2021-05-31 05:23:39.02 UTC] Identity Starting Subscription Worker, valency 1
[db-sync-node.Subscription:Notice:245] [2021-05-31 05:23:39.02 UTC] Identity Connection Attempt Start, destination LocalAddress "/ipc/node.socket"
[db-sync-node.Subscription:Error:245] [2021-05-31 05:23:39.02 UTC] Identity Connection Attempt Exception, destination LocalAddress "/ipc/node.socket" exception: Network.Socket.connect: <socket: 13>: does not exist (No such file or directory)
[db-sync-node.ErrorPolicy:Warning:4] [2021-05-31 05:23:39.03 UTC] IP LocalAddress "/ipc/node.socket" ErrorPolicySuspendPeer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 13>: does not exist (No such file or directory))) 20s 20s
[db-sync-node.Subscription:Warning:48] [2021-05-31 05:23:39.05 UTC] Identity Failed to start all required subscriptions
Sorry for the delay in response @BomaxChen
That's a curious error you're seeing. Do you have any logs reported from a service named cardano-node
?
I am also facing the same issue the cardano-node error logs are showing this,
[0d885e8a:cardano.node.DnsSubscription:Error:68] [2021-06-15 16:18:07.25 UTC] Domain: "relays-new.cardano-mainnet.iohk.io" Application Exception: 13.52.189.184:3001 SubscriberError {seType = SubscriberWorkerCancelled, seMessage = "SubscriptionWorker exiting", seStack = []}
[0d885e8a:cardano.node.LocalErrorPolicy:Error:58] [2021-06-15 16:18:04.05 UTC] IP LocalAddress "" ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed "<socket: 24> closed when reading data, waiting on next header True")
How to resolve this?
@BomaxChen It works when we update the latest Cardano-DB-sync version in rosetta. Currently, they are using the 8.0.0 version of DB-sync, when I updated it to 9.0.0 in Dockerfile then it works.
@BomaxChen It works when we update the latest Cardano-DB-sync version in rosetta. Currently, they are using the 8.0.0 version of DB-sync, when I updated it to 9.0.0 in Dockerfile then it works.
Can you build the docker without errors ?
Thanks for the info. We'll be shipping a new version that will upgrade the internal Cardano services, but it should be compatible now. Are you running this on the mainnet
@tech-lcx?
@rhyslbw Yes, I am running it on mainnet.
@BomaxChen Yes, I build the docker without any error.
I dont have this issue, i'm using a volume for the /ipc to communicate with cardano-wallet
volumes:
- node-db:/data:delegated
- node-ipc:/ipc:delegated
But i have another bug in the db-sync, that i open here #386
I suspect this is a bug in [email protected]
, and will be addressed when we release a new version that includes [email protected]
. It's in the final stages of the release process now, so it shouldn't be too long now.
Was this ever corrected?