How to build OpenAPI and Nodered local?

Hi everyone and Allan_Zimmermann,
I’m having trouble building OpenFlow.
I have followed the instructions (build from source | openflow) but it doesn’t work

Can you help me?

You need to provide more information. How am i suppose to know why it cannot detect docker if you don’t show the error message or explain how your testing the agent driver ?

I use VSCode to run OpenFlow and Docker to run Nodered but this error shows up

you cannot do that. then the docker instances cannot see openflow.

Oh, I see. Do you have guidelines to set up nodered with local OpenFlow?

For 1.4 and below deploy openflow nodered using NPM | openflow

I dont have one for 1.5
but you can find the source here GitHub - openiap/noderedagent
To run it, you need to create a lunch file that sets environment variable with “apiurl” and “oidc_config”
something like

    "version": "0.2.0",
    "configurations": [
            "type": "node",
            "request": "launch",
            "name": "Run main",
            "cwd": "${workspaceFolder}",
            "console": "integratedTerminal",
            "runtimeArgs": [
            "program": "src/main.ts",
            "env": {
                "log_with_colors": "true",
                "apiurl": "grpc://",
                "domain": "",
                "oidc_config": "",
                "port": "1880",
                "externalport": "1880",
                "nodered_id": "username",
                "api_role": "users"
            "resolveSourceMapLocations": [
1 Like

I’m doing a rarther big update to how agents are handled. Might release it today or tomorrow.
This is to prepare for running “agents” outside docker ( like an application at the desktop to users or as an deamon for unattended processing ) and there i also add the concept of packages
So there will be an vs.code extension for easy packaging and uploading packages ( or you can upload in the webinterface ) then gitrepo environment variable will go away, and all agents will only download from openflow.

1 Like

I get it. Thank you Allan

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.