阿里云部署Fabric网络,测试e2e_cli,出错处理

部署Fabric,跑e2e_cli的时候,运行network_setup.sh up,出现错误html

配置错误汇总

错误:signal SIGSEGV: segmentation violationdocker

解决方案:segmentfault

修改base文件夹下docker-compose-base.yaml和docker-compose-cli.yaml,全部environment的地方均加入- GODEBUG=netdns=go网络

 

参考连接:阿里云

阿里云环境部署Hyperledger Fabric之SIGSEGV问题分析和解决经验分享spa

https://yq.aliyun.com/articles/238940code

https://segmentfault.com/q/1010000011451324htm

 

错误:Error: Error endorsing chaincode: rpc error: code = Unknown desc = Error starting container: API error (404): {"message":"network e2ecli_default not found"}blog

 

解决方案:dns

将网络名改为以下名称便可

- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=e2e_cli_default

参考连接

http://www.javashuo.com/article/p-dcbcjmde-md.html

https://www.jianshu.com/p/22c108e0b463

 

错误: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\")"

解决方式,从新关闭网络

./network_setup.sh down mychannel

相关文章
相关标签/搜索