【发布时间】:2019-08-16 09:57:20
【问题描述】:
我尝试使用以下 URL 安装和运行超级账本资源管理器 post at medium 一切正常。但最后,我得到了错误
************************************************************************************
**************************** Hyperledger Explorer **********************************
************************************************************************************
***** Please check the log [logs/console/console-2019-08-16.log] for any error *****
************************************************************************************
An identity for the admin user: admin already exists in the wallet
E0816 13:40:17.255321114 4411 ssl_transport_security.cc:1229] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.
E0816 13:40:18.256594682 4411 ssl_transport_security.cc:1229] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.
E0816 13:40:20.126334198 4411 ssl_transport_security.cc:1229] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. 2019-08-16T08:10:20.256Z - [31merror[39m: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051 2019-08-16T08:10:20.257Z - [31merror[39m: [Channel.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051
E0816 13:40:23.194952082 4411 ssl_transport_security.cc:1229] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. 2019-08-16T08:10:23.263Z - [31merror[39m: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051
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
请给出解决问题的解决方案。
【问题讨论】:
-
该博客是一个旧教程,可能最好从官方文档获取最新信息:github.com/hyperledger/… - 乍一看,您可以检查您的容器是否在同一网络上
docker network inspect net_byfn | jq ".[].Containers[].Name" | sort或者您的explorer 容器可以解析 byfn 节点,例如docker exec explorer.mynetwork.com ping -c 1 peer0.org1.example.com等
标签: hyperledger-fabric hyperledger-explorer