无法在Hyperledger Fabric中部署业务网络?

时间:2018-11-05 07:30:32

标签: hyperledger-fabric hyperledger

问题:

我在Windows中设置了超级账本结构。然后,我在计算机上启动结构。它工作正常,没有给出任何错误。然后,我创建了对等管理卡,它也可以正常工作而没有任何错误提示。我使用的是composer-CLI版本0.20.2和hlfv1.2。然后进入composer-playground。 然后在端口8080上启动游乐场。之后,我试图在游乐场中部署示例业务网络。这样会在操场上显示一个错误。

Error: Error trying to start a business network. Error: No valid responses from any peers. Response from attempted peer comms was an error: Error: REQUEST_TIMEOUT

虽然显示了这种控制台日志输出。

info: [Hyperledger-Composer] :ConnectionProfileManager :getConnectionManagerByTyp Looking up a connection manager for type 0=hlfv1
error: [Hyperledger-Composer] :HLFConnectionManager     :fabric-client()           [Peer.js]: sendProposal - timed out after:300000
error: [Hyperledger-Composer] :HLFConnectionManager     :fabric-client()           [client-utils.js]: sendPeersProposal - Promise is rejected: Error: REQUEST_TIMEOUT
    at Timeout._onTimeout (C:\Users\tharindusa\AppData\Roaming\npm\node_modules\composer-playground\node_modules\fabric-client\lib\Peer.js:94:20)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
warn: [Hyperledger-Composer] :HLFConnection            :_validatePeerResponses()  Response from attempted peer comms was an error: Error: REQUEST_TIMEOUT
error: [Hyperledger-Composer] :HLFConnection            :start()                   Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: REQUEST_TIMEOUT
    at HLFConnection._validatePeerResponses (C:\Users\tharindusa\AppData\Roaming\npm\node_modules\composer-playground\node_modules\composer-connector-hlfv1\lib\hlfconnection.js:767:19)
    at HLFConnection._sendTransaction (C:\Users\tharindusa\AppData\Roaming\npm\node_modules\composer-playground\node_modules\composer-connector-hlfv1\lib\hlfconnection.js:691:37)
    at HLFConnection.start (C:\Users\tharindusa\AppData\Roaming\npm\node_modules\composer-playground\node_modules\composer-connector-hlfv1\lib\hlfconnection.js:669:24)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
error: [Hyperledger-Composer] :ConnectorServer          :connectionStart()         Error: Error trying to start business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: REQUEST_TIMEOUT
    at HLFConnection.start (C:\Users\tharindusa\AppData\Roaming\npm\node_modules\composer-playground\node_modules\composer-connector-hlfv1\lib\hlfconnection.js:671:30)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

我在互联网上进行了大量搜索,以找到解决此问题的方法。但是我无法对此错误做任何事情。有人可以帮我摆脱这个错误吗?谢谢。

0 个答案:

没有答案