-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Secure Hand shake failed with error 1 #3
Comments
@MHamza81 I am having the same issue... been troubleshooting for days on this, tried using hfc 0.5.4 which includes grpc 1.0 however I get the same error:
|
@jonathan-yk-tan I tried with 0.5.4 and got the exact same error. |
@MHamza81 I see you are using the zone certificate, that is meant to be used only on High Security Business Network (HSBN). Is that the case? |
@czar0 I have just copied the service credentials from blockchain service credentials. They also seem a bit longer, in the tutorial it was mentioned that there are 202 lines but mine were more than 400 lines. Is there any problem with that? If so, i'll be very grateful to you if you help me solving this issue. |
@ratnakar-asara - can we investigate this. Looks like the documentation may need to change. |
I also have this issue with hfc0.5.3 and with switching my grpc as said the readme. Upgrading to hfc0.5.4 yields a different issue. |
------------- ca-server, peers and event URL:PORT information: ------------- CA server Url : grpcs://2aace0d55476405d9229d730a26ff8df-ca.us.blockchain.ibm.com:30003 Validating Peer0 : grpcs://2aace0d55476405d9229d730a26ff8df-vp3.us.blockchain.ibm.com:30003 Event Url on Peer0 : grpcs://2aace0d55476405d9229d730a26ff8df-vp3.us.blockchain.ibm.com:31003 Enrolled admin sucecssfully Enrolled and registered JohnDoe successfully Deploying chaincode ... Failed to deploy chaincode: request={"fcn":"init","args":["a","100","b","200"],"chaincodePath":"chaincode","certificatePath":"/certs/peer/cert.pem"}, error={"error":{"code":14,"metadata":{"_internal_repr":{}}},"msg":"Error"} |
@goupadhy Can you try to access api_url with "https" along with the rest end point /chain ex :
(NOTE: Use the right port number here from your ServiceCredentials.json) |
@ratnakar-asara |
------------- ca-server, peers and event URL:PORT information: ------------- CA server Url : grpcs://26778ce3cc7d4b4ea29b5400a856b431-ca.us.blockchain.ibm.com:30002 Validating Peer0 : grpcs://26778ce3cc7d4b4ea29b5400a856b431-vp0.us.blockchain.ibm.com:30002 Event Url on Peer0 : grpcs://26778ce3cc7d4b4ea29b5400a856b431-vp0.us.blockchain.ibm.com:31002 hfc Enrolling [req={"enrollmentID":"admin","enrollmentSecret":"7b0d7bf547"}] +0ms Error: |
I'm also facing the same issue. E0110 01:42:09.766000000 14180 handshake.c:128] Security handshake failed: {"cre Error |
Hello, a team and I are working with HFC as well, and lately we keep getting the same kinds of errors as the ones here. I hope a solution can be found soon. ------------- ca-server, peers and event URL:PORT information: ------------- CA server Url : grpcs://7df3327d8138449c8346897d5ba10392-ca.us.blockchain.ibm.com:30004 Validating Peer0 : grpcs://7df3327d8138449c8346897d5ba10392-vp1.us.blockchain.ibm.com:30004 Event Url on Peer0 : grpcs://7df3327d8138449c8346897d5ba10392-vp1.us.blockchain.ibm.com:31004 Enrolled admin sucecssfully Enrolled and registered tommy successfully Deploying chaincode ... Failed to deploy chaincode: request={"fcn":"init","args":["Scottish Independence","4","edinburgh","glasgow","aberdeen","dundee"],"chaincodePath":"chaincode","certificatePath":"/certs/peer/cert.pem"}, error={"error":{"message":"","stack":"Error\n at /Users/JoseHerrera/BlockVoteNode2-1484110642242/node_modules/grpc/src/node/src/client.js:417:17","code":14,"metadata":{"_internal_repr":{}}},"msg":"Error"} |
I'm Still Getting the same error Please help me to resolve.. |
I'm also getting the same error here:
If anyone has any helpful clues then they'd be much appreciated. |
Hi,
I am following the steps provided in the readme file but I am getting this error when i try to run helloblockchain.js program.
E1101 11:59:03.105000000 12468 handshake.c:215] Read failed.
E1101 11:59:03.105000000 12468 secure_channel_create.c:102] Secure handshake failed with error 1.
E1101 11:59:04.488000000 12468 handshake.c:215] Read failed.
E1101 11:59:04.488000000 12468 secure_channel_create.c:102] Secure handshake failed with error 1.
Before this error the program downloads a certificate and there is peer and caserver information on the terminal.
Can you please help me with this issue, I am stuck here.
The text was updated successfully, but these errors were encountered: