Err “bad proposal response 500” when trying to join channel

两盒软妹~` 提交于 2019-12-01 22:02:30

So if I try to deploy my new peer on the same virtual machine, it react the same BUT the error message is not exactly the same ( why ??), here I still error 500 but more details : 2018-08-21 13:38:30.435 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized Error: proposal failed (err: rpc error: code = Unknown desc = chaincode error (status: 500, message: "JoinChain" for chainID = channel1 failed because of validation of configuration block, because of Bad configuration envelope: Not a tx of type [CONFIG]))

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

I've encountered the same question.In my case, using

peer channel fetch 0 mychannel.block -c mychannel --orderer orderer.zee.com:7050 --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/zee.com/orderers/orderer.zee.com/msp/tlscacerts/tlsca.zee.com-cert.pem

would help, that is, we need the first block to join (sequence number 0), not the newest or config. Here is my post :Get the error:Error: proposal failed (err: bad proposal response 500) when I try to join a peer to an existed channel?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!