fabric2.2--Error:failed to create deliver client for orderer

在获取通道的配置文件时出现错误

命令: peer channel fetch config config_block.pb -o orderer.example.com:7050 -c mychannel --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
Error: failed to create deliver client for orderer: orderer client failed to connect to orderer.example.com:7050: failed to create new connection: context deadline exceeded

同时,orderer节点logs也报错了:

错误原因

没有开启tls通信配置 

解决

命令修改为:peer channel fetch config config_block.pb -o orderer.example.com:7050 -c mychannel --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem

Line 70579: 09-02 19:44:00.008100 18281 6648 I com.tencent.mm: Waiting for a blocking GC Alloc Line 70583: 09-02 19:44:00.016658 18281 6761 I com.tencent.mm: WaitForGcToComplete blocked Alloc on HeapTrim for 13.744s Line 70586: 09-02 19:44:00.026696 18281 6791 I com.tencent.mm: Waiting for a blocking GC Alloc Line 70588: 09-02 19:44:00.027282 18281 6839 I com.tencent.mm: Forcing collection of SoftReferences for 8100KB allocation Line 70589: 09-02 19:44:00.029163 18281 6778 I com.tencent.mm: WaitForGcToComplete blocked Alloc on HeapTrim for 14.412s Line 70591: 09-02 19:44:00.029300 18281 6778 I com.tencent.mm: Forcing collection of SoftReferences for 8100KB allocation Line 70769: 09-02 19:44:00.167282 1138 1138 I lowmemorykiller: Kill 'com.tencent.mm' (18281), uid 10337, oom_score_adj 102 to free 895432kB rss, 1900728kB swap; reason: device is not responding Line 73345: 09-02 19:44:02.466500 3412 5984 E AS.PlaybackActivityMon: Error (1) trying to dispatch playback config change to PlayMonitorClient:P uid:10337 pid:18281 Line 75170: 09-02 19:44:03.269975 3412 3604 W BroadcastQueue: Failed to schedule BroadcastRecord{be7ab0d android.net.wifi.RSSI_CHANGED/u-1} to BroadcastFilter{42f6c34 10337/u0 ReceiverList{5151307 18281 com.tencent.mm/10337/u0 remote:84e9546}} via ProcessRecord{5ec07c4 18281:com.tencent.mm/u0a337}: android.os.DeadObjectException Line 75170: 09-02 19:44:03.269975 3412 3604 W BroadcastQueue: Failed to schedule BroadcastRecord{be7ab0d android.net.wifi.RSSI_CHANGED/u-1} to BroadcastFilter{42f6c34 10337/u0 ReceiverList{5151307 18281 com.tencent.mm/10337/u0 remote:84e9546}} via ProcessRecord{5ec07c4 18281:com.tencent.mm/u0a337}: android.os.DeadObjectException Line 75171: 09-02 19:44:03.270040 3412 3604 I ActivityManager: Killing 18281:com.tencent.mm/u0a337 (adj 102): Can't deliver broadcast Line 75919: 09-02 19:44:03.667292 3412 7813 W ClientLifecycleManager: Failed to deliver transaction for ProcessRecord{5ec07c4 18281:com.tencent.mm/u0a337} Line 76142: 09-02 19:44:03.710065 3412 3591 I UserAwareMgr: handleTopAppChanged: com.tencent.mm, pid: 18281, uid: 10337 Line 76449: 09-02 19:44:03.759058 3412 7864 W ClientLifecycleManager: Failed to deliver transaction for ProcessRecord{5ec07c4 18281:com.tencent.mm/u0a337} Line 77130: 09-02 19:44:03.993159 3412 5983 W ClientLifecycleManager: Failed to deliver transaction for ProcessRecord{5ec07c4 18281:com.tencent.mm/u0a337}
最新发布
09-11
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值