hyperledger-labs / blockchain-explorer

Apache License 2.0
1.42k stars 948 forks source link

fabric-explorer Failed to create wallet, please check the configuration, and valid file paths #477

Open SirSteven1 opened 9 months ago

SirSteven1 commented 9 months ago

I followed the official docker-compose method step by step, but in the end the container image was already running, but viewing the container image log is as follows 1 and my configuration information is as follows: { "name": "test-network", "version": "1.0.0", "client": { "tlsEnable": true, "adminCredential": { "id": "exploreradmin", "password": "exploreradminpw" }, "enableAuthentication": true, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "adminPrivateKey": { "path": "/mnt/go/src/github.com/hyperledger/explorer/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/priv_sk" }, "peers": ["peer0.org1.example.com"], "signedCert": { "path": "/mnt/go/src/github.com/hyperledger/explorer/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/mnt/go/src/github.com/hyperledger/explorer/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051" } } }

SirSteven1 commented 9 months ago

Error message when configuring fabric-explorer installation

Udhayakumari commented 9 months ago

@cxqi Thanks for your query. For your log error, please check all the configuration paths are valid in config.json, test-network.json files. And also verify that all environmental variables(mainly volumes) are mapped in docker-compose.yaml file.

ravinayag commented 6 months ago

i too facing same issue. I checked the paths are configurations are perfect. any way to debug this errors .. ?

cradonn commented 3 months ago

Paths in the test-network.json file must match the paths as they are mapped inside the container. See: https://gist.github.com/cradonn/601fad86a8fb35cb64bbf4708e14720a