IBM-Blockchain-Archive / marbles

WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Apache License 2.0
1.03k stars 979 forks source link

Error to install chaincode - error "Promise is rejected: Error:14 UNAVAILABLE " #200

Closed slugout01 closed 6 years ago

slugout01 commented 6 years ago

Failed at installing chaincode locally

i read the "Error on installing chaincode #187 " but i don't know what to do that this problem resolve. my local error is "Promise is rejected: Error:14 UNAVAILABLE " Please help. 20180329_140958

kavyaub commented 6 years ago

Can anyone please provide the reasons for such an error..?I am facing a similar issue but could not find any related help or material online..

dshuffma-ibm commented 6 years ago

@kavyaub check:

kavyaub commented 6 years ago

@dshuffma-ibm I ensured all the above, still getting the same error. Unsure why..

If this may help, I tried to make a call to getChannelConfig and got "grpc: Server.Serve failed to complete security handshake from "172.18.0.1:45760": tls: first record does not look like a TLS handshake" error in the orderer container logs.

mrshah-at-ibm commented 6 years ago

@kavyaub this can happen due to wrong TLS certificate. Looks like you are trying to connect to "grpc" endpoint using "grpcs"? or vice-versa.

kavyaub commented 6 years ago

@mrshah-at-ibm Yes.. I think that is it.. Thanks a lot.

Matthewbalala commented 5 years ago

can you help me?I have the same issue. don't find chain code.