如何解决Hyperledger Explorer 未成功启动
因为我想将我的测试网络应用程序与超级账本资源管理器连接起来。我已经成功运行了 Fabric 文档中给出的 Postgres Db
脚本和 start.sh
脚本。但是在日志文件中,我看到了数据同步的错误。我在这里错过了什么?
[2021-03-09T17:31:34.228] [DEBUG] SyncServices - New Block >>>>>>> {"low":0,"high":0,"unsigned":true}
[2021-03-09T17:31:34.228] [INFO] FabricUtils - generateBlockHash 0
[2021-03-09T17:31:34.231] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>>
[2021-03-09T17:31:34.231] [ERROR] Sync - **TypeError: Cannot read property 'data' of undefined**
at SyncServices.<anonymous> (/blockchain-explorer/dist/platform/fabric/sync/SyncService.js:531:64)
at Generator.next (<anonymous>)
at fulfilled (/blockchain-explorer/dist/platform/fabric/sync/SyncService.js:27:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
[2021-03-09T17:31:34.232] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>
[2021-03-09T17:31:34.232] [DEBUG] FabricEvent - disconnectEventHubs()
[2021-03-09T17:31:34.233] [DEBUG] FabricEvent - disconnectChannelEventHub(mychannel)
[2021-03-09T17:31:34.238] [INFO] FabricGateway - Succeeded to send discovery request
[2021-03-09T17:31:34.238] [INFO] FabricClient - Discovered Org1MSP [ { mspid: 'Org1MSP',endpoint: 'peer0.org1.example.com:7051',name: 'peer0.org1.example.com:7051',ledgerHeight: Long { low: 8,high: 0,unsigned: true },chaincodes: [ [Object],[Object] ] } ]
[2021-03-09T17:31:34.238] [INFO] FabricClient - Discovered Org2MSP [ { mspid: 'Org2MSP',endpoint: 'peer0.org2.example.com:9051',name: 'peer0.org2.example.com:9051',[Object] ] } ]
[2021-03-09T17:31:34.239] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>>
[2021-03-09T17:31:34.239] [ERROR] Sync - Error: Client was closed and is not queryable
at process.nextTick (/blockchain-explorer/node_modules/pg/lib/client.js:535:25)
at process._tickCallback (internal/process/next_tick.js:61:11)
[2021-03-09T17:31:34.239] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>
[2021-03-09T17:31:34.239] [DEBUG] FabricEvent - disconnectEventHubs()
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。