日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Hyperledger Fabric安装问题备忘(二)

發布時間:2025/5/22 编程问答 14 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Hyperledger Fabric安装问题备忘(二) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
報錯信息:Channel name : mychannelCreating channel...CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crtCORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.keyCORE_PEER_LOCALMSPID=Org1MSPCORE_VM_ENDPOINT=unix:///host/var/run/docker.sockCORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crtCORE_PEER_TLS_ENABLED=trueCORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/mspCORE_PEER_ID=cliCORE_LOGGING_LEVEL=DEBUGCORE_PEER_ADDRESS=peer0.org1.example.com:70512017-11-15 05:35:20.107 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP2017-11-15 05:35:20.107 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity2017-11-15 05:35:20.109 UTC [grpc] Printf -> DEBU 003 Failed to dial orderer.example.com:7050: connection error: desc = "transport: authentication handshake failed: x509: certificate signed by unknown authority (possibly because of \"x509: ECDSA verification failure\" while trying to verify candidate authority certificate \"tlsca.example.com\")"; please retry.Error: Error connecting due to? rpc error: code = Internal desc = connection error: desc = "transport: authentication handshake failed: x509: certificate signed by unknown authority (possibly because of \"x509: ECDSA verification failure\" while trying to verify candidate authority certificate \"tlsca.example.com\")"Usage:peer channel create [flags]Flags:-c, --channelID string? ?In case of a newChain command, the channel ID to create.-f, --file string? ? ? ? Configuration transaction file generated by a tool such as configtxgen for submitting to orderer-t, --timeout int? ? ? ? Channel creation timeout (default 5)Global Flags:--cafile string? ? ? ? ? ? ? Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint--logging-level string? ? ? ?Default logging level and overrides, see core.yaml for full syntax-o, --orderer string? ? ? ? ? ? ?Ordering service endpoint--test.coverprofile string? ?Done (default "coverage.cov")--tls? ? ? ? ? ? ? ? ? ? ? ? Use TLS when communicating with the orderer endpoint-v, --version? ? ? ? ? ? ? ? ? ? Display current version of fabric peer server!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!================== ERROR !!! FAILED to execute End-2-End Scenario ==================解決方法:make clean,再嘗試安裝,但是clean會刪除我們下載好的docker鏡像,這不是我們想要的,所以需要修改hyperledger/fabric/MakeFile 將第403行`-docker images -q $(DOCKER_NS)/fabric-$(TARGET) | xargs -I '{}' docker rmi -f '{}'`注釋掉。然后使用下面的命令清理掉這臺server上的所有容器:

?

docker ps -a|awk '{print $1}'|xargs -i docker stop {}docker ps -a|awk '{print $1}'|xargs -i docker rm {}

轉載于:https://www.cnblogs.com/szqmvp/p/7838626.html

總結

以上是生活随笔為你收集整理的Hyperledger Fabric安装问题备忘(二)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。