@jkandasa Problem resolved by connect Gateway directly to my router!
Previously it connected via switch.
S
Best posts made by Sandr
-
RE: Error in log - The connection was broken by the other side
Latest posts made by Sandr
-
RE: Error in log - The connection was broken by the other side
@jkandasa
Can you comment this part of log....2021-01-22 21:58:51,853 INFO [main] [org.mycontroller.standalone.StartApp:104] ****************************************** Data Processing Agreement ******************************************* By using this software you agree that the following non-PII (non personally identifiable information data will be collected, processed and used by MyController.org for the purpose of improving quality of this software. ---------------------------------------------------------------------------------------------------------------- If you do not like to share anonymous data(non-PII), disable it in 'mycontroller/conf/mycontroller.properties' by setting 'mcc.collect.anonymous.data=false' and **restart** this server and **logout and login** in the UI. ------ Thank you! ------ **************************************************************************************************************** 2021-01-22 21:58:51,975 INFO [main] [org.mycontroller.standalone.db.DataBaseUtils:116] Checking migration... 2021-01-22 21:58:53,162 INFO [main] [org.mycontroller.standalone.db.DataBaseUtils:167] Application information: [Version:1.5.0, Database(type:H2 database embedded, version:1.4.194 (2017-03-10), schema version:1.04.06 - 2018 Dec 04), Built on:2019-12-11T11:29:51+0530, Git commit:b4e9a0cc5e911acb0053e27579eb6c7b9850b76c:master] 2021-01-22 21:58:53,312 INFO [main] [org.mycontroller.standalone.offheap.OffHeapFactory:95] Cleared McPersistent location[../conf/persistent_stores/mc/] 2021-01-22 21:58:53,313 INFO [main] [org.mycontroller.standalone.AppProperties:530] Created directory location: [/opt/mycontroller/conf/persistent_stores/mc] 2021-01-22 21:58:54,490 INFO [mc-th-pool-0] [org.mycontroller.standalone.gateway.ethernet.EthernetDriver:73] Connected successfully[192.168.1.203:5003] WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/opt/mycontroller/lib/mycontroller-dist-standalone-1.5.0-single.jar) to constructor java.nio.DirectByteBuffer(long,int) WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 2021-01-22 21:58:55,152 INFO [main] [org.mycontroller.standalone.scheduler.SchedulerUtils:90] System jobs reloaded. 2021-01-22 21:58:55,950 INFO [main] [org.mycontroller.standalone.StartApp:242] TJWS server started successfully, HTTPS Enabled?:false, HTTP(S) Port: [8443] 2021-01-22 21:58:56,869 INFO [main] [org.mycontroller.standalone.api.GoogleAnalyticsApi:94] Google analytics details[enabled:true, ga_anonymous_id:9277c998-866b-4215-8422-bd021e6b0562] 2021-01-22 21:58:56,870 INFO [main] [org.mycontroller.standalone.StartApp:139] MyController.org server started in [4093] ms java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlElement at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:131) at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:118) at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:110) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at java.base/java.lang.Class.newInstance(Class.java:584) at com.fasterxml.jackson.jaxrs.json.JsonMapperConfigurator._resolveIntrospector(JsonMapperConfigurator.java:111) at com.fasterxml.jackson.jaxrs.json.JsonMapperConfigurator._resolveIntrospectors(JsonMapperConfigurator.java:84) at com.fasterxml.jackson.jaxrs.cfg.MapperConfiguratorBase._setAnnotations(MapperConfiguratorBase.java:120) at com.fasterxml.jackson.jaxrs.json.JsonMapperConfigurator.getDefaultMapper(JsonMapperConfigurator.java:45) at com.fasterxml.jackson.jaxrs.base.ProviderBase.locateMapper(ProviderBase.java:867) at org.mycontroller.standalone.api.jaxrs.mixins.McJacksonJson2Provider.writeTo(McJacksonJson2Provider.java:85) at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.writeTo(AbstractWriterInterceptorContext.java:131) at org.jboss.resteasy.core.interception.ServerWriterInterceptorContext.writeTo(ServerWriterInterceptorContext.java:60) at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.proceed(AbstractWriterInterceptorContext.java:120) at org.jboss.resteasy.plugins.interceptors.encoding.GZIPEncodingInterceptor.aroundWriteTo(GZIPEncodingInterceptor.java:100) at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.proceed(AbstractWriterInterceptorContext.java:124) at org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse(ServerResponseWriter.java:98) at org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:466) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:415) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) at org.jboss.resteasy.plugins.server.tjws.TJWSServletDispatcher.service(TJWSServletDispatcher.java:40) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2328) at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2282) at Acme.Serve.Serve$ServeConnection.run(Serve.java:2054) at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1402) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlElement at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 33 more
Five rows with Warning ......
-
RE: Error in log - The connection was broken by the other side
@jkandasa Problem resolved by connect Gateway directly to my router!
Previously it connected via switch. -
RE: Error in log - The connection was broken by the other side
@jkandasa
Thank you, i will try. -
Error in log - The connection was broken by the other side
In the log file i see repeated error "The connection was broken by the other side"
What could be causing this error?Host: Core i5 x64 PC, Debian buster
HW: - Ethernet Gateway with ENC28J60 Ethernet module
SW - Scetch from /mysensors/MySensorsArduinoExamples/examples/GatewayENC28J60/GatewayENC28J60.ino2021-01-22 14:32:35,015 INFO [mc-th-pool-0] [org.mycontroller.standalone.gateway.ethernet.EthernetDriver:88] EthernetDriver[192.168.1.203:5003] closed 2021-01-22 14:32:35,017 INFO [mc-th-pool-0] [org.mycontroller.standalone.gateway.ethernet.EthernetDriver:73] Connected successfully[192.168.1.203:5003] 2021-01-22 14:51:24,740 ERROR [mc-th-pool-0] [org.mycontroller.standalone.gateway.ethernet.EthernetDriver:107] Exception, java.net.SocketException: The connection was broken by the other side (Write failed) at java.base/java.net.SocketOutputStream.socketWrite0(Native Method) at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110) at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:138) at org.mycontroller.standalone.gateway.ethernet.EthernetDriver.write(EthernetDriver.java:104) at org.mycontroller.standalone.gateway.ethernet.GatewayEthernet.write(GatewayEthernet.java:44) at org.mycontroller.standalone.provider.EngineAbstract.auditQueue(EngineAbstract.java:264) at org.mycontroller.standalone.provider.EngineAbstract.run(EngineAbstract.java:133) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) 2021-01-22 14:51:24,745 INFO [mc-th-pool-0] [org.mycontroller.standalone.gateway.ethernet.EthernetDriver:88] EthernetDriver[192.168.1.203:5003] closed 2021-01-22 14:51:24,749 INFO [mc-th-pool-0] [org.mycontroller.standalone.gateway.ethernet.EthernetDriver:73] Connected successfully[192.168.1.203:5003]
Complete log https://yadi.sk/d/8XiT45-TGxczZA