-
Notifications
You must be signed in to change notification settings - Fork 117
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
No response from Server #11
Comments
Hi @project621c - This code example was super fun but Hyperledger Composer was depreciated in early 2019. The Node-RED http request nodes make calls to the Hyperledger Composer REST APIs. If HyperLedger Composer isn't running or available, those parts of the Node-RED flows will fail. |
Thanks for the reply.
After some thinking around and moving the fabric instance and node-red flow
on the same network(ip-range) I could query the blockchain and get a 200
status ok on the inject nodes.
I would like to continue with this project but I don't have much experience
with javascript. I can code in go.
What do you recon I should do as I would like to build an iot-asset-tracker?
PS:I can't afford your ibm-blockchain solution right not .
…On Fri, Dec 20, 2019 at 6:20 PM John Walicki ***@***.***> wrote:
Hi @project621c <https://github.com/project621c> - This code example was
super fun but Hyperledger Composer was depreciated in early 2019. The
Node-RED http request nodes make calls to the Hyperledger Composer REST
APIs. If HyperLedger Composer isn't running or available, those parts of
the Node-RED flows will fail.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11?email_source=notifications&email_token=ALMCMFVB2G3Y6SOIRL5ZJWDQZTPCHA5CNFSM4J5NWT72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHNGIJI#issuecomment-567960613>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMCMFQHYPRCKOZ63MZ35YLQZTPCHANCNFSM4J5NWT7Q>
.
|
There is another IBM Code pattern that runs Hyperledger Fabric and Node-RED in a kubernetes cluster and demonstrates IoT Asset tracking. You would need upgrade to an IBM Cloud standard account (credit card required). The good news is that there is a free kube cluster (good for 20 days) that you can use to experiment. https://github.com/yigitpolat/Hyperledger-Fabric-for-Trusted-IoT/blob/master/README.md |
Here is the official link |
I was able to run a local instance of your iot-perishable-network on my local pc. via a virtual ubuntu machine. I have a raspberry pi, where I am running the node-red flow.
I've got everything working till the composer-rest-server part.
When I try to run,the node-red flow it errors with the Following error,No response from server on a post request to the setupDemo api.
I tried to curl the same request via the Host Pc.I'm trying to record,send and retrieve gpscordinates via the hyperledger blockchain.
The node-red code seems to work fine to some extend but not all parts especially the http clients.
A good recap to the node-red code would be highly appreciated.Thanks in advance
The text was updated successfully, but these errors were encountered: