posterman查询时报错
来源:7-16 案例实战完结

渴望成为大神的菜鸟
2019-06-05
老师你好,有个问题困扰我很久了,试了很多办法都还没有解决。
在这一步之前所有的功能都是正常运行的,直到我在postman中作查询操作命令行里的错误如下
config里的文件都是直接git下来的,但是缺提示找不到peer0这个节点。
这个问题我真的卡了很久,而且我在查看课程之前的问答里很多人也提出了一模一样的问题。老师你后来有试过还能跑通本课程的代码吗?
不过我不明白他把entitymatcher这段代码加在哪里了。
老师能帮我解决这个问题吗?真的卡了很久了。
万分感谢!
2回答
-
Z小超要好好学习
2020-07-02
我加入了你这段还有问题 是这样的,
failed to create channel context: failed to get discovery service to create channel client: NewPeer failed: failed to load pem bytes from path /root/go/src/github.com/hyperledger/fabric-sdk-go/test/fixtures/fabric/v1/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem: open /root/go/src/github.com/hyperledger/fabric-sdk-go/test/fixtures/fabric/v1/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem: no such file or directory
00 -
自游蜗牛
2019-06-05
Sdk配置文件最后有一段配置模糊匹配的设置,可以参考githu里的相关设置,我好像是注释掉了
012019-06-05
相似问题