У меня проблема, когда я интегрирую свою бизнес-сеть в Hyperledger composer в проводник Hyperledger. Я уже реализовал учебник из https://www.edureka.co/community/14044/using-hyperledger-composer-hyperledger-blockchain-explorer; но все же у меня есть ошибка при запуске localhost: 8080.
Я также уже запустил сеть в папке fabri c dev Servers и использую версию v.0.20
Пожалуйста, помогите мне. Я делаю это для моей последней диссертации: (
Ошибка:
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.
config. json:
{
"network-configs": {
"custom-network": {
"name": "custom-network",
"profile": "./connection-profile/custom-network.json"
}
},
"license": "Apache-2.0"
}
custom-network. json:
{
"name": "custom-network",
"version": "1.0.0",
"license": "Apache-2.0",
"client": {
"adminUser": "admin",
"adminPassword": "adminpw",
"enableAuthentication": false,
"organization": "Org1",
"connection": {
"timeout": {
"peer": {
"endorser": "300"
},
"orderer": "300"
}
}
},
"channels": {
"mychannel": {
"peers": {
"peer0.org1.example.com": {}
},
"connection": {
"timeout": {
"peer": {
"endorser": "6000",
"eventHub": "6000",
"eventReg": "6000"
}
}
}
}
},
"organizations": {
"Org1MSP": {
"name": "Org1",
"mspid": "Org1MSP",
"fullpath": true,
"adminPrivateKey": {
"path": "/home/james/fabric-dev-servers/fabric-scipts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/114aab0e76bf0c78308f89efc4b8c9423e31568da0c340ca187a9b17aa9a4457_sk"
},
"signedCert": {
"path": "/home/james/fabric-dev-servers/fabric-scipts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem"
}
}
},
"peers": {
"peer0.org1.example.com": {
"tlsCACerts": {
"path": "/home/james/fabric-dev-servers/fabric-scipts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt"
},
"url": "grpc://localhost:7051",
"eventUrl": "grpc://localhost:7053",
"grpcOptions": {
"ssl-target-name-override": "peer0.org1.example.com"
}
}
}
}