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, 2020 in Blockchain by Edureka
• 120 points
892 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,220 points
22,432 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
6,637 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,220 points
3,932 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,473 views
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,790 points
1,947 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP