Re: Timeout expired while executing transaction a heavy chaincode function #fabric #fabric-sdk-java

Joao Antunes
 

Just a quick update:

The peer1-org1 logs:

 

2019-02-14 17:42:03.360 UTC [endorser] simulateProposal -> ERRO 1e5b6 [project1][d90dbe85] failed to invoke chaincode name:"project1" version:"1.0" , error: timeout expired while executing transaction

github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Execute

        /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:813

github.com/hyperledger/fabric/core/chaincode.Execute

        /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/exectransaction.go:58

github.com/hyperledger/fabric/core/chaincode.ExecuteChaincode

        /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincodeexec.go:85

github.com/hyperledger/fabric/core/endorser.(*SupportImpl).Execute

        /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/support.go:93

github.com/hyperledger/fabric/core/endorser.(*Endorser).callChaincode

        /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:132

github.com/hyperledger/fabric/core/endorser.(*Endorser).simulateProposal

        /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:265

github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposal

        /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:491

github.com/hyperledger/fabric/core/handlers/auth/filter.(*expirationCheckFilter).ProcessProposal

        /opt/gopath/src/github.com/hyperledger/fabric/core/handlers/auth/filter/expiration.go:61

github.com/hyperledger/fabric/core/handlers/auth/filter.(*filter).ProcessProposal

        /opt/gopath/src/github.com/hyperledger/fabric/core/handlers/auth/filter/filter.go:31

github.com/hyperledger/fabric/protos/peer._Endorser_ProcessProposal_Handler

        /opt/gopath/src/github.com/hyperledger/fabric/protos/peer/peer.pb.go:112

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).processUnaryRPC

        /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:781

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).handleStream

        /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:981

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1

        /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:551

runtime.goexit

        /opt/go/src/runtime/asm_amd64.s:2337

failed to execute transaction

error executing chaincode

 
 
 

Join fabric@lists.hyperledger.org to automatically receive all group messages.