Search code examples
postgresqlnode-red

Node-RED postgres node error connection timeout


After updating Node JS and Node-RED to the latest version,
a connection timeout error occurs when running the program.

enter image description here

Could it be that the postgres (node-red-contrib-postgres-variable) node is not compatible with the latest version?

Windows 10 Pro
Node.js version: v14.17.6
Node-RED version: v2.0.6
node-red-contrib-postgres-variable version: v0.1.4


Solution

  • As mentioned in the comments, this is down to a bug in the underlying node-progress library with regard to NodeJS v14.

    There is an pull request for the node-red-contrib-postgress-variable node to fix this, but at this time it has not been merged.

    Your options are

    • Wait for the PR to be merged and then upgrade
    • Modify the package.json locally and run npm install in the node's directory
    • Downgrade NodeJS to v12