因为我想将我的测试网络应用程序与超级账本资源管理器连接起来。我已经成功运行了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',
ledgerHeight: Long { low: 8, high: 0, unsigned: true },
chaincodes: [ [Object], [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()