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

Error while setting up local network for cp-web application #47

Closed
kamraanki opened this issue Sep 19, 2016 · 2 comments
Closed

Error while setting up local network for cp-web application #47

kamraanki opened this issue Sep 19, 2016 · 2 comments

Comments

@kamraanki
Copy link

I have set up local environment for Fabric, and trying to run cp-web application on my local setup.
While building using "sudo gulp" I encounter the below error:

Running using Developer settings
app.js: loading 1 hardcoded peers
app.js: loading 22 hardcoded users
app.js: loading ca: 7c405ae6-1abb-45b0-8a82-65dda55ffaef_ca
[ibc-js] Peer: vp0-vp0...:5000
[ibc-js] Registering vp0-vp0...:5000 w/enrollID - user_type1_7e51477dd1
[ibc-js] Register - failure x1 : user_type1_7e51477dd1 500
[ibc-js] going to try to register again in 30 secs
[ibc-js] Registering vp0-vp0...:5000 w/enrollID - user_type1_7e51477dd1
[ibc-js] Register - failure x2 : user_type1_7e51477dd1 500
[ibc-js] going to try to register again in 30 secs
[ibc-js] Registering vp0-vp0...:5000 w/enrollID - user_type1_7e51477dd1
[ibc-js] Register - failure x3 : user_type1_7e51477dd1 500
! looks like an error loading the chaincode, app will fail
{ name: 'register() error',
code: 500,
details:
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }

@masterDev1985
Copy link
Contributor

This is due to the app not being able to reach your peers, either because the connection information in the credentials file is incorrect or the ports for your peers are not being forwarded properly.

@dhyey20
Copy link
Collaborator

dhyey20 commented Oct 17, 2016

Closing this due to inactivity.

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

3 participants