Skip to content
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

Failed to deploy chaincode #8

Open
albertleIBM opened this issue Nov 10, 2016 · 1 comment
Open

Failed to deploy chaincode #8

albertleIBM opened this issue Nov 10, 2016 · 1 comment

Comments

@albertleIBM
Copy link

I followed the instructions and ended with this error when i ran 'node helloblockchain.js'

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: {"created":"@1478805806.217281000","description":"Secure read failed","file":"../src/core/lib/security/transport/secure_endpoint.c","file_line":157,"grpc_status":14,"referenced_errors":[{"created":"@1478805806.217274000","description":"OS Error","errno":54,"file":"../src/core/lib/iomgr/tcp_posix.c","file_line":229,"os_error":"Connection reset by peer","syscall":"recvmsg"}]}"}

Am I missing something?

@ratnakar-asara
Copy link
Collaborator

ratnakar-asara commented Dec 28, 2016

"os_error":"Connection reset by peer",

@albertleIBM hope you are you using the right servicecredentials ?

Also can you please confirm the below details please

  • On what OS are you running this sample
  • what NodeJS version do you use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants