Web server stopped responding.



  • Yesterday when I tried to check my sensors I couldn't get a connection to the pi. Here is the log leading up to the event.

    2019-01-17 12:38:03,784 INFO [mc-th-pool-0] [org.mycontroller.standalone.provider.EngineAbstract:246] Seems like failed to send this message. There is no ACK received! Retried 7 time(s). MessageImpl(gatewayId=1, nodeEui=15, sensorId=SENSOR_BC, type=Internal, subType=Heartbeat, ack=1, payload=, isTxMessage=true, timestamp=1547728655369, properties=null)
    2019-01-17 12:38:42,083 INFO [mc-th-pool-0] [org.mycontroller.standalone.provider.EngineAbstract:246] Seems like failed to send this message. There is no ACK received! Retried 7 time(s). MessageImpl(gatewayId=1, nodeEui=61, sensorId=SENSOR_BC, type=Internal, subType=Heartbeat, ack=1, payload=, isTxMessage=true, timestamp=1547728693840, properties=null)
    2019-01-17 12:39:15,582 INFO [mc-th-pool-0] [org.mycontroller.standalone.provider.EngineAbstract:246] Seems like failed to send this message. There is no ACK received! Retried 7 time(s). MessageImpl(gatewayId=1, nodeEui=43, sensorId=SENSOR_BC, type=Internal, subType=Heartbeat, ack=1, payload=, isTxMessage=true, timestamp=1547728726135, properties=null)
    2019-01-17 12:28:24,738 INFO [main] [org.mycontroller.standalone.StartApp:101] 
    
    ****************************************** 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! ------                                              
    ****************************************************************************************************************
    
    
    2019-01-17 12:28:25,089 INFO [main] [org.mycontroller.standalone.db.DataBaseUtils:116] Checking migration...
    2019-01-17 12:28:31,992 INFO [main] [org.mycontroller.standalone.db.DataBaseUtils:167] Application information: [Version:1.4.0-SNAPSHOT, Database(type:H2 database embedded, version:1.4.194 (2017-03-10), schema version:1.04.06 - 2018 Dec 04), Built on:2018-12-07T12:12:54+0530, Git commit:2e154aef28a8849e5721a88e76123268cf0093d0:development]
    2019-01-17 12:28:32,477 INFO [main] [org.mycontroller.standalone.offheap.OffHeapFactory:95] Cleared McPersistent location[../conf/persistent_stores/mc/]
    2019-01-17 12:28:32,478 INFO [main] [org.mycontroller.standalone.AppProperties:527] Created directory location: [/home/mycontroller/conf/persistent_stores/mc]
    2019-01-17 12:28:33,512 WARN [main] [io.moquette.persistence.mapdb.MapDBPersistentStore:78] Using fresh MapDB store file. Path=../conf/persistent_stores/moquette/moquette_store.mapdb
    2019-01-17 12:28:34,026 WARN [main] [io.moquette.server.Server:186] Using default SSL context creator
    2019-01-17 12:28:34,645 WARN [main] [io.netty.bootstrap.ServerBootstrap:146] Unknown channel option 'TCP_NODELAY' for channel '[id: 0x7c35ba88]'
    2019-01-17 12:28:34,736 WARN [main] [io.netty.bootstrap.ServerBootstrap:146] Unknown channel option 'TCP_NODELAY' for channel '[id: 0x94ef539e]'
    2019-01-17 12:28:34,743 INFO [main] [org.mycontroller.standalone.mqttbroker.MoquetteMqttBroker:54] MQTT Broker started successfully. MqttBrokerSettings(enabled=true, sslEnabled=false, bindAddress=0.0.0.0, mqttPort=1883, mqttsPort=8883, websocketPort=7080, allowAnonymous=true, enabledOnBackend=true, sslKeystoreFile=null)
    2019-01-17 12:28:35,569 INFO [mc-th-pool-1] [org.mycontroller.standalone.gateway.mqtt.MQTTDriver:94] MQTT Gateway[name:Raspberry Pi, URI:tcp://localhost:1883, NetworkType:MyController] connected successfully..
    2019-01-17 12:28:35,666 INFO [main] [org.mycontroller.standalone.scheduler.SchedulerUtils:90] System jobs reloaded.
    2019-01-17 12:28:38,973 INFO [main] [org.mycontroller.standalone.StartApp:238] TJWS server started successfully, HTTPS Enabled?:true, HTTP(S) Port: [8443]
    2019-01-17 12:28:39,429 INFO [main] [org.mycontroller.standalone.api.GoogleAnalyticsApi:94] Google analytics details[enabled:true, ga_anonymous_id:0904c9fb-6a3c-4c67-9ca8-908c0c2cb2f0]
    2019-01-17 12:28:39,433 INFO [main] [org.mycontroller.standalone.StartApp:136] MyController.org server started in [14217] ms
    2019-01-17 12:28:39,594 ERROR [mc-th-pool-2] [org.mycontroller.restclient.core.RestHttpClient:252] Exception when calling url:[https://www.google-analytics.com/collect], headers:[{User-Agent=Mozilla/5.0}], queryParameters:[null]
    java.lang.RuntimeException: Failed to execute, Request:POST https://www.google-analytics.com/collect HTTP/1.1, error:www.google-analytics.com: Name or service not known
    	at org.mycontroller.restclient.core.RestHttpClient.execute(RestHttpClient.java:165)
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:247)
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:271)
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:283)
    	at org.mycontroller.standalone.api.GoogleAnalyticsApi.access$100(GoogleAnalyticsApi.java:59)
    	at org.mycontroller.standalone.api.GoogleAnalyticsApi$1.run(GoogleAnalyticsApi.java:373)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    2019-01-17 12:28:39,597 ERROR [mc-th-pool-2] [org.mycontroller.standalone.api.GoogleAnalyticsApi:375] Exception,
    java.lang.RuntimeException: Failed to execute, url:https://www.google-analytics.com/collect, error:Failed to execute, Request:POST https://www.google-analytics.com/collect HTTP/1.1, error:www.google-analytics.com: Name or service not known
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:255)
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:271)
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:283)
    	at org.mycontroller.standalone.api.GoogleAnalyticsApi.access$100(GoogleAnalyticsApi.java:59)
    	at org.mycontroller.standalone.api.GoogleAnalyticsApi$1.run(GoogleAnalyticsApi.java:373)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    2019-01-17 12:38:03,784 INFO [mc-th-pool-0] [org.mycontroller.standalone.provider.EngineAbstract:246] Seems like failed to send this message. There is no ACK received! Retried 7 time(s). MessageImpl(gatewayId=1, nodeEui=15, sensorId=SENSOR_BC, type=Internal, subType=Heartbeat, ack=1, payload=, isTxMessage=true, timestamp=1547728655369, properties=null)
    2019-01-17 12:38:42,083 INFO [mc-th-pool-0] [org.mycontroller.standalone.provider.EngineAbstract:246] Seems like failed to send this message. There is no ACK received! Retried 7 time(s). MessageImpl(gatewayId=1, nodeEui=61, sensorId=SENSOR_BC, type=Internal, subType=Heartbeat, ack=1, payload=, isTxMessage=true, timestamp=1547728693840, properties=null)
    2019-01-17 12:39:15,582 INFO [mc-th-pool-0] [org.mycontroller.standalone.provider.EngineAbstract:246] Seems like failed to send this message. There is no ACK received! Retried 7 time(s). MessageImpl(gatewayId=1, nodeEui=43, sensorId=SENSOR_BC, type=Internal, subType=Heartbeat, ack=1, payload=, isTxMessage=true, timestamp=1547728726135, properties=null)
    2019-01-17 12:28:24,738 INFO [main] [org.mycontroller.standalone.StartApp:101] 
    
    ****************************************** 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! ------                                              
    ****************************************************************************************************************
    
    
    2019-01-17 12:28:25,089 INFO [main] [org.mycontroller.standalone.db.DataBaseUtils:116] Checking migration...
    2019-01-17 12:28:31,992 INFO [main] [org.mycontroller.standalone.db.DataBaseUtils:167] Application information: [Version:1.4.0-SNAPSHOT, Database(type:H2 database embedded, version:1.4.194 (2017-03-10), schema version:1.04.06 - 2018 Dec 04), Built on:2018-12-07T12:12:54+0530, Git commit:2e154aef28a8849e5721a88e76123268cf0093d0:development]
    2019-01-17 12:28:32,477 INFO [main] [org.mycontroller.standalone.offheap.OffHeapFactory:95] Cleared McPersistent location[../conf/persistent_stores/mc/]
    2019-01-17 12:28:32,478 INFO [main] [org.mycontroller.standalone.AppProperties:527] Created directory location: [/home/mycontroller/conf/persistent_stores/mc]
    2019-01-17 12:28:33,512 WARN [main] [io.moquette.persistence.mapdb.MapDBPersistentStore:78] Using fresh MapDB store file. Path=../conf/persistent_stores/moquette/moquette_store.mapdb
    2019-01-17 12:28:34,026 WARN [main] [io.moquette.server.Server:186] Using default SSL context creator
    2019-01-17 12:28:34,645 WARN [main] [io.netty.bootstrap.ServerBootstrap:146] Unknown channel option 'TCP_NODELAY' for channel '[id: 0x7c35ba88]'
    2019-01-17 12:28:34,736 WARN [main] [io.netty.bootstrap.ServerBootstrap:146] Unknown channel option 'TCP_NODELAY' for channel '[id: 0x94ef539e]'
    2019-01-17 12:28:34,743 INFO [main] [org.mycontroller.standalone.mqttbroker.MoquetteMqttBroker:54] MQTT Broker started successfully. MqttBrokerSettings(enabled=true, sslEnabled=false, bindAddress=0.0.0.0, mqttPort=1883, mqttsPort=8883, websocketPort=7080, allowAnonymous=true, enabledOnBackend=true, sslKeystoreFile=null)
    2019-01-17 12:28:35,569 INFO [mc-th-pool-1] [org.mycontroller.standalone.gateway.mqtt.MQTTDriver:94] MQTT Gateway[name:Raspberry Pi, URI:tcp://localhost:1883, NetworkType:MyController] connected successfully..
    2019-01-17 12:28:35,666 INFO [main] [org.mycontroller.standalone.scheduler.SchedulerUtils:90] System jobs reloaded.
    2019-01-17 12:28:38,973 INFO [main] [org.mycontroller.standalone.StartApp:238] TJWS server started successfully, HTTPS Enabled?:true, HTTP(S) Port: [8443]
    2019-01-17 12:28:39,429 INFO [main] [org.mycontroller.standalone.api.GoogleAnalyticsApi:94] Google analytics details[enabled:true, ga_anonymous_id:0904c9fb-6a3c-4c67-9ca8-908c0c2cb2f0]
    2019-01-17 12:28:39,433 INFO [main] [org.mycontroller.standalone.StartApp:136] MyController.org server started in [14217] ms
    2019-01-17 12:28:39,594 ERROR [mc-th-pool-2] [org.mycontroller.restclient.core.RestHttpClient:252] Exception when calling url:[https://www.google-analytics.com/collect], headers:[{User-Agent=Mozilla/5.0}], queryParameters:[null]
    java.lang.RuntimeException: Failed to execute, Request:POST https://www.google-analytics.com/collect HTTP/1.1, error:www.google-analytics.com: Name or service not known
    	at org.mycontroller.restclient.core.RestHttpClient.execute(RestHttpClient.java:165)
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:247)
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:271)
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:283)
    	at org.mycontroller.standalone.api.GoogleAnalyticsApi.access$100(GoogleAnalyticsApi.java:59)
    	at org.mycontroller.standalone.api.GoogleAnalyticsApi$1.run(GoogleAnalyticsApi.java:373)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    2019-01-17 12:28:39,597 ERROR [mc-th-pool-2] [org.mycontroller.standalone.api.GoogleAnalyticsApi:375] Exception,
    java.lang.RuntimeException: Failed to execute, url:https://www.google-analytics.com/collect, error:Failed to execute, Request:POST https://www.google-analytics.com/collect HTTP/1.1, error:www.google-analytics.com: Name or service not known
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:255)
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:271)
    	at org.mycontroller.restclient.core.RestHttpClient.doPost(RestHttpClient.java:283)
    	at org.mycontroller.standalone.api.GoogleAnalyticsApi.access$100(GoogleAnalyticsApi.java:59)
    	at org.mycontroller.standalone.api.GoogleAnalyticsApi$1.run(GoogleAnalyticsApi.java:373)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    

    Just FYI - it's restarted now and working overnight.



  • @skywatch Thanks to reporting this log. Unfortunately I could not get any useful information for the issue faced 😞


Log in to reply
 

Suggested Topics

6
Online

451
Users

398
Topics

2.5k
Posts