-
Notifications
You must be signed in to change notification settings - Fork 2
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
init crypto missing error when trying to run ./start.sh #26
Comments
I ended up trying "docker-compose up" from the same basic-network folder and that seems to work to get past the above issue. However now I am running into another error with the JS stuff: connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead node_modules/connect/lib/middleware/bodyParser.js:56:20 |
Hi nrydevops, To get this to run you will need to use the version 1.0.6 binaries which you can get here: I have also updated master with a quick fix to that bug so the javascript should also be working again. The query.js should return data from the ledger. Let me know if there are still issues after this. |
Hello CaelRowley, nrydev @ nrydev ~/dev/blockchain/SOTERIA/javascript (master) I am getting the following terminal output when I run server.js nrydev @ nrydev ~/dev/blockchain/SOTERIA/javascript (master) |
FYI: I simply changes the project directory name locally from "decentralised-ecosystem-prototype" to "SOTERIA" on my system. I don't think this would effect anything but figured I should mention it so there is no confusion with my above reply. Thanks again for the help! ;-) |
Also when I try any of the URL's in your readme; it gives me an error "Cannot GET...." for each URL such as "Cannot GET /people/addPerson" and when I try the URL http://localhost:3001/image/:query the web browser just keeps loading but does not render anything. |
I ran the teardown.sh script first and now it works! I think I just needed to clean up the old Docker containers I had from before. I am able to run node query.js as you suggested and I get back the expected results: nrydev @ nrydev ~/dev/blockchain/SOTERIA/javascript (master) One other question: Is the JS "node server.js" a web browser based GUI frontend? When I try to run the node server.js I am getting a JS error: nrydev @ nrydev ~/dev/blockchain/SOTERIA/javascript (master) Error: listen EADDRINUSE :::3001 |
We weren't really expecting anyone else to be using this but glad you got it working! I'll look into the issues you faced and do some better documentation and clean some things up a bit that should help setup the project. Out of curiosity sake what are you making? |
Hello, |
@CaelRowley is the query feature in this project currently working? |
AH! Please disregard that last message. Query does seem to be working just fine from the CLI but not via the URL: nrydev @ nrydev ~/dev/blockchain/SOTERIA/javascript (master) |
I am getting the following error:
2018-12-28 08:14:21.138 UTC [main] main -> ERRO 001 Cannot run peer because cannot init crypto, missing /etc/hyperledger/msp/users/[email protected]/msp folder
I created the directory /etc/hyperledger/msp/users/[email protected]/msp but I am still getting the above error when I try to run ./start.sh
The text was updated successfully, but these errors were encountered: