---------------------------------------
info: Lets install some chaincode - marbles v4
---------------------------------------
info: First we enroll
debug: loading pem from a path: /home/cyan1/go/src/github.com/hyperledger/fabric/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec_sk
debug: loading pem from a path: /home/cyan1/go/src/github.com/hyperledger/fabric/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/admincerts/Admin@org1.example.com-cert.pem
info: [fcw] Going to enroll with admin cert! peer_urls=[grpc://localhost:7051], channel_id=mychannel, uuid=marblesDockerComposeNetworkmychannelOrg1MSPfabricpeerorg1, orderer_url=grpc://localhost:7050, msp_id=Org1MSP
debug: added peer grpc://localhost:7051
debug: [fcw] Successfully got enrollment marblesDockerComposeNetworkmychannelOrg1MSPfabricpeerorg1
---------------------------------------
info: Now we install
---------------------------------------
debug: [fcw] Installing Chaincode
debug: [fcw] Sending install req targets=[grpc.http2.keepalive_time=300, grpc.keepalive_time_ms=300000, grpc.http2.keepalive_timeout=35, grpc.keepalive_timeout_ms=3500, grpc.max_receive_message_length=-1, grpc.max_send_message_length=-1, grpc.primary_user_agent=grpc-node/1.10.1, _url=grpc://localhost:7051, addr=localhost:7051, , _request_timeout=90000, , _name=null], chaincodePath=marbles, chaincodeId=marbles, chaincodeVersion=v4
info: [packager/Golang.js]: packaging GOLANG from marbles
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: EOF
at new createStatusError (/home/cyan1/go/src/github.com/marbles-master/node_modules/grpc/src/client.js:64:15)
at /home/cyan1/go/src/github.com/marbles-master/node_modules/grpc/src/client.js:583:15
error: [fcw] Failed to obtain endorsement for transaction. code=14, , details=EOF
error: [fcw] Error in install catch block object code=14, , details=EOF
---------------------------------------
info: Install done. Errors: parsed=Blockchain network error - EOF, raw=[code=14, , details=EOF]
I got the master branch of marbles,and when i run it under fabric1.4,here are some problems
in fabric1.4,/fabcar/hfc-key-store has been replaced as /fabcar/javascript/wallet, and I fixed this problem by modifying connection_profile_lacal.json.
but here is new problem,when I try to run
node install_chaincode.js,it showsand how can I fix it?