This repository has been archived by the owner on Dec 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 158
Proposal response is invalid error when I invoke chaincode #42
Comments
@heyxingtang , did u make any changes in code? which version of fabric you are using? |
@maheshwarishikha ,The hyperledger-fabric version is 1.4.1 and without changing the source code |
and the fabric verion
|
@heyxingtang Would like to ask if you able to resolve this issue on your end? Because I get the same error. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
when i execute
java -cp blockchain-client.jar org.example.chaincode.invocation.InvokeChaincode
, thenroot@fabric-VirtualBox:~/go/src/IBM/blockchain-application-using-fabric-java-sdk/network_resources# java -cp blockchain-client.jar org.example.chaincode.invocation.InvokeChaincode Oct 03, 2019 9:38:44 PM org.example.util.Util deleteDirectory INFO: Deleting - admin.ser Oct 03, 2019 9:38:45 PM org.example.util.Util deleteDirectory INFO: Deleting - user1570109909538.ser Oct 03, 2019 9:38:45 PM org.example.util.Util deleteDirectory INFO: Deleting - org1 Oct 03, 2019 9:38:45 PM org.example.util.Util deleteDirectory INFO: Deleting - users log4j:WARN No appenders could be found for logger (org.hyperledger.fabric.sdk.helper.Config). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Oct 03, 2019 9:38:47 PM org.example.client.CAClient enrollAdminUser INFO: CA -http://localhost:7054 Enrolled Admin. Oct 03, 2019 9:38:50 PM org.example.client.ChannelClient sendTransactionProposal INFO: Sending transaction proposal on channel mychannel org.hyperledger.fabric.sdk.exception.InvalidArgumentException: Proposal response is invalid. at org.hyperledger.fabric.sdk.ProposalResponse.getChaincodeActionResponsePayload(ProposalResponse.java:272) at org.example.client.ChannelClient.sendTransactionProposal(ChannelClient.java:121) at org.example.chaincode.invocation.InvokeChaincode.main(InvokeChaincode.java:88)
InvokeChaincode.java line 51 Util.cleanUp() empty the network_resources/users/
The text was updated successfully, but these errors were encountered: