Here's an interesting situation...
I've deployed a Fabric network over two machines and I'm able to query and invoke transactions through cli.
I'm also using a NodeJS app with which I can query the network but can't invoke any transaction.
This error appears whenever I invoke from the NodeJS app:
"Failed to connect before the deadline".
The logs from the node app:
[Remote.js]: Error: Failed to connect before the deadline
error: [Orderer.js]: Orderer grpcs://orderer.test.com:7050 has an error Error: Failed to connect before the deadline
This is the template NodeJS app I'm using: https://github.com/olegabu/fabric-starter-rest
Any ideea what's wrong?
from Hyperledger Fabric + NodeJS app - Query but no Invoke
No comments:
Post a Comment