我正在尝试将块链资源管理器(在本地运行)与超级分类账网络(运行在ec2实例上)连接起来。我正面临一些问题。以下是我遵循的步骤:
2019-02-26T09:40:11.361Z -[31 31merror[39m: Remote.js: Error:未能在截止日期之前连接:grpc://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<<资源管理器错误“>>>>>>>>>>>>>>>>>>>>>”)
有人能告诉我是什么导致了这个问题吗?
**注:我在同一个实例上安装了资源管理器和织物网络,并将它们连接起来。啊,真灵。现在,当我试图连接到承载我的网络的另一个实例时,它不起作用。
编辑
blockchain-explorer/app/platform/fabric/config.json.:config.json的位置
内容:
{ "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "$PATH/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "$PATH/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "$PATH/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "$PATH/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://2.43.155.20::7051", "eventUrl": "grpc://2.43.155.20::7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "url": "grpc://2.43.155.20::8051" } }, "orderers": { "orderer.example.com": { "url": "grpc://2.43.155.20::7050" } } }, "network-2": {} }, "configtxgenToolPath": "$SOME_PATH/hyperledger/fabric/common/tools", "license": "Apache-2.0" }
发布于 2019-02-26 11:24:06
Hyperledger正在尝试连接到orderer节点,但他使用的主机错误。您检查了config.json中的orderer节点主机吗?
grpc://2.43.155.20:7050
https://stackoverflow.com/questions/54883394
复制相似问题