<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Modbus TCP scan causes error message]]></title><description><![CDATA[<p dir="auto">Hey there,</p>
<p dir="auto">I am new to Mango, and trying to set up the server.  I looked around but couldn't find anything similar in the forum.  I have everything running and with help from you folks have the proper modules plugged in.  Now I am having an issue connecting to my Modbus device.</p>
<p dir="auto">I am using a Modbus TCP device, but when I click "Scan for nodes" I get an error message saying "Error" and that's it. The title on the pop-up message is "the page at 192.168.1.139:8080 says:".  This error happens with both TCP, and with TCP with keep-alive.</p>
<p dir="auto">When I change to UDP is seems to scan fine.  I downloaded a Modbus simulator, and when I set-up a UDP connection the scan found it.  I couldn't test it any further before the 10 minute trial ran up and i lost the simulator ( I am looking for a new one now).</p>
<p dir="auto"><strong>Does anyone know what would cause the TCP scan to immediately error out?</strong></p>
<p dir="auto">Edit this is under the new data source page.</p>
<p dir="auto">Thanks in advance!<br />
Adam Nelson</p>
]]></description><link>https://forum.mango-os.com/topic/1343/modbus-tcp-scan-causes-error-message</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 18:29:19 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/1343.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 May 2013 22:56:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Modbus TCP scan causes error message on Thu, 09 May 2013 19:08:46 GMT]]></title><description><![CDATA[<p dir="auto">Make sure you are using the Mango core 2.0.6 and modbus 1.4.2  Java 1.7 should be fine.</p>
]]></description><link>https://forum.mango-os.com/post/7742</link><guid isPermaLink="true">https://forum.mango-os.com/post/7742</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Thu, 09 May 2013 19:08:46 GMT</pubDate></item><item><title><![CDATA[Reply to Modbus TCP scan causes error message on Wed, 08 May 2013 18:35:46 GMT]]></title><description><![CDATA[<p dir="auto">And no luck.  I rolled back the java version, and it still has the same error.</p>
<pre><code>
C:\&gt;java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Client VM (build 20.45-b01, mixed mode, sharing)

</code></pre>
<p dir="auto">I'm officially out of ideas.</p>
]]></description><link>https://forum.mango-os.com/post/7739</link><guid isPermaLink="true">https://forum.mango-os.com/post/7739</guid><dc:creator><![CDATA[adam.m.nelson]]></dc:creator><pubDate>Wed, 08 May 2013 18:35:46 GMT</pubDate></item><item><title><![CDATA[Reply to Modbus TCP scan causes error message on Wed, 08 May 2013 18:15:18 GMT]]></title><description><![CDATA[<p dir="auto">Grrr based on this: <a href="http://forum.infiniteautomation.com/forum/posts/list/1033.page#4407" rel="nofollow ugc">http://forum.infiniteautomation.com/forum/posts/list/1033.page#4407</a>  I need to revert to an older version of Java.</p>
<p dir="auto">Will update</p>
]]></description><link>https://forum.mango-os.com/post/7738</link><guid isPermaLink="true">https://forum.mango-os.com/post/7738</guid><dc:creator><![CDATA[adam.m.nelson]]></dc:creator><pubDate>Wed, 08 May 2013 18:15:18 GMT</pubDate></item><item><title><![CDATA[Reply to Modbus TCP scan causes error message on Wed, 08 May 2013 18:02:55 GMT]]></title><description><![CDATA[<p dir="auto">Ok, I have a working simulator now.  The UDP works great, but my understanding is that UDP is not the ideal protocol to use in a multi sensor network ( all reporting in over a standard Ethernet based network).  I need to get to TCP, and this appears to me an error in the Mango software.</p>
<p dir="auto">I am not well versed in Java at all, however here is the console for the error:</p>
<pre><code>
ERROR 2013-05-08 09:49:29,390 (com.serotonin.m2m2.web.dwr.util.ExceptionDetectio
nFilter.doFilter:38) - DWR invocation exception
java.lang.NoClassDefFoundError: com/serotonin/provider/InputStreamEPollProvider
        at com.serotonin.m2m2.modbus.dwr.ModbusEditDwr.createModbusIpMaster(Modb
usEditDwr.java:350)
        at com.serotonin.m2m2.modbus.dwr.ModbusEditDwr.modbusIpScan(ModbusEditDw
r.java:309)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilt
er.java:34)
        at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.j
