简体   繁体   English

在Hyperledger Fabric上创建频道时,由于超时,发送事务失败

[英]Send transactions failed due to timeout when creating Channel on Hyperledger Fabric

I'm executing this code https://github.com/IBM/blockchain-application-using-fabric-java-sdk . 我正在执行此代码https://github.com/IBM/blockchain-application-using-fabric-java-sdk When I execute CreateChannel I get this error : 当我执行CreateChannel时,出现此错误:

Send transactions failed. 发送交易失败。 Reason: timeout 原因:超时

I checked the log of the orderer.example.com docker container and it seems to be no communication. 我检查了orderer.example.com docker容器的日志,它似乎没有通信。 How could I solve this problem? 我该如何解决这个问题?

Channel create command times out when the orderer takes long enough (>5s), to respond to the transaction. 当订购者花费足够长的时间(> 5s)来响应事务时,通道创建命令超时。 You can add --timeout duration to increase the default value. 您可以添加--timeout duration以增加默认值。 I faced similar issue while creating a channel through command line - https://hyperledger-fabric.readthedocs.io/en/release-1.3/commands/peerchannel.html#peer-channel-create 通过命令行创建频道时,我遇到了类似的问题-https: //hyperledger-fabric.readthedocs.io/en/release-1.3/commands/peerchannel.html#peer-channel-create

You can check if java SDK provides an equivalent configuration in the channel apis for peers. 您可以检查Java SDK是否在对等方的通道api中提供了等效的配置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Hyperledger Fabric中的创建渠道失败 - Create Channel failed in Hyperledger Fabric Hyperledger Fabric:无法将建议发送给同龄人 - Hyperledger Fabric : failed to send proposal to peers Hyperledger Fabric:[Java] ContractException:无法将交易发送给订购者 - Hyperledger Fabric: [Java] ContractException: Failed to send transaction to the orderer 无法调用超级账本结构中的链码 - Failed to invoke chaincode in hyperledger fabric 拒绝访问:超级账本结构channel.initialize() - access denied: hyperledger fabric channel.initialize() Spring 集成:无法在超时内向通道“executionFilterChannel”发送消息:-1 - Spring integration : Failed to send message to channel 'executionFilterChannel' within timeout: -1 sftp spring集成无法在超时内将消息发送到通道:-1 - sftp spring integration failed to send message to channel within timeout: -1 以编程方式创建和加入Hyperledger Fabric渠道 - Programatically creating and joining Hyperledger Fabric channels Hyperledger Fabric 调用 Java 链码(作为外部服务)超时 - Hyperledger Fabric Invoke Java Chaincode(as a external service) timeout Hyperledger Fabric (Java):尝试通过 Fabric-SDK 更新通道配置时,Orderer 出现 EOF 错误 - Hyperledger Fabric (Java): EOF Error in Orderer while attempting to Update Channel Config via Fabric-SDK
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM