-
Notifications
You must be signed in to change notification settings - Fork 60
Error when running install-chaincode.js #13
Comments
@ishangulhane - can you take a look at this - tx |
@deepanair The code is working fine for me. Please try troubleshooting and run the steps again from start. From the above error message, it seems like the fabric network is down. I have attached the log file from my latest run. |
When I ran "docker ps" this is what it shows. Does anything standout as unusual here? b784e7f48243 hyperledger/fabric-peer "peer node start -..." 7 hours ago Up 7 hours 0.0.0.0:7056->7051/tcp, 0.0.0.0:7058->7053/tcp peer1 0941cb04d2df hyperledger/fabric-peer "peer node start -..." 7 hours ago Up 7 hours 0.0.0.0:8051->7051/tcp, 0.0.0.0:8053->7053/tcp peer2 672bf5d09e55 hyperledger/fabric-peer "peer node start -..." 7 hours ago Up 7 hours 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer0 518f3ea16dcb hyperledger/fabric-ca "sh -c 'fabric-ca-..." 7 hours ago Up 7 hours 0.0.0.0:8054->7054/tcp ca_peerOrg2 42567aaf5427 hyperledger/fabric-orderer "orderer" 7 hours ago Up 7 hours 0.0.0.0:7050->7050/tcp orderer0 6cd0bd5be4de couchdb "tini -- /docker-e..." 7 hours ago Up 7 hours 4369/tcp, 9100/tcp, 0.0.0.0:5984->5984/tcp couchdb 321b1f508db3 hyperledger/fabric-ca "sh -c 'fabric-ca-..." 7 hours ago Up 7 hours 0.0.0.0:7054->7054/tcp ca_peerOrg1 |
@ishangulhane - Also, I am running this on Windows 10 OS. |
@deepanair For Windows, you need to do additional settings. Please see the instructions on http://hyperledger-fabric.readthedocs.io/en/release/prereqs.html#windows-extras |
I got this problem.
|
Env:
Go: 1.9.2 windows/amd64
Node: v6.2.0
Docker: 17.09.0-ce
Docker-Compose: 1.16.1
I get the following error when running "node test/integration/e2e/install-chaincode.js".
Prior to executing the .js script, I ran the command to copy all the files to example_cc. [cp todo-list-fabric-server/chaincode/* fabric-sdk-node/test/fixtures/src/github.com/example_cc/]
error: [Peer.js]: GRPC client got an error response from the peer "grpc://localhost:7051". Error: Illegal file detected in payload: "src\github.com\example_cc\account.go"
at C:\Users\pilla\to-do\todo-list-fabricV1\fabric-sdk-node\node_modules\grpc\src\client.js:554:15
error: [Chain.js]: Chain-sendPeersProposal - Promise is rejected: Error: Illegal file detected in payload: "src\github.com\example_cc\account.go"
at C:\Users\pilla\to-do\todo-list-fabricV1\fabric-sdk-node\node_modules\grpc\src\client.js:554:15
error: [Peer.js]: GRPC client got an error response from the peer "grpc://localhost:7056". Error: Illegal file detected in payload: "src\github.com\example_cc\account.go"
at C:\Users\pilla\to-do\todo-list-fabricV1\fabric-sdk-node\node_modules\grpc\src\client.js:554:15
error: [Chain.js]: Chain-sendPeersProposal - Promise is rejected: Error: Illegal file detected in payload: "src\github.com\example_cc\account.go"
at C:\Users\pilla\to-do\todo-list-fabricV1\fabric-sdk-node\node_modules\grpc\src\client.js:554:15
error: [install-chaincode]: install proposal
The text was updated successfully, but these errors were encountered: