【发布时间】:2018-05-22 19:08:06
【问题描述】:
我使用的是 Corda 版本 1。当我在 docker 环境中运行节点时,事务没有完成。此日志后卡住了:
Flow logs >> Generating transaction based on new Trade Details.
Flow logs >> Verifying contract constraints.
Flow logs >> Signing transaction with our private key.
Flow logs >> Gathering the counterparty's signature.
Flow logs >> Structural step change in child of Gathering the counterparty's signature.
Flow logs >> Collecting signatures from counter-parties.
Flow logs >> Verifying collected signatures.
Flow logs >> Done
Flow logs >> Obtaining notary signature and recording transaction.
Flow logs >> Structural step change in child of Obtaining notary signature and recording transaction.
Flow logs >> Requesting signature by notary service
Flow logs >> Structural step change in child of Requesting signature by notary service
Flow logs >> Requesting signature by Notary service
我可以在控制器日志中看到这条消息:
[INFO ] 2017-10-27T07:27:57,024Z [Messaging] messaging.NodeMessagingClient.createQueueIfAbsent - Create fresh queue internal.peers.8Kqd4oWdx4KQGHGNkbLbDP3bxDkm43Gy7NpJqGdiL5G2PwRdVu9dngMkJkp bound on same address
[WARN ] 2017-10-27T07:29:57,111Z [Messaging] messaging.NodeMessagingClient.sendWithRetry - Reached the maximum number of retries (3) for message ClientMessageImpl[messageID=0, durable=true, address=internal.peers.8Kqd4oWdx4KQGHGNkbLbDP3bxDkm43Gy7NpJqGdiL5G2PwRdVu9dngMkJkp,userID=null,properties=TypedProperties[platform-version=1,corda-vendor=Corda Open Source,release-version=1.0.0,platform-topic=platform.session,session-id=0,_AMQ_DUPL_ID=0efb502e-15f6-4b0a-bdf9-8296571f228f]] redelivery to internal.peers.8Kqd4oWdx4KQGHGNkbLbDP3bxDkm43Gy7NpJqGdiL5G2PwRdVu9dngMkJkp
【问题讨论】:
-
看起来您的节点无法与公证人通信。您确定公证人可用吗?
-
不是相反吗?控制器已收到来自节点的消息,但无法回复。但这会很奇怪,因为我假设控制器是网络地图以及此设置中的公证人。如果它在与节点通信时遇到问题,它们最初是如何注册到网络地图的?
-
控制器已收到来自节点的消息但无法返回通信,是的,它已在第一个位置注册,如果我确实调用 /peers,那么我也会获得其他节点。跨度>
-
您可以为 /peers 进行休息调用这一事实并不意味着控制器能够将出站消息发送到其他节点。这是因为为了得到一个peer列表,控制器查询网络地图,也就是他自己!
-
请分享节点配置。我的猜测是其他节点无法访问的 p2pAddress。
标签: corda