-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
CHANNEL CREATION FAILED: Error: Error: Failed to create the channel. #18
Comments
Clearly the |
I'm executing the project as follows. DIR middleware NetworkLog |
If you scroll down to the end of the
|
I tried it again. The ca is getting exited. Earlier I solved it by replacing Attaching the network log. Looks like something is missing. |
Did you run |
It was not replacing the place holders. OS X requires the extension to be explicitly specified. The So I added an empty string. Now it's properly generating the e2e-compose file. But still the issue is existing. From network log, I assume it's related to certificate validation. Principal deserialization failure (the supplied identity is not valid: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" or policy. Networklog |
Resolved the issue by clearing docker volumes and removing docker images. Error: status: 500, message: is not a valid endorsement system chaincode Network Log |
OK, I understand now. I tested the setup and application on Linux (Ubuntu), and in an Ubuntu Box on Windows using Vagrant. @ldesrosi Do you have any tips to share for setup and runs on a Mac? |
@VRamakrishna Can you please check my previous comment also. |
@servntire Yes, you needed to remove the chaincode images (I thought you hadn't crossed the channel creation stage, and the chaincode containers don't get built until the instantiation stage.) It's hard to make out what the error is from the logs. Did you check whether all the containers are running using Your best best at this time is to reset and retry. Remove the running containers: Then restart the network and run the trade application. Repeat the procedure a couple of times to ensure you are getting an identical error. If that happens, we can try to investigate. Also, what's your platform? Looking at the paths, you seem to be running on a Windows machine using a Cygwin shell (or is it Git Bash)? Be warned that the setup was tested on Linux (Ubuntu). Even on Windows, we created VMs using VirtualBox and Vagrant. You can use the |
Still seeing these issues? If not, can we close this out? |
Closing due to inactivity. |
am getting the same error while running node createTradeApp.js |
Getting error when running node createTradeApp.js
The text was updated successfully, but these errors were encountered: