Trying to deploy fabric v1.1.0 on Kubernetes but getting a random error

0 votes

We have been developing blockchain-app using Fabric-Nodejs SDK (1.1.0) and trying to make it work with Fabric (1.1.0) on kubernetes. Have referred and following links - https://hackernoon.com/how-to-deploy-hyperledger-fabric-on-kubernetes-1-a2ceb3ada078https://github.com/IBM/blockchain-network-on-kubernetes.

So far we could deploy two org solution and each having two peers on kubernetes. Now, using Fabric CLI we could run create channel, join channel, install and instantiate chaincodes and other chaincodes functionalities work as expected perfectly fine.

But when we try all similar functionalities with Fabric-Nodejs SDK, we could create the channel successfully and then during join-channel we are stuck with error. Error is not giving any clue and saying "err" object itself undefined into joinchannel.js file -

"(node:1832) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'stack' of undefined (node:1832) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code."

Aug 27, 2018 in Blockchain by ariaholic
• 7,340 points
144 views

1 answer to this question.

0 votes

Any particular reason for following slightly older examples even though you are using release 1.1 .

You have setup of Kubernetes in release 1.1 @ https://github.com/hyperledger/fabric/blob/release-1.1/examples/e2e_cli/end-to-end.rst

Hyperledger fabric seems to be evolving towards use of Cello for complex networks - http://hyperledger-cello.readthedocs.io/

answered Aug 27, 2018 by Johnathon
• 9,080 points

Related Questions In Blockchain

0 votes
1 answer
0 votes
2 answers
0 votes
1 answer

Not Able to register a user with Hyperledger-Fabric v1.1 preview

The error: "Certificate not found with AKI 'e729224e8b3f31784c8a93c5b8ef6f4c1c91d9e6e577c45c33163609fe40011' ...READ MORE

answered Jun 16, 2018 in Blockchain by charlie_brown
• 7,720 points
438 views
+1 vote
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer

How to deploy ethereum smart contracts on a website?

There are many ways to do this: 1 ...READ MORE

answered Mar 26, 2018 in Blockchain by Johnathon
• 9,080 points
101 views
0 votes
1 answer

Can a blockchain be used to verify or store a document on the blockchain?

Bitcoin is decentralized payment syatem. It was ...READ MORE

answered May 10, 2018 in Blockchain by Johnathon
• 9,080 points
57 views