ava:428)
        at com.serotonin.m2m2.web.dwr.util.TranslationsFilter.doFilter(Translati
onsFilter.java:37)
        at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.j
ava:428)
        at com.serotonin.m2m2.web.dwr.util.ExceptionDetectionFilter.doFilter(Exc
eptionDetectionFilter.java:26)
        at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.j
ava:428)
        at com.serotonin.m2m2.web.dwr.util.DwrPermissionFilter.doFilter(DwrPermi
ssionFilter.java:38)
        at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.j
ava:428)
        at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java
:431)
        at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java
:283)
        at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandle
r.java:52)
        at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:1
01)
        at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538
)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java
:478)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
ava:119)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:517)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandl
er.java:225)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandl
er.java:937)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:
406)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandle
r.java:183)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandle
r.java:871)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
ava:117)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper
.java:110)
        at org.eclipse.jetty.server.Server.handle(Server.java:346)
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.
java:589)
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpCo
nnection.java:1065)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)

        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:41
1)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEn
dPoint.java:535)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEnd
Point.java:40)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool
.java:529)
        at java.lang.Thread.run(Thread.java:662)
ERROR 2013-05-08 09:51:33,531 (com.serotonin.m2m2.web.dwr.util.ExceptionDetectio
nFilter.doFilter:38) - DWR invocation exception
java.lang.NoClassDefFoundError: com/serotonin/provider/InputStreamEPollProvider
        at com.serotonin.m2m2.modbus.dwr.ModbusEditDwr.createModbusIpMaster(Modb
usEditDwr.java:350)
        at com.serotonin.m2m2.modbus.dwr.ModbusEditDwr.modbusIpScan(ModbusEditDw
r.java:309)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilt
er.java:34)
        at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.j
ava:428)
        at com.serotonin.m2m2.web.dwr.util.TranslationsFilter.doFilter(Translati
onsFilter.java:37)
        at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.j
ava:428)
        at com.serotonin.m2m2.web.dwr.util.ExceptionDetectionFilter.doFilter(Exc
eptionDetectionFilter.java:26)
        at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.j
ava:428)
        at com.serotonin.m2m2.web.dwr.util.DwrPermissionFilter.doFilter(DwrPermi
ssionFilter.java:38)
        at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.j
ava:428)
        at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java
:431)
        at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java
:283)
        at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandle
r.java:52)
        at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:1
01)
        at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538
)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java
:478)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
ava:119)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:517)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandl
er.java:225)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandl
er.java:937)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:
406)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandle
r.java:183)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandle
r.java:871)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
ava:117)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper
.java:110)
        at org.eclipse.jetty.server.Server.handle(Server.java:346)
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.
java:589)
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpCo
nnection.java:1065)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)

        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:41
1)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEn
dPoint.java:535)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEnd
Point.java:40)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool
.java:529)
        at java.lang.Thread.run(Thread.java:662)
</code></pre>
<p dir="auto">Like I said I'm not well versed in Java at all, but it seems that Java is having an issue with the modbus protocol.  I am running java 1.7.0_21 on win XP.</p>
<pre><code>Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


C:\&gt;java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)
</code></pre>
<p dir="auto">Now that I wrote this all out I am wondering if I installed the java JDK on this machine or if it was on the other server we tried to use.  I'll go check that now.</p>
<p dir="auto">If anyone has any input its appreciated,</p>
<p dir="auto">Adam</p>
]]></description><link>https://forum.mango-os.com/post/7737</link><guid isPermaLink="true">https://forum.mango-os.com/post/7737</guid><dc:creator><![CDATA[adam.m.nelson]]></dc:creator><pubDate>Wed, 08 May 2013 18:02:55 GMT</pubDate></item></channel></rss>