Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

Error during forcePointRead com.serotonin.modbus4j.exception.ModbusTransportException


  • Hi,
    what does this error mean and how could i solve it:

    WARN  2013-05-14 10:46:13,757 (com.serotonin.mango.rt.dataSource.modbus.ModbusDataSource.forcePointRead:294) - Error during forcePointRead 
    com.serotonin.modbus4j.exception.ModbusTransportException: java.net.SocketTimeoutException: connect timed out
    	at com.serotonin.modbus4j.ip.tcp.TcpMaster.sendImpl(TcpMaster.java:92)
    	at com.serotonin.modbus4j.ModbusMaster.send(ModbusMaster.java:74)
    	at com.serotonin.modbus4j.ModbusMaster.sendFunctionGroup(ModbusMaster.java:301)
    	at com.serotonin.modbus4j.ModbusMaster.send(ModbusMaster.java:248)
    	at com.serotonin.modbus4j.ModbusMaster.getValue(ModbusMaster.java:97)
    	at com.serotonin.mango.rt.dataSource.modbus.ModbusDataSource.forcePointRead(ModbusDataSource.java:280)
    	at com.serotonin.mango.rt.RuntimeManager.forcePointRead(RuntimeManager.java:491)
    	at com.serotonin.mango.web.dwr.BaseDwr.forcePointRead(BaseDwr.java:194)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
    	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
    	at com.serotonin.mango.web.dwr.util.LoggedInAjaxFilter.doFilter(LoggedInAjaxFilter.java:19)
    	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
    	at com.serotonin.web.dwr.LocalizationFilter.doFilter(LocalizationFilter.java:42)
    	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
    	at com.serotonin.mango.web.filter.ExceptionDetectionFilter.doFilter(ExceptionDetectionFilter.java:20)
    	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java: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(PlainCallHandler.java:52)
    	at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
    	at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864)
    	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
    	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)
    	at java.lang.Thread.run(Thread.java:662)
    Caused by: java.net.SocketTimeoutException: connect timed out
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:529)
    	at com.serotonin.modbus4j.ip.tcp.TcpMaster.openConnection(TcpMaster.java:148)
    	at com.serotonin.modbus4j.ip.tcp.TcpMaster.sendImpl(TcpMaster.java:88)
    	... 38 more
    

    Thanks


  • and after a while, this one appears:

    WARN  2013-05-14 10:58:13,757 (com.serotonin.mango.rt.dataSource.modbus.ModbusDataSource.receivedException:385) - Modbus exception 
    java.net.SocketException: Unrecognized Windows Sockets error: -1: socket available
    	at java.net.PlainSocketImpl.socketAvailable(Native Method)
    	at java.net.PlainSocketImpl.available(PlainSocketImpl.java:472)
    	at java.net.SocketInputStream.available(SocketInputStream.java:217)
    	at com.serotonin.messaging.InputStreamListener.run(InputStreamListener.java:63)
    	at java.lang.Thread.run(Thread.java:662)