Received error response from peer: message=failed to execute transaction 33b63361e1ce528c334ecf9ef70af2c9136c0fcc444d1ead9d24b5bae8c6dc57

0 votes

Received this error while submitTransaction executes in the Client Node SDK 

This is the error below:

Here is my connection profile so you will get idea of my network:

---

#

# The network connection profile provides client applications the information about the target

# blockchain network that are necessary for the applications to interact with it. These are all

# knowledge that must be acquired from out-of-band sources. This file provides such a source.

#

name: "pharma_network"

x-type: "hlfv1"

description: "Pharma Network"

version: "1.0"

client:

organization: manufacturer

connection:

timeout:

peer:

endorser: 300

eventHub: 300

eventReg: 300

orderer: 300

options:

grpc.keepalive_timeout_ms: 10000

channels:

pharmachannel:

orderers:

- orderer.pharma-network.com

peers:

peer0.manufacturer.pharma-network.com:

endorsingPeer: true

chaincodeQuery: true

ledgerQuery: true

eventSource: true

peer1.manufacturer.pharma-network.com:

endorsingPeer: false

chaincodeQuery: false

ledgerQuery: true

eventSource: false

peer0.distributor.pharma-network.com:

endorsingPeer: true

chaincodeQuery: true

ledgerQuery: true

eventSource: true

peer1.distributor.pharma-network.com:

endorsingPeer: false

chaincodeQuery: false

ledgerQuery: true

eventSource: false

peer0.retailer.pharma-network.com:

endorsingPeer: true

chaincodeQuery: true

ledgerQuery: true

eventSource: true

peer1.retailer.pharma-network.com:

endorsingPeer: false

chaincodeQuery: false

ledgerQuery: true

eventSource: false

peer0.transporter.pharma-network.com:

endorsingPeer: true

chaincodeQuery: true

ledgerQuery: true

eventSource: true

peer1.transporter.pharma-network.com:

endorsingPeer: false

chaincodeQuery: false

ledgerQuery: true

eventSource: false

peer0.consumer.pharma-network.com:

endorsingPeer: true

chaincodeQuery: true

ledgerQuery: true

eventSource: true

peer1.consumer.pharma-network.com:

endorsingPeer: false

chaincodeQuery: false

ledgerQuery: true

eventSource: false

organizations:

manufacturer:

mspid: manufacturerMSP

peers:

- peer0.manufacturer.pharma-network.com

- peer1.manufacturer.pharma-network.com

certificateAuthorities:

- ca.manufacturer.pharma-network.com

distributor:

mspid: distributorMSP

peers:

- peer0.distributor.pharma-network.com

- peer1.distributor.pharma-network.com

certificateAuthorities:

- ca.distributor.pharma-network.com

retailer:

mspid: retailerMSP

peers:

- peer0.retailer.pharma-network.com

- peer1.retailer.pharma-network.com

certificateAuthorities:

- ca.retailer.pharma-network.com

transporter:

mspid: transporterMSP

peers:

- peer0.transporter.pharma-network.com

- peer1.transporter.pharma-network.com

certificateAuthorities:

- ca.transporter.pharma-network.com

consumer:

mspid: consumerMSP

peers:

- peer0.consumer.pharma-network.com

- peer1.consumer.pharma-network.com

certificateAuthorities:

- ca.consumer.pharma-network.com

orderers:

orderer.pharma-network.com:

url: grpc://localhost:7050

grpcOptions:

ssl-target-name-override: orderer.pharma-network.com

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/ordererOrganizations/pharma-network.com/orderers/orderer.pharma-network.com/msp/tlscacerts/tlsca.pharma-network.com-cert.pem

peers:

peer0.manufacturer.pharma-network.com:

url: grpc://localhost:7051

grpcOptions:

ssl-target-name-override: peer0.manufacturer.pharma-network.com

request-timeout: 120001

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/manufacturer.pharma-network.com/peers/peer0.manufacturer.pharma-network.com/msp/tlscacerts/tlsca.manufacturer.pharma-network.com-cert.pem

peer1.manufacturer.pharma-network.com:

url: grpc://localhost:8051

grpcOptions:

ssl-target-name-override: peer1.manufacturer.pharma-network.com

request-timeout: 120001

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/manufacturer.pharma-network.com/peers/peer1.manufacturer.pharma-network.com/msp/tlscacerts/tlsca.manufacturer.pharma-network.com-cert.pem

peer0.distributor.pharma-network.com:

url: grpc://localhost:9051

grpcOptions:

ssl-target-name-override: peer0.distributor.pharma-network.com

request-timeout: 120001

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/distributor.pharma-network.com/peers/peer0.distributor.pharma-network.com/msp/tlscacerts/tlsca.distributor.pharma-network.com-cert.pem

peer1.distributor.pharma-network.com:

url: grpc://localhost:10051

grpcOptions:

ssl-target-name-override: peer1.distributor.pharma-network.com

request-timeout: 120001

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/distributor.pharma-network.com/peers/peer1.distributor.pharma-network.com/msp/tlscacerts/tlsca.distributor.pharma-network.com-cert.pem

peer0.retailer.pharma-network.com:

url: grpc://localhost:11051

grpcOptions:

ssl-target-name-override: peer0.retailer.pharma-network.com

request-timeout: 120001

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/retailer.pharma-network.com/peers/peer0.retailer.pharma-network.com/msp/tlscacerts/tlsca.retailer.pharma-network.com-cert.pem

peer1.retailer.pharma-network.com:

url: grpc://localhost:12051

grpcOptions:

ssl-target-name-override: peer1.retailer.pharma-network.com

request-timeout: 120001

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/retailer.pharma-network.com/peers/peer1.retailer.pharma-network.com/msp/tlscacerts/tlsca.retailer.pharma-network.com-cert.pem

peer0.transporter.pharma-network.com:

url: grpc://localhost:15051

grpcOptions:

ssl-target-name-override: peer0.transporter.pharma-network.com

request-timeout: 120001

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/transporter.pharma-network.com/peers/peer0.transporter.pharma-network.com/msp/tlscacerts/tlsca.transporter.pharma-network.com-cert.pem

peer1.transporter.pharma-network.com:

url: grpc://localhost:16051

grpcOptions:

ssl-target-name-override: peer1.transporter.pharma-network.com

request-timeout: 120001

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/transporter.pharma-network.com/peers/peer1.transporter.pharma-network.com/msp/tlscacerts/tlsca.transporter.pharma-network.com-cert.pem

peer0.consumer.pharma-network.com:

url: grpc://localhost:13051

grpcOptions:

ssl-target-name-override: peer0.consumer.pharma-network.com

request-timeout: 120001

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/consumer.pharma-network.com/peers/peer0.consumer.pharma-network.com/msp/tlscacerts/tlsca.consumer.pharma-network.com-cert.pem

peer1.consumer.pharma-network.com:

url: grpc://localhost:14051

grpcOptions:

ssl-target-name-override: peer1.consumer.pharma-network.com

request-timeout: 120001

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/consumer.pharma-network.com/peers/peer1.consumer.pharma-network.com/msp/tlscacerts/tlsca.consumer.pharma-network.com-cert.pem

certificateAuthorities:

ca.manufacturer.pharma-network.com:

url: http://localhost:7054

httpOptions:

verify: false

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/manufacturer.pharma-network.com/ca/ca.manufacturer.pharma-network.com-cert.pem

manufacturer:

- enrollId: admin

enrollSecret: adminpw

caName: ca.manufacturer.pharma-network.com

ca.distributor.pharma-network.com:

url: http://localhost:8054

httpOptions:

verify: false

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/distributor.pharma-network.com/ca/ca.distributor.pharma-network.com-cert.pem

manufacturer:

- enrollId: admin

enrollSecret: adminpw

caName: ca.distributor.pharma-network.com

ca.retailer.pharma-network.com:

url: http://localhost:9054

httpOptions:

verify: false

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/retailer.pharma-network.com/ca/ca.retailer.pharma-network.com-cert.pem

manufacturer:

- enrollId: admin

enrollSecret: adminpw

caName: ca.retailer.pharma-network.com

ca.transporter.pharma-network.com:

url: http://localhost:10054

httpOptions:

verify: false

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/transporter.pharma-network.com/ca/ca.transporter.pharma-network.com-cert.pem

manufacturer:

- enrollId: admin

enrollSecret: adminpw

caName: ca.transporter.pharma-network.com

ca.consumer.pharma-network.com:

url: http://localhost:11054

httpOptions:

verify: false

tlsCACerts:

path: /home/harshil/workspace/pharma-net/network/crypto-config/peerOrganizations/consumer.pharma-network.com/ca/ca.consumer.pharma-network.com-cert.pem

manufacturer:

- enrollId: admin

enrollSecret: adminpw

caName: ca.consumer.pharma-network.com

----------------------------------------------------------------------------------END-------------------------------------------------

Here are the logs of peer and orderer :

PEER:

ORDERER:

Also TLS is Disabled and running in dev mode

May 4 in Blockchain by Edureka
• 120 points
41 views

Hey @There,

Could you please confirm, you have installed everything listed below:

  • JavaScript OOP concepts
  • Javascript Promise
  • Server Routing and HTTP Methods.
  • ExpressJS

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Blockchain

0 votes
1 answer

How to fix "failed to execute script docker compose" error on windows 7?

It seems like the container is not ...READ MORE

answered Jun 27, 2018 in Blockchain by Omkar
• 69,060 points
2,902 views
0 votes
4 answers

Hyperledger: byfn.sh up: ERROR !!! FAILED to execute End-2-End Scenario.

Try these commands $ docker rm -f $(docker ...READ MORE

answered Nov 28, 2018 in Blockchain by kartik chauhan
3,049 views
+2 votes
3 answers

Hyperledger Fabric: Peer Connection error: Failed obtaining connection: Could not connect to any of the endpoints.

 You can extend your /etc/hosts file and make orderer.example.com domain name ...READ MORE

answered Nov 13, 2018 in Blockchain by Omkar
• 69,060 points
1,629 views
0 votes
1 answer
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,810 points
297 views
+1 vote
1 answer