Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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) #378

Open
BomaxChen opened this issue May 31, 2021 · 9 comments
Assignees
Labels
In next release PRIORITY:HIGH Require immediate attention. SEVERITY:MEDIUM Visible impact on a core functionality or some important performance degradation.

Comments

@BomaxChen
Copy link

BomaxChen commented May 31, 2021

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
@rhyslbw
Copy link
Collaborator

rhyslbw commented Jun 11, 2021

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 ?

@tech-lcx
Copy link

tech-lcx commented Jun 15, 2021

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?

@tech-lcx
Copy link

@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.

@caetanix
Copy link

@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 ?

@rhyslbw
Copy link
Collaborator

rhyslbw commented Jun 24, 2021

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 rhyslbw added PRIORITY:HIGH Require immediate attention. SEVERITY:HIGH A core functionality of the system is unresponsive or returning invalid data. labels Jun 24, 2021
@rhyslbw rhyslbw self-assigned this Jun 24, 2021
@rhyslbw rhyslbw added SEVERITY:HIGH A core functionality of the system is unresponsive or returning invalid data. SEVERITY:MEDIUM Visible impact on a core functionality or some important performance degradation. and removed SEVERITY:HIGH A core functionality of the system is unresponsive or returning invalid data. labels Jun 24, 2021
@tech-lcx
Copy link

@rhyslbw Yes, I am running it on mainnet.

@BomaxChen Yes, I build the docker without any error.

@caetanix
Copy link

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

@rhyslbw
Copy link
Collaborator

rhyslbw commented Jun 24, 2021

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.

@Tizull
Copy link

Tizull commented Oct 14, 2022

Was this ever corrected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In next release PRIORITY:HIGH Require immediate attention. SEVERITY:MEDIUM Visible impact on a core functionality or some important performance degradation.
Projects
None yet
Development

No branches or pull requests

5 participants