ECONNRESET



  • Hello,
    I'm using serial gateway with nRF24L01 radio module.

    When i try to add a node i've this problème:
    9/25/2016, 2:19:49 PM { [Error: socket hang up] code: 'ECONNRESET' }

    I need help please.

    Full Log:

    Sun Sep 25 2016 14:21:02 GMT+0000 (UTC) - Jeedom url : http://:80/plugins/mySensors/core/api/jeeSensors.php?apikey=QFV3ymwOK3TJsSE5vWFxlBRcS5SfXk8FHuXWyuKhL6JUwny0&gateway=master, gwAddress : /dev/ttyUSB0
    DEPRECATION: Please use `require('serialport')` instead of `require('serialport').SerialPort`
    Sun Sep 25 2016 14:21:02 GMT+0000 (UTC) - server bound on 8019
    Sun Sep 25 2016 14:21:02 GMT+0000 (UTC) - connected to serial gateway at /dev/ttyUSB0
    Sun Sep 25 2016 14:21:02 GMT+0000 (UTC) : http://:80/plugins/mySensors/core/api/jeeSensors.php?apikey=QFV3ymwOK3TJsSE5vWFxlBRcS5SfXk8FHuXWyuKhL6JUwny0&gateway=master&messagetype=saveGateway&sender=0&sensor=0&type=0&payload=1
    9/25/2016, 2:21:02 PM { [Error: socket hang up] code: 'ECONNRESET' }
    Sun Sep 25 2016 14:21:03 GMT+0000 (UTC) : 0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
    Sun Sep 25 2016 14:21:03 GMT+0000 (UTC) : 0;255;3;0;9;TSM:INIT
    Sun Sep 25 2016 14:21:03 GMT+0000 (UTC) : 0;255;3;0;9;TSM:RADIO:OK
    Sun Sep 25 2016 14:21:03 GMT+0000 (UTC) : 0;255;3;0;9;TSM:GW MODE
    Sun Sep 25 2016 14:21:03 GMT+0000 (UTC) : 0;255;3;0;9;TSM:READY
    Sun Sep 25 2016 14:21:03 GMT+0000 (UTC) : 0;255;3;0;14;Gateway startup complete.
    Sun Sep 25 2016 14:21:03 GMT+0000 (UTC) : http://:80/plugins/mySensors/core/api/jeeSensors.php?apikey=QFV3ymwOK3TJsSE5vWFxlBRcS5SfXk8FHuXWyuKhL6JUwny0&gateway=master&messagetype=saveLibVersion&sender=0&sensor=255&type=18&payload=2.0.0
    Sun Sep 25 2016 14:21:03 GMT+0000 (UTC) : 0;255;0;0;18;2.0.0
    Sun Sep 25 2016 14:21:03 GMT+0000 (UTC) : 0;255;3;0;9;No registration required
    Sun Sep 25 2016 14:21:03 GMT+0000 (UTC) : 0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
    9/25/2016, 2:21:03 PM { [Error: socket hang up] code: 'ECONNRESET' }
    Sun Sep 25 2016 14:21:11 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:READ 20-20-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    Sun Sep 25 2016 14:21:11 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:BC
    Sun Sep 25 2016 14:21:11 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=20)
    Sun Sep 25 2016 14:21:11 GMT+0000 (UTC) : 0;255;3;0;9;TSP:CHKUPL:OK (FLDCTRL)
    Sun Sep 25 2016 14:21:11 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:GWL OK
    Sun Sep 25 2016 14:21:11 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:SEND 0-0-20-20 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:READ 20-20-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:PINGED (ID=20, hops=1)
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:SEND 0-0-20-20 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:READ 20-20-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;!TSP:MSG:SEND 0-0-20-20 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=fail:0100
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:READ 20-20-0 s=255,c=0,t=17,pt=0,l=5,sg=0:2.0.0
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : http://:80/plugins/mySensors/core/api/jeeSensors.php?apikey=QFV3ymwOK3TJsSE5vWFxlBRcS5SfXk8FHuXWyuKhL6JUwny0&gateway=master&messagetype=saveLibVersion&sender=20&sensor=255&type=17&payload=2.0.0
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 20;255;0;0;17;2.0.0
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:READ 20-20-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
    -> 20;255;3;0;6;M
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 20;255;3;0;6;0
    9/25/2016, 2:21:13 PM { [Error: socket hang up] code: 'ECONNRESET' }
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:SEND 0-0-20-20 s=255,c=3,t=6,pt=0,l=1,sg=0,ft=0,st=ok:M
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:READ 20-20-0 s=255,c=3,t=11,pt=0,l=9,sg=0:UV Sensor
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : http://:80/plugins/mySensors/core/api/jeeSensors.php?apikey=QFV3ymwOK3TJsSE5vWFxlBRcS5SfXk8FHuXWyuKhL6JUwny0&gateway=master&messagetype=saveSketchName&sender=20&sensor=255&type=11&payload=UV Sensor
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 20;255;3;0;11;UV Sensor
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:READ 20-20-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.2
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : http://:80/plugins/mySensors/core/api/jeeSensors.php?apikey=QFV3ymwOK3TJsSE5vWFxlBRcS5SfXk8FHuXWyuKhL6JUwny0&gateway=master&messagetype=saveSketchVersion&sender=20&sensor=255&type=12&payload=1.2
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 20;255;3;0;12;1.2
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:READ 20-20-0 s=0,c=0,t=11,pt=0,l=0,sg=0:
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : http://:80/plugins/mySensors/core/api/jeeSensors.php?apikey=QFV3ymwOK3TJsSE5vWFxlBRcS5SfXk8FHuXWyuKhL6JUwny0&gateway=master&messagetype=saveSensor&sender=20&sensor=0&type=11&payload=
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : http://:80/plugins/mySensors/core/api/jeeSensors.php?apikey=QFV3ymwOK3TJsSE5vWFxlBRcS5SfXk8FHuXWyuKhL6JUwny0&gateway=master&messagetype=saveLibVersion&sender=20&sensor=0&type=11&payload=
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 20;0;0;0;11;
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:READ 20-20-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:SEND 0-0-20-20 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=ok:1
    9/25/2016, 2:21:13 PM { [Error: socket hang up] code: 'ECONNRESET' }
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 0;255;3;0;9;TSP:MSG:READ 20-20-0 s=0,c=1,t=11,pt=7,l=5,sg=0:4.12
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : http://:80/plugins/mySensors/core/api/jeeSensors.php?apikey=QFV3ymwOK3TJsSE5vWFxlBRcS5SfXk8FHuXWyuKhL6JUwny0&gateway=master&messagetype=saveValue&sender=20&sensor=0&type=11&payload=4.12
    Sun Sep 25 2016 14:21:13 GMT+0000 (UTC) : 20;0;1;0;11;4.12
    9/25/2016, 2:21:13 PM { [Error: socket hang up] code: 'ECONNRESET' }
    9/25/2016, 2:21:13 PM { [Error: socket hang up] code: 'ECONNRESET' }
    9/25/2016, 2:21:13 PM { [Error: socket hang up] code: 'ECONNRESET' }
    9/25/2016, 2:21:13 PM { [Error: socket hang up] code: 'ECONNRESET' }
    


  • Resolve,
    Just need to configure network on Jeedom config.

    /config/network config on the web page and add ip for internal acces.

    ^^++


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.