cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1227
Views
1
Helpful
8
Replies

Peer channel creation failed

anamdas
Cisco Employee
Cisco Employee

Please let me know if I am missing something. Either it is not able to detect channel.tx or code crashes.

8 Replies 8

zowu
Cisco Employee
Cisco Employee

Hi Anamika,

The channel create should be run within CLI container other than host directly. Please SSH into the 10.10.20.38 using cred cli/cisco123 and then try peer commands.

Actually we've already deployed a channel named "businesschannel" and you may wanna check our "quick start" page for more details: https://devnetsandbox.cisco.com/sandbox-instructions/Blockchain/quickstart.html

Thanks,

Bob

Hi Ben,

Thanks for the reply!

Thanks,

Anamika

Hi,

I followed the instruction but I am getting an error. Please guide. I did ssh from CLI.

Thanks,
AnamikaScreenshot (123).png

Hi,

It seems you are still using host machine environment. Please login into CLI container like this:

1.png

And the container session will be available after your login.

2.png

What should the orderer service?

ordering service endpoint is not invalid or missing

orderer: orderer.example.com:7050Screenshot (2).png

Hi,

You need to add "--tls true" in the cmdline to enforce a HTTPS talking with orderer node.

Actually there is no need to run "instantiated" scripts in our sample page since all of steps listed are done while we prepare the lab. You just need to run chaincode in the below section to check block changes in each participant node.

Thanks zowu!

Understood