Event Hub has been Shutdown on Fabric Writing your

2019-07-11 03:19发布

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:

enter image description here

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:

enter image description here

fabric client section of package-lock.json

enter image description here 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.

enter image description here

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

enter image description here

So did it actually work?

0条回答
登录 后发表回答