Welcome to the Linux Foundation Forum!

Lab 4.1 No invocation

Hello, I have installed an received the chaincode with receiving the response valid but I receive this error:
Error: endorsement failure during invoke. response: status:500 message:"make sure the chaincode simple_chaincode has been successfully defined on channel mychannel and try again: chaincode definition for 'simple_chaincode' exists, but chaincode is not installed"

Comments

  • Bobbijn
    Bobbijn Posts: 193

    @Fernet, Hello, let's se if we can get to the bottom of this issue.
    Are you getting this error after you install the chaincode package on the peers of both organizations in Lab 4.1? Please check to make sure you have the correct path specified when packaging the chaincode. Let me know if this helps. Bobbi

  • fernet
    fernet Posts: 4

    Hello Bobbijn, I try to re-install after cleaned up well. But another error accur, Error: endorsement failure during invoke. response: status:500 message:"error in simulation: failed to execute transaction a7649ab0939c8fbd278e966ffc88b044ef1c434acb633e68d6c5a1b22e42b3a0: could not launch chaincode simple_chaincode_1.0:193c73ba0faca6a728a1e4acec23e8b78df450d8b215438833e398a6f065a8c2: chaincode registration failed: container exited with 254"

  • Resolved, the problem was the wrong file type installation of chain code (need unzip!). Thanks!

  • Bobbijn
    Bobbijn Posts: 193

    @Fernet Great Job! Thank you for sharing your issue and results. Bobbi

  • @fernet said:
    Resolved, the problem was the wrong file type installation of chain code (need unzip!). Thanks!

    Hi @fernet I am getting the same error, can you elaborate on the "wrong file type installation of chaincode"? Which folder structure were you looking at? I don't have a zipped file under fabric-samples\lfd272\chaincodes\simple_chaincode\lib if that's where you are talking about.

    Thanks.

  • @fernet said:
    Hello Bobbijn, I try to re-install after cleaned up well. But another error accur, Error: endorsement failure during invoke. response: status:500 message:"error in simulation: failed to execute transaction a7649ab0939c8fbd278e966ffc88b044ef1c434acb633e68d6c5a1b22e42b3a0: could not launch chaincode simple_chaincode_1.0:193c73ba0faca6a728a1e4acec23e8b78df450d8b215438833e398a6f065a8c2: chaincode registration failed: container exited with 254"

    i am getting stuck on this error.

Categories

Upcoming Training