连接到环境1组织本地结构时出错:查询通道错误:14无法使用:无法连接到所有地址

我无法在hyperledger faric中运行ibm evote区块链应用程序。我正在ubuntu 16的VS Code(v1.39)中使用IBM Evote。启动本地结构(1 org本地结构)时,我面临以上错误。 以下是我的local_fabric_connection.json文件代码

{
    "name": "local_fabric","version": "1.0.0","client": {
        "organization": "Org1","connection": {
            "timeout": {
                "peer": {
                    "endorser": "300"
                },"orderer": "300"
            }
        }
    },"organizations": {
        "Org1": {
            "mspid": "Org1MSP","peers": [
                "peer0.org1.example.com"
            ],"certificateAuthorities": [
                "ca.org1.example.com"
            ]
        }
    },"peers": {
        "peer0.org1.example.com": {
            "url": "grpc://localhost:17051"
        }
    },"certificateAuthorities": {
        "ca.org1.example.com": {
            "url": "http://localhost:17054","caName": "ca.org1.example.com"
        }
    }
}

,以下是快照

连接到环境1组织本地结构时出错:查询通道错误:14无法使用:无法连接到所有地址

连接到环境1组织本地结构时出错:查询通道错误:14无法使用:无法连接到所有地址

iCMS 回答:连接到环境1组织本地结构时出错:查询通道错误:14无法使用:无法连接到所有地址

从第二张图片开始,它看起来好像不是您的1 Org Local Fabric首先正确启动(您没有网关,并且由于某些原因您的钱包没有分组!)。

如果您teardown的1个组织本地结构,然后重新启动,希望它可以正常工作。

本文链接:https://www.f2er.com/1819698.html

大家都在问