Robot and Nodered configuration
-
Hello,
I read all the nodered configuration posts here and I finally get my openflow and nodered up and running, but with a little point that I am missing for sure.
From Robot when I click the OpenFlow link on the top-left corner options my browser opens OpenFlow correctly, but NodeRed link tries to open [username].localhost.openiap.io insted of localhost.openiap.io:1880
I found that question in other thread but the conversation flows to another related issue.
I have checked all the possibilities on settings.json, .env and noderedlocal.env files (or I think so jaja) but with no results.
Any advice to know where is configurated this link on that files?
Thanks in advance, and congrats for this amazing software.
Jordi. -
Hi,
Just to clarify, I'm running Openflow and Nodered from source on a VSCode.
I followed this guide https://openflow.openiap.io/buildsource , and watch this video several times https://www.youtube.com/watch?v=YjIeVFmoWA0
I can run Openflow on localhost.openiap.io:8080 and NodeRed on localhost.openiap.io:1880 when i open them manually on my borwser, but I think that there is no connection between Robot and nodered as I try to add a Invoke Openflow Task and the workflow I have created and deployed on Nodered is not appearing.
Thanks,
Jordi. -
Hello,
just watching the openflow.env file I add the nodered_domain_schema=localhost.openiap.io:1880 value to the .env file and now opens correctly from top-left menu, but invokeOpenflow does not retrieve the workflows deployed on nodered.
I log out and in in order to refresh the token.
Regards
-
Solved!
just watching again API calls video i found that i didn't configure the nodered workflow ok.
So top-left menu link on robot is the value nodered_domain_schema= in environment file.
Then all works fine.
Thanks and regards
Jordi. -
@jordi-garcia-casado was interresting to see your journey, glad you found a solution in the end
So running from source was never meant for “production”. The idea is to run it in docker, behind traefik and then use nodered schema to generate the urls. But nice to see you found that and tweaked it for your use caee