Skip to content
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

Open
sxcntqnt opened this issue Dec 19, 2019 · 4 comments
Open

No response from Server #11

sxcntqnt opened this issue Dec 19, 2019 · 4 comments

Comments

@sxcntqnt
Copy 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

@johnwalicki
Copy link
Owner

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.

@sxcntqnt
Copy link
Author

sxcntqnt commented Dec 27, 2019 via email

@johnwalicki
Copy link
Owner

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

@johnwalicki
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants