NODE-RED Issues

Hi, I'm part of the maker community, and I'm trying to connect RsEmulate with Node-RED and create a SCADA system using Ignition. I'm trying to install the Node-RED module, but although the license is activated, the status shows FAULTED. I've already uninstalled both Ignition and Node-RED, but I keep getting the same problem. If anyone could help me, I would be very thankful!

java.lang.Exception: Exception while starting up module "org.imdc.nodered.IgnitionNodeRED". at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl$LoadedModule.startup(ModuleManagerImpl.java:2452) at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl.startup(ModuleManagerImpl.java:423) at com.inductiveautomation.ignition.gateway.IgnitionGateway.startupInternal(IgnitionGateway.java:1334) at com.inductiveautomation.ignition.gateway.redundancy.RedundancyManagerImpl.startup(RedundancyManagerImpl.java:307) at com.inductiveautomation.ignition.gateway.IgnitionGateway.initRedundancy(IgnitionGateway.java:777) at com.inductiveautomation.ignition.gateway.IgnitionGateway.lambda$initInternal$1(IgnitionGateway.java:700) at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:550) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: org/eclipse/jetty/websocket/server/JettyWebSocketServlet at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(Unknown Source) at java.base/java.security.SecureClassLoader.defineClass(Unknown Source) at java.base/java.net.URLClassLoader.defineClass(Unknown Source) at java.base/java.net.URLClassLoader$1.run(Unknown Source) at java.base/java.net.URLClassLoader$1.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.net.URLClassLoader.findClass(Unknown Source) at com.inductiveautomation.ignition.gateway.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:37) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) at com.inductiveautomation.ignition.gateway.modules.ModuleClassLoader.loadClass(ModuleClassLoader.java:85) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) at org.imdc.nodered.GatewayHook.startup(GatewayHook.java:39) at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl$LoadedModule.startup(ModuleManagerImpl.java:2446) ... 12 more Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.websocket.server.JettyWebSocketServlet at java.base/java.net.URLClassLoader.findClass(Unknown Source) at com.inductiveautomation.ignition.gateway.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:37) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) at com.inductiveautomation.ignition.gateway.modules.ModuleClassLoader.loadClass(ModuleClassLoader.java:85) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ... 26 more 8.1.49 (b2025081208) Azul Systems, Inc. 17.0.15

Post the entire stack trace here as preformatted text, see Wiki - how to post code on this forum. You can edit your post by clicking the pencil icon in the lower right.

1 Like

We upgrade to Jetty v12 in 8.1.49; I bet the Node Red module needs to be updated and a new version released as well.

Sure, i’ve posted the stack trace as you said

I was analyzing the error, and I think so too. Can you tell me if the previous version of Ignition is compatible with Node-RED?

I think it would be. Best would be to file an issue with this stack trace on the Node Red module repository and then also ask the maintainers while you’re at it.

2 Likes

Alright, I’ll open an issue on the Node-RED module repository. In the meantime, I might try downgrading to 8.1.48 so I can continue my tests until the module is updated. Thanks

I can help take a look at this when I get some free time. I helped upgrade it for Jetty 10 w/ 8.1.25–should be pretty straightforward.

1 Like