Open anupamvijayvergia opened 7 years ago
Attaching logs of two request that i made, once was successful and second was not. There was no code changes done during these two request. Can anyone explain the reason of this happening and how this can be resolved.
logs when Transaction was unsuccessful.
hfc Member.query +0ms
hfc TransactionContext.query +1ms
hfc Received query request: {"chaincodeID":"ec7314883cdb985c2d755f975b8ccb7cdff7148f223466d6e6c39a3f90423baa","fcn":"getVoteCount","args":["1"]} +1ms
hfc [TransactionContext] No TCert cached. Retrieving one. +1ms
hfc Member.getNextTCert: key=null +0ms
hfc Member.getNextTCert: key=null, creating new getter +0ms
hfc shouldGetTCerts: yes, we have no tcerts +1ms
E0220 15:43:14.096798000 123145433690112 handshake.c:128] Security handshake failed: {"created":"@1487585594.096749000","description":"Handshake read failed","file":"../src/core/lib/security/transport/handshake.c","file_line":237,"referenced_errors":[{"created":"@1487585594.096736000","description":"FD shutdown","file":"../src/core/lib/iomgr/ev_poll_posix.c","file_line":427}]}
events.js:160
throw er; // Unhandled 'error' event
Logs when transaction was succesfull
hfc Member.query +0ms
hfc TransactionContext.query +1ms
hfc Received query request: {"chaincodeID":"ec7314883cdb985c2d755f975b8ccb7cdff7148f223466d6e6c39a3f90423baa","fcn":"getVoteCount","args":["1"]} +1ms
hfc [TransactionContext] No TCert cached. Retrieving one. +1ms
hfc Member.getNextTCert: key=null +0ms
hfc Member.getNextTCert: key=null, creating new getter +0ms
hfc shouldGetTCerts: yes, we have no tcerts +1ms
hfc Got a TCert successfully, continue... +4s
hfc newInvokeOrQueryTransaction: request={"chaincodeID":"ec7314883cdb985c2d755f975b8ccb7cdff7148f223466d6e6c39a3f90423baa","fcn":"getVoteCount","args":["1"]}, chaincodeID={"path":"","name":"ec7314883cdb985c2d755f975b8ccb7cdff7148f223466d6e6c39a3f90423baa"} +1ms
hfc Set confidentiality on +1ms
hfc Calling TransactionContext.execute +0ms
hfc Executing transaction +1ms
hfc [TransactionContext] TCert already cached. +0ms
hfc Process Confidentiality... +0ms
hfc Sign transaction... +1ms
hfc Send transaction... +3ms
hfc Confidentiality: 0 +0ms
hfc reg txid ba87c1b9-b07e-4002-9df4-1ebb1defc83d +0ms
hfc peer.sendTransaction +286ms
hfc peer.sendTransaction: received {"status":"SUCCESS","msg":{"type":"Buffer","data":[91,123,34,111,112,116,105,111,110,34,58,34,121,101,115,34,44,34,99,111,117,110,116,34,58,49,125,44,123,34,111,112,116,105,111,110,34,58,34,110,111,34,44,34,99,111,117,110,116,34,58,48,125,44,123,34,111,112,116,105,111,110,34,58,34,110,111,116,32,115,117,114,101,34,44,34,99,111,117,110,116,34,58,48,125,93]}} +986ms
I'm also facing the same issue please help.
I am also getting same error;
I've copied the service credentials. However when i'm trying to execute getting following error. Copying the debug output trace.
Deploying chaincode ... hfc Member.deploy +2ms hfc TransactionContext.deploy +0ms hfc Received deploy request: {"fcn":"init","args":["a","100","b","200"],"chaincodePath":"chaincode","certificatePath":"/certs/peer/cert.pem"} +0ms hfc [TransactionContext] No TCert cached. Retrieving one. +1ms hfc Member.getNextTCert: key=null +0ms hfc Member.getNextTCert: key=null, creating new getter +0ms hfc shouldGetTCerts: yes, we have no tcerts +1ms E0213 10:52:44.966972000 123145375956992 handshake.c:128] Security handshake failed: {"created":"@1486963364.966933000","description":"Handshake read failed","file":"../src/core/lib/security/transport/handshake.c","file_line":237,"referenced_errors":[{"created":"@1486963364.966885000","description":"FD shutdown","file":"../src/core/lib/iomgr/ev_poll_posix.c","file_line":427}]} E0213 10:52:44.968353000 123145375956992 completion_queue.c:254] Operation failed: tag=0x101b2d200, error={"created":"@1486963364.968300000","description":"Failed to create subchannel","file":"../src/core/ext/client_config/subchannel_call_holder.c","file_line":185,"referenced_errors":[{"created":"@1486963364.968209000","description":"Pick Cancelled","file":"../src/core/ext/lb_policy/pick_first/pick_first.c","file_line":170}]} E0213 10:52:44.968453000 123145375956992 completion_queue.c:254] Operation failed: tag=0x101c00910, error={"created":"@1486963364.968300000","description":"Failed to create subchannel","file":"../src/core/ext/client_config/subchannel_call_holder.c","file_line":185,"referenced_errors":[{"created":"@1486963364.968209000","description":"Pick Cancelled","file":"../src/core/ext/lb_policy/pick_first/pick_first.c","file_line":170}]} E0213 10:52:44.968528000 123145375956992 completion_queue.c:254] Operation failed: tag=0x101b2e410, error={"created":"@1486963364.968300000","description":"Failed to create subchannel","file":"../src/core/ext/client_config/subchannel_call_holder.c","file_line":185,"referenced_errors":[{"created":"@1486963364.968209000","description":"Pick Cancelled","file":"../src/core/ext/lb_policy/pick_first/pick_first.c","file_line":170}]} events.js:160 throw er; // Unhandled 'error' event