Event Hub has been Shutdown on Fabric Writing your first Application

北城以北 提交于 2019-12-11 02:38:02

问题


I am currently trying to run through the example first application for Hyperledger Fabric here -> http://hyperledger-fabric.readthedocs.io/en/release-1.1/write_first_app.html

I am unable to get past calling node invoke.js

Originally I was getting the same error as this question Error invoking chaincode using Node.js SDK [TypeError: Cannot read property 'getConnectivityState' of undefined]

But after reverting to grpc@1.9.1 I get the following result:

I am able to do everything up to the node query.js method and that returns successfully but can't quite get past this.

Node version: 8.11.1

Docker Version:

fabric client section of package-lock.json

FYI: I am trying to run on Windows 10 mostly using the docker toolbox bash, or a separate git bash CLI.

Last piece of info!

Even though the invoke js command fails with the above error, I can see that the PUT command to couch db does go through and car10 has been successfully added.

If I check the docker logs for peer0.org1.example.com I see the following:

So did it actually work?

来源:https://stackoverflow.com/questions/50158509/event-hub-has-been-shutdown-on-fabric-writing-your-first-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!