sendProposal - timed out after 45000 sendPeersProposal - Promise is rejected Error REQUEST TIMEOUT

0 votes

I'm getting the above error when I make queries or invokes from Postman to my ubuntu server.

Following are the running containers and the full error log:

    CONTAINER ID        IMAGE                        COMMAND                  CREATED             STATUS              PORTS                                            NAMES
    f07e92dcdf7e        my_node/node-app             "npm start"              33 minutes ago      Up 33 minutes       0.0.0.0:9999->4000/tcp                           my_node
    f8b84ebc7510        hyperledger/fabric-peer      "peer node start"        33 minutes ago      Up 33 minutes       0.0.0.0:7056->7051/tcp, 0.0.0.0:7058->7053/tcp   peer1.org1.example.com
    301407e3285b        hyperledger/fabric-peer      "peer node start"        33 minutes ago      Up 33 minutes       0.0.0.0:8051->7051/tcp, 0.0.0.0:8053->7053/tcp   peer0.org2.example.com
    09ef3c426af2        hyperledger/fabric-peer      "peer node start"        33 minutes ago      Up 33 minutes       0.0.0.0:8056->7051/tcp, 0.0.0.0:8058->7053/tcp   peer1.org2.example.com
    d46778455d1a        hyperledger/fabric-peer      "peer node start"        33 minutes ago      Up 33 minutes       0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp   peer0.org1.example.com
    1e14126d1920        hyperledger/fabric-ca        "sh -c 'fabric-ca-..."   33 minutes ago      Up 33 minutes       0.0.0.0:7054->7054/tcp                           ca_peerOrg1
    5bd780de76a9        hyperledger/fabric-ca        "sh -c 'fabric-ca-..."   33 minutes ago      Up 33 minutes       0.0.0.0:8054->7054/tcp                           ca_peerOrg2
    beafd29107fa        hyperledger/fabric-orderer   "orderer"                33 minutes ago      Up 33 minutes       0.0.0.0:7050->7050/tcp                           orderer.example.com


Full error log:

[2017-09-29 03:11:22.270] [DEBUG] Helper - [crypto_ecdsa_aes]: ecdsa signature:  Signature {
  r: <BN: 8afc8e33226a0f3a364ceb4c4826d3c442f26d92dda33fd7ff12027e214e354f>,
  s: <BN: 1d7ff1d66ae71f27571b5d90e95f18fbcc1c52ee8954ae03c330f22c5206333b>,
  recoveryParam: 0 }
error: [Peer.js]: sendProposal - timed out after:45000
error: [Peer.js]: sendProposal - timed out after:45000
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: REQUEST_TIMEOUT
    at Timeout._onTimeout (/usr/src/app/node_modules/fabric-client/lib/Peer.js:107:19)
    at ontimeout (timers.js:386:11)
    at tryOnTimeout (timers.js:250:5)
    at Timer.listOnTimeout (timers.js:214:5)
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: REQUEST_TIMEOUT
    at Timeout._onTimeout (/usr/src/app/node_modules/fabric-client/lib/Peer.js:107:19)
    at ontimeout (timers.js:386:11)
    at tryOnTimeout (timers.js:250:5)
    at Timer.listOnTimeout (timers.js:214:5)

Here is my repo link: https://github.com/pagito/balance_transfer Kindly help. 

Jul 26, 2018 in Blockchain by sabby
• 4,370 points
2,008 views

1 answer to this question.

0 votes

You could simply replace --net=bridge with --net=artifacts_default in your DockerFile. 

I used REST API for Hyperledger fabric, and peers were able to join the channel and channel became available for peers. At the end I was able to invoke and query the ledger.

Hope this will help.

answered Jul 26, 2018 by Perry
• 17,100 points

Related Questions In Blockchain

0 votes
3 answers

Hyperledger fabcar sample fabric error: sendPeersProposal - Promise is rejected: Error: Connect Failed

Open the datasources.json file and replace the grpcs:// with grpc://. This solution worked ...READ MORE

answered Apr 30, 2019 in Blockchain by Reshma
3,160 views
0 votes
1 answer
0 votes
1 answer

Hyperledger Fabric:Promise is rejected:Error:Failed to deserialize creator identity,The supplied identity is not valid.

 This error happens because basic-network/docker-compose.yaml has CA ...READ MORE

answered Nov 14, 2018 in Blockchain by Omkar
• 69,220 points
2,320 views
0 votes
1 answer
+2 votes
1 answer
0 votes
3 answers
0 votes
1 answer
+1 vote
1 answer

How can I achieve a functionality where an action is performed after a payment is received?

See this can be achieved in more ...READ MORE

answered Apr 21, 2018 in Blockchain by Perry
• 17,100 points
697 views
+1 vote
2 answers

Is there any relation between the number of transactions processes and the miners?

the direct answer to your query is ...READ MORE

answered Jun 19, 2018 in Blockchain by Perry
• 17,100 points
840 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