-
Notifications
You must be signed in to change notification settings - Fork 1k
ClientConn.resetTransport failed to create client transport: connection error #2402
Comments
@iamsaurabhc I assume you have security: enabled: true in fabric/peer/core.yaml. In that mode, you need member service to be started. In another window try starting member service as
if that's not found
Then restart the peer. By the way the instructions for running the system with security on should be in the documentation which you'd need for sending transactions once you get past this. |
@muralisrini Thanks for the quick reply. I actually did membersrvc already but it's not ending the execution. It is stuck at : TLSCA Started [Snap attached]. Well, yes I tweaked the security.enabled and security.privacy to be 'true' as instructed by the file : Chaincode-setup.md |
That snapshot shows memberservice is started and running correctly. If memberservice were running (as shown in the picture) at the time peer was started, I would not expect to see the connection errors seen in the log. Using security is not necessary while learning and playing with the fabric. Its ok to set security:enabled:false during initial phases. You would not need memberservice to be started. |
@muralisrini Wow, yes that worked. Thanks again! :) |
@muralisrini Got another error while compiling the example02. |
I believe you are mixing docs from a later release (such as the ongoing work on gerritt ) with the commands for this archives release. If you check fabric/peer/core.yaml, you'll see peer:address:0.0.0.0:30303. netstat -an | grep LISTEN should show listening port as 30303. Try CORE_PEER_ADDRESS=127.0.0.1:30303 please. |
I'm referring to the Online Article as it looks clearer. I wasn't aware that it isn't updated. But even after setting CORE_PER_ADDRESS=127.0.0.30303 , I'm getting the same error. I tried the ports 2222 and 50051 too. |
I assume you are running the peer ? can you do |
Best to follow "Option 1" from https://github.com/hyperledger-archives/fabric/blob/master/docs/Setup/Chaincode-setup.md without security. |
I followed accordingly, and I changed the Security settings to 'false'
or while Chainode Deploy , |
you have do the deploy from a new terminal (the doc says "Terminal 3 (CLI or REST API)") . The idea is that you are sending a "deploy" transaction (and similarly invoke and query in the doc) to the peer. |
$peer node start --peer-chaincodedev
is showing this Error . Please helpThe text was updated successfully, but these errors were encountered: