Err "bad proposal response 500" when trying to join channel
err vs error
err on the side of caution
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)
I am trying to ask a second peer to join the previously created channel using the following command : "peer channel join -b channel1.block"
but I get the following error : "Error: proposal failed (err: bad proposal response 500)"
Complete error from peer's log :
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 ?
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]))
Err, Definition of err. intransitive verb. 1a : to make a mistake erred in his calculations erred on the side of caution. b : to violate an accepted standard of conduct. 2 archaic : stray. To err is common To all men, but the man who having erred Hugs not his errors, but repents and seeks The cure, is not a wastrel nor unwise.
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
What does errr mean? errr Definition. Meaning of errr , verb (used without object) to go astray in thought or belief; be mistaken; be incorrect. to go astray morally; sin: To err is human. Archaic. to deviate from the true course, aim, or purpose. Err definition, to go astray in thought or belief; be mistaken; be incorrect. See more.
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?
Err, VerbEdit. err (third-person singular simple present errs, present participle erring, simple past and past participle erred). ( To err is human: building a safer health system. From Cambridge English Corpus Where the causal models err, in my view, is in adopting a mode of explanation that strongly constrains the set of relevant contextual factors. From Cambridge English Corpus
Err, to make a mistake or to do something wrong: He erred in agreeing to her appointment to the position. Thesaurus: synonyms and related 20 synonyms of err from the Merriam-Webster Thesaurus, plus 28 related words, definitions, and antonyms. Find another word for err. Err: to make a mistake. Synonyms
err, To err is defined as to make a mistake or to do something wrong. When you add 2+2 and get 5, this is an example of a situation where you err. YourDictionary How to pronounce err. How to say err. Listen to the audio pronunciation in the Cambridge English Dictionary. Learn more.
ERR, 1formal Be mistaken or incorrect; make a mistake. 'the judge had erred in ruling that the evidence was inadmissible'. More example sentences. Television and radio broadcasts from Estonian Public Broadcasting and news sources from ETV, ETV2, ETV+, Vikerraadio, Klassikaraadio, Raadio2, Raadio4, Raadio Tallinn. Developed by ERR.
- This error comes when , channel is already joined. Pls check logs
- Another peer has already joined the channel but not the concerned one it's new one I just installed .... On the peer which is already part of the channel there is already a chaincode deployed, can it be the problem ?
- What can I found in the log ?
- "peer channel list" command does not return anything ....