Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafarocha/df38c4813bd1e65c978e1c848d6ad101 to your computer and use it in GitHub Desktop.
Save rafarocha/df38c4813bd1e65c978e1c848d6ad101 to your computer and use it in GitHub Desktop.
hyperledger_explorer_fail_connect_client_peer.md
******* Initialization started for hyperledger fabric platform ******, { 'my-basic-sample': { name: 'my-basic-sample', profile: 'connection-profile.json' } }
 client_configs.name  my-basic-sample  client_configs.profile  connection-profile.json
FabricUtils.createFabricClient 
config.client.tlsEnable  false
FabricConfig, this.config.channels  mychannel
'Error instantiating FabricCAServices '
Error: identity 'admin' isn't enrolled, or loaded
    at FileSystemWallet.setUserContext (/opt/explorer/node_modules/fabric-network/lib/impl/wallet/basewallet.js:56:10)
    at <anonymous>
 ********* call to initializeDetachClient **********
initializeDetachClient --> client_config  { name: 'my-basic-sample', profile: 'connection-profile.json' }  name  my-basic-sample
initializeDetachClient, network config)  { name: 'my-basic-sample',
  version: '1.0.0',
  license: 'Apache-2.0',
  client: 
   { tlsEnable: false,
     adminUser: 'admin',
     adminPassword: 'adminpw',
     enableAuthentication: false,
     organization: 'Org1',
     connection: { timeout: [Object] } },
  channels: { mychannel: { orderers: [Array], peers: [Object] } },
  organizations: 
   { Org1: 
      { mspid: 'Org1MSP',
        peers: [Array],
        certificateAuthorities: [Array] } },
  peers: { 'peer0.org1.example.com': { url: 'grpc://localhost:7051' } },
  certificateAuthorities: 
   { 'ca.example.com': { url: 'http://localhost:7054', caName: 'ca.example.com' } } }
************************************* initializeDetachClient *************************************************
Error : Failed to connect client peer, please check the configuration and peer status
Info :  Explorer will continue working with only DB data
************************************** initializeDetachClient ************************************************
FabricUtils.createDetachClient 
Please open web browser to access :http://localhost:8080/
pid is 7
FabricConfig, this.config.channels  mychannel
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>
Error :  [ 'Default client peer is down and no channel details available database' ]
Received kill signal, shutting down gracefully
<<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer  >>>>>>>>>>>>>>>>>>>>>
Closed out connections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment