本文介绍了错误“错误的提案响应500"尝试加入频道时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我具有以下结构:一个订购者,一个ca和一个对等体.定义了channel1,并且对等方已成功加入该信道.第一个链码已成功部署在对等方上.链码已使用composer编写,导出为.bna,已安装并使用连接配置文件(json)从所描述的结构开始

I have the following structure : one orderer, one ca and one peer. A channel1 is define and the peer has successfully joined this channel. A first chaincode has been successfully deployed on the peer. The chaincode has been written using composer, export as a .bna, installed and start on the described structure using a connection profile (json)

我正在尝试使用以下命令要求第二个对等方加入先前创建的频道:"peer channel join -b channel1.block"

I am trying to ask a second peer to join the previously created channel using the following command : "peer channel join -b channel1.block"

但是出现以下错误:错误:提案失败(错误:提案响应错误500)"

but I get the following error :"Error: proposal failed (err: bad proposal response 500)"

从对等方日志中完成错误:

Complete error from peer's log :

ERRO 01c [] [997ac53c] SimulationProposal()导致链代码名称:"cscc"的txid响应状态500:997ac *****

ERRO 01c [][997ac53c] simulateProposal() resulted in chaincode name:"cscc" response status 500 for txid: 997ac*****

之前成功发出了对等通道获取最新"命令.

The command "peer channel fetch newest" has been issued before with success.

对我有什么好主意吗?

Any idea for me please ?

推荐答案

此问题现已修复!必须将对等通道获取最新"命令替换为对等通道获取配置".有关更多信息,请检查以下链接:
https://hyperledger-fabric.readthedocs.io/en/版本1.1/commands/peerchannel.html

This issue is now FIXED !!The command "peer channel fetch newest" must be replaced by "peer channel fetch config" Check the following link for more info :
https://hyperledger-fabric.readthedocs.io/en/release-1.1/commands/peerchannel.html

这篇关于错误“错误的提案响应500"尝试加入频道时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 08:40