lolautruche / SurveillanceStationDomoticz

Synology SurveillanceStation plugin for Domoticz
MIT License
4 stars 1 forks source link

Error: Transport is not connected, write directive to 'SurvStationConn' ignored. #5

Open biwizit opened 4 years ago

biwizit commented 4 years ago

Hello, Plugin seems to work fine (thank you !) even if I have an error message on a regular basis (several times a day) : Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored. As Domoticz is sending me an e-mail for each error, I now receive a lot of them :-) Any idea about this issue ? For info : Raspberry 3B+ / Buster / Domoticz 2020.1 (and 2020.2 since tonight) Thank you in advance. Regards.

lolautruche commented 4 years ago

Hello @biwizit , is the line mentioned in the error message?

lolautruche commented 4 years ago

Can you activate debug mode and give me the additional messages please?

biwizit commented 4 years ago

Hello @lolautruche , no line mentioned. I just activated debug mode, I'll let you know. Thank you in advance. Regards.

biwizit commented 4 years ago

For instance, today :

2020-04-27 01:00:40.469 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 03:30:10.069 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 05:00:58.925 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 06:00:23.274 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 08:00:50.599 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 08:35:57.471 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 10:00:55.293 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 11:00:14.718 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 12:00:34.881 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 15:00:16.726 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 16:00:31.669 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 17:37:34.240 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 18:15:24.328 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 19:11:05.367 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 21:00:23.489 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 21:31:10.191 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
biwizit commented 4 years ago

Log for last one :

2020-04-27 21:30:01.230 (Surveillance Station) 2f 31 2e 31 0d 0a 55 73 65 72 2d 41 67 65 6e 74 3a 20 44 6f /1.1..User-Agent:.Do
2020-04-27 21:30:01.230 (Surveillance Station) 6d 6f 74 69 63 7a 2f 31 2e 30 0d 0a 48 6f 73 74 3a 20 31 39 moticz/1.0..Host:.19
2020-04-27 21:30:01.230 (Surveillance Station) 32 2e 31 36 38 2e 31 30 2e 32 30 3a 35 30 30 31 0d 0a 0d 0a 2.168.10.20:5001....
2020-04-27 21:30:18.394 (Surveillance Station) Pushing 'onHeartbeatCallback' on to queue
2020-04-27 21:30:18.397 (Surveillance Station) Processing 'onHeartbeatCallback' message
2020-04-27 21:30:18.397 (Surveillance Station) Calling message handler 'onHeartbeat'.
2020-04-27 21:30:28.396 (Surveillance Station) Pushing 'onHeartbeatCallback' on to queue
2020-04-27 21:30:28.425 (Surveillance Station) Processing 'onHeartbeatCallback' message
2020-04-27 21:30:28.425 (Surveillance Station) Calling message handler 'onHeartbeat'.
2020-04-27 21:30:38.398 (Surveillance Station) Pushing 'onHeartbeatCallback' on to queue
2020-04-27 21:30:38.446 (Surveillance Station) Processing 'onHeartbeatCallback' message
2020-04-27 21:30:38.446 (Surveillance Station) Calling message handler 'onHeartbeat'.
2020-04-27 21:30:48.400 (Surveillance Station) Pushing 'onHeartbeatCallback' on to queue
2020-04-27 21:30:48.429 (Surveillance Station) Processing 'onHeartbeatCallback' message
2020-04-27 21:30:48.429 (Surveillance Station) Calling message handler 'onHeartbeat'.
2020-04-27 21:30:58.402 (Surveillance Station) Pushing 'onHeartbeatCallback' on to queue
2020-04-27 21:30:58.451 (Surveillance Station) Processing 'onHeartbeatCallback' message
2020-04-27 21:30:58.451 (Surveillance Station) Calling message handler 'onHeartbeat'.
2020-04-27 21:31:08.182 (Surveillance Station) Queued asynchronous secure read aborted.
2020-04-27 21:31:08.183 (Surveillance Station) Pushing 'DisconnectedEvent' on to queue
2020-04-27 21:31:08.183 (Surveillance Station) Processing 'DisconnectedEvent' message
2020-04-27 21:31:08.183 (Surveillance Station) Disconnect event received for '192.168.10.20:5001'.
2020-04-27 21:31:08.185 (Surveillance Station) Pushing 'onDisconnectCallback' on to queue
2020-04-27 21:31:08.185 (Surveillance Station) Processing 'onDisconnectCallback' message
2020-04-27 21:31:08.185 (Surveillance Station) Calling message handler 'onDisconnect'.
2020-04-27 21:31:08.185 (Surveillance Station) SurvStationConn was disconnected
2020-04-27 21:31:10.183 (Surveillance Station) Pushing 'onHeartbeatCallback' on to queue
2020-04-27 21:31:10.189 (Surveillance Station) Processing 'onHeartbeatCallback' message
2020-04-27 21:31:10.189 (Surveillance Station) Calling message handler 'onHeartbeat'.
2020-04-27 21:31:10.190 (Surveillance Station) Pushing 'ConnectDirective' on to queue
2020-04-27 21:31:10.190 (Surveillance Station) /webapi/entry.cgi?api=SYNO.SurveillanceStation.HomeMode&method=GetInfo&version=1&_sid="None"
2020-04-27 21:31:10.190 (Surveillance Station) Pushing 'WriteDirective' on to queue
2020-04-27 21:31:10.190 (Surveillance Station) Processing 'ConnectDirective' message
2020-04-27 21:31:10.190 (Surveillance Station) Transport set to: 'TCP/IP', 192.168.10.20:5001.
2020-04-27 21:31:10.191 (Surveillance Station) Connect directive received, action initiated successfully.
2020-04-27 21:31:10.191 (Surveillance Station) Processing 'WriteDirective' message
2020-04-27 21:31:10.271 (Surveillance Station) Pushing 'onConnectCallback' on to queue
2020-04-27 21:31:10.291 (Surveillance Station) Processing 'onConnectCallback' message
2020-04-27 21:31:10.291 (Surveillance Station) Calling message handler 'onConnect'.
2020-04-27 21:31:10.291 (Surveillance Station) Status: 0
2020-04-27 21:31:10.292 (Surveillance Station) Success
2020-04-27 21:31:10.292 (Surveillance Station) /webapi/query.cgi.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.API.Auth,SYNO.SurveillanceStation.HomeMode
2020-04-27 21:31:10.292 (Surveillance Station) Pushing 'WriteDirective' on to queue
2020-04-27 21:31:10.292 (Surveillance Station) Processing 'WriteDirective' message
2020-04-27 21:31:10.292 (Surveillance Station) Sending 185 bytes of data
2020-04-27 21:31:10.292 (Surveillance Station) 47 45 54 20 2f 77 65 62 61 70 69 2f 71 75 65 72 79 2e 63 67 GET./webapi/query.cg
2020-04-27 21:31:10.292 (Surveillance Station) 69 2e 63 67 69 3f 61 70 69 3d 53 59 4e 4f 2e 41 50 49 2e 49 i.cgi?api=SYNO.API.I
2020-04-27 21:31:10.292 (Surveillance Station) 6e 66 6f 26 6d 65 74 68 6f 64 3d 51 75 65 72 79 26 76 65 72 nfo&method=Query&ver
2020-04-27 21:31:10.292 (Surveillance Station) 73 69 6f 6e 3d 31 26 71 75 65 72 79 3d 53 59 4e 4f 2e 41 50 sion=1&query=SYNO.AP
2020-04-27 21:31:10.293 (Surveillance Station) 49 2e 41 75 74 68 2c 53 59 4e 4f 2e 53 75 72 76 65 69 6c 6c I.Auth,SYNO.Surveill
2020-04-27 21:31:10.293 (Surveillance Station) 61 6e 63 65 53 74 61 74 69 6f 6e 2e 48 6f 6d 65 4d 6f 64 65 anceStation.HomeMode
2020-04-27 21:31:10.293 (Surveillance Station) 20 48 54 54 50 2f 31 2e 31 0d 0a 55 73 65 72 2d 41 67 65 6e .HTTP/1.1..User-Agen
2020-04-27 21:31:10.293 (Surveillance Station) 74 3a 20 44 6f 6d 6f 74 69 63 7a 2f 31 2e 30 0d 0a 48 6f 73 t:.Domoticz/1.0..Hos
2020-04-27 21:31:10.293 (Surveillance Station) 74 3a 20 31 39 32 2e 31 36 38 2e 31 30 2e 32 30 3a 35 30 30 t:.192.168.10.20:500
2020-04-27 21:31:10.293 (Surveillance Station) 31 0d 0a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 1....
2020-04-27 21:31:10.191 Error: (Surveillance Station) Transport is not connected, write directive to 'SurvStationConn' ignored.
2020-04-27 21:31:11.864 (Surveillance Station) Pushing 'ReadEvent' on to queue
2020-04-27 21:31:11.905 (Surveillance Station) Processing 'ReadEvent' message
2020-04-27 21:31:11.905 (Surveillance Station) Received 563 bytes of data
2020-04-27 21:31:11.905 (Surveillance Station) 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 53 65 72 HTTP/1.1.200.OK..Ser
2020-04-27 21:31:11.905 (Surveillance Station) 76 65 72 3a 20 6e 67 69 6e 78 0d 0a 44 61 74 65 3a 20 4d 6f ver:.nginx..Date:.Mo
2020-04-27 21:31:11.905 (Surveillance Station) 6e 2c 20 32 37 20 41 70 72 20 32 30 32 30 20 31 39 3a 33 31 n,.27.Apr.2020.19:31
2020-04-27 21:31:11.905 (Surveillance Station) 3a 31 31 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 :11.GMT..Content-Typ
2020-04-27 21:31:11.905 (Surveillance Station) 65 3a 20 74 65 78 74 2f 70 6c 61 69 6e 3b 20 63 68 61 72 73 e:.text/plain;.chars
2020-04-27 21:31:11.905 (Surveillance Station) 65 74 3d 22 55 54 46 2d 38 22 0d 0a 54 72 61 6e 73 66 65 72 et="UTF-8"..Transfer
2020-04-27 21:31:11.905 (Surveillance Station) 2d 45 6e 63 6f 64 69 6e 67 3a 20 63 68 75 6e 6b 65 64 0d 0a -Encoding:.chunked..
2020-04-27 21:31:11.905 (Surveillance Station) 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61 6c 69 Connection:.keep-ali
2020-04-27 21:31:11.906 (Surveillance Station) 76 65 0d 0a 4b 65 65 70 2d 41 6c 69 76 65 3a 20 74 69 6d 65 ve..Keep-Alive:.time
2020-04-27 21:31:11.906 (Surveillance Station) 6f 75 74 3d 32 30 0d 0a 56 61 72 79 3a 20 41 63 63 65 70 74 out=20..Vary:.Accept
2020-04-27 21:31:11.906 (Surveillance Station) 2d 45 6e 63 6f 64 69 6e 67 0d 0a 50 33 50 3a 20 43 50 3d 22 -Encoding..P3P:.CP="
2020-04-27 21:31:11.906 (Surveillance Station) 49 44 43 20 44 53 50 20 43 4f 52 20 41 44 4d 20 44 45 56 69 IDC.DSP.COR.ADM.DEVi
2020-04-27 21:31:11.906 (Surveillance Station) 20 54 41 49 69 20 50 53 41 20 50 53 44 20 49 56 41 69 20 49 .TAIi.PSA.PSD.IVAi.I
2020-04-27 21:31:11.906 (Surveillance Station) 56 44 69 20 43 4f 4e 69 20 48 49 53 20 4f 55 52 20 49 4e 44 VDi.CONi.HIS.OUR.IND
2020-04-27 21:31:11.906 (Surveillance Station) 20 43 4e 54 22 0d 0a 58 2d 58 53 53 2d 50 72 6f 74 65 63 74 .CNT"..X-XSS-Protect
2020-04-27 21:31:11.906 (Surveillance Station) 69 6f 6e 3a 20 31 3b 20 6d 6f 64 65 3d 62 6c 6f 63 6b 0d 0a ion:.1;.mode=block..
2020-04-27 21:31:11.906 (Surveillance Station) 58 2d 43 6f 6e 74 65 6e 74 2d 54 79 70 65 2d 4f 70 74 69 6f X-Content-Type-Optio
2020-04-27 21:31:11.906 (Surveillance Station) 6e 73 3a 20 6e 6f 73 6e 69 66 66 0d 0a 0d 0a 63 61 0d 0a 7b ns:.nosniff....ca..{
2020-04-27 21:31:11.906 (Surveillance Station) 22 64 61 74 61 22 3a 7b 22 53 59 4e 4f 2e 41 50 49 2e 41 75 "data":{"SYNO.API.Au
2020-04-27 21:31:11.906 (Surveillance Station) 74 68 22 3a 7b 22 6d 61 78 56 65 72 73 69 6f 6e 22 3a 36 2c th":{"maxVersion":6,
2020-04-27 21:31:11.906 (Surveillance Station) 22 6d 69 6e 56 65 72 73 69 6f 6e 22 3a 31 2c 22 70 61 74 68 "minVersion":1,"path
2020-04-27 21:31:11.906 (Surveillance Station) 22 3a 22 61 75 74 68 2e 63 67 69 22 7d 2c 22 53 59 4e 4f 2e ":"auth.cgi"},"SYNO.
2020-04-27 21:31:11.906 (Surveillance Station) 53 75 72 76 65 69 6c 6c 61 6e 63 65 53 74 61 74 69 6f 6e 2e SurveillanceStation.
2020-04-27 21:31:11.906 (Surveillance Station) 48 6f 6d 65 4d 6f 64 65 22 3a 7b 22 6d 61 78 56 65 72 73 69 HomeMode":{"maxVersi
2020-04-27 21:31:11.906 (Surveillance Station) 6f 6e 22 3a 31 2c 22 6d 69 6e 56 65 72 73 69 6f 6e 22 3a 31 on":1,"minVersion":1
2020-04-27 21:31:11.906 (Surveillance Station) 2c 22 70 61 74 68 22 3a 22 65 6e 74 72 79 2e 63 67 69 22 2c ,"path":"entry.cgi",
2020-04-27 21:31:11.906 (Surveillance Station) 22 72 65 71 75 65 73 74 46 6f 72 6d 61 74 22 3a 22 4a 53 4f "requestFormat":"JSO
2020-04-27 21:31:11.906 (Surveillance Station) 4e 22 7d 7d 2c 22 73 75 63 63 65 73 73 22 3a 74 72 75 65 7d N"}},"success":true}
2020-04-27 21:31:11.906 (Surveillance Station) 0a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ...
2020-04-27 21:31:11.907 (Surveillance Station) Processing 'ReadEvent' message
2020-04-27 21:31:11.907 (Surveillance Station) Received 5 bytes of data
2020-04-27 21:31:11.907 (Surveillance Station) 30 0d 0a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 0....
2020-04-27 21:31:11.907 (Surveillance Station) Pushing 'onMessageCallback' on to queue
2020-04-27 21:31:11.907 (Surveillance Station) Processing 'onMessageCallback' message
2020-04-27 21:31:11.907 (Surveillance Station) Calling message handler 'onMessage'.
2020-04-27 21:31:11.907 (Surveillance Station) {"data":{"SYNO.API.Auth":{"maxVersion":6,"minVersion":1,"path":"auth.cgi"},"SYNO.SurveillanceStation.HomeMode":{"maxVersion":1,"minVersion":1,"path":"entry.cgi","requestFormat":"JSON"}},"success":true}
2020-04-27 21:31:11.908 (Surveillance Station) /webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=2&account=EuFyCam&passwd=D0m0ticz&session=SurveillanceStation&format=sid
2020-04-27 21:31:11.908 (Surveillance Station) Pushing 'WriteDirective' on to queue
2020-04-27 21:31:11.908 (Surveillance Station) Processing 'WriteDirective' message
2020-04-27 21:31:11.908 (Surveillance Station) Sending 197 bytes of data
2020-04-27 21:31:11.908 (Surveillance Station) 47 45 54 20 2f 77 65 62 61 70 69 2f 61 75 74 68 2e 63 67 69 GET./webapi/auth.cgi
2020-04-27 21:31:11.908 (Surveillance Station) 3f 61 70 69 3d 53 59 4e 4f 2e 41 50 49 2e 41 75 74 68 26 6d ?api=SYNO.API.Auth&m
2020-04-27 21:31:11.908 (Surveillance Station) 65 74 68 6f 64 3d 4c 6f 67 69 6e 26 76 65 72 73 69 6f 6e 3d ethod=Login&version=
2020-04-27 21:31:11.908 (Surveillance Station) 32 26 61 63 63 6f 75 6e 74 3d 45 75 46 79 43 61 6d 26 70 61 2&account=EuFyCam&pa
2020-04-27 21:31:11.908 (Surveillance Station) 73 73 77 64 3d 44 30 6d 30 74 69 63 7a 26 73 65 73 73 69 6f sswd=D0m0ticz&sessio
2020-04-27 21:31:11.908 (Surveillance Station) 6e 3d 53 75 72 76 65 69 6c 6c 61 6e 63 65 53 74 61 74 69 6f n=SurveillanceStatio
2020-04-27 21:31:11.908 (Surveillance Station) 6e 26 66 6f 72 6d 61 74 3d 73 69 64 20 48 54 54 50 2f 31 2e n&format=sid.HTTP/1.
2020-04-27 21:31:11.908 (Surveillance Station) 31 0d 0a 55 73 65 72 2d 41 67 65 6e 74 3a 20 44 6f 6d 6f 74 1..User-Agent:.Domot
2020-04-27 21:31:11.908 (Surveillance Station) 69 63 7a 2f 31 2e 30 0d 0a 48 6f 73 74 3a 20 31 39 32 2e 31 icz/1.0..Host:.192.1
2020-04-27 21:31:11.908 (Surveillance Station) 36 38 2e 31 30 2e 32 30 3a 35 30 30 31 0d 0a 0d 0a .. .. .. 68.10.20:5001....
2020-04-27 21:31:13.119 (Surveillance Station) Pushing 'ReadEvent' on to queue
2020-04-27 21:31:13.120 (Surveillance Station) Pushing 'ReadEvent' on to queue
2020-04-27 21:31:13.167 (Surveillance Station) Processing 'ReadEvent' message
2020-04-27 21:31:13.167 (Surveillance Station) Received 663 bytes of data
2020-04-27 21:31:13.167 (Surveillance Station) 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 53 65 72 HTTP/1.1.200.OK..Ser
2020-04-27 21:31:13.168 (Surveillance Station) 76 65 72 3a 20 6e 67 69 6e 78 0d 0a 44 61 74 65 3a 20 4d 6f ver:.nginx..Date:.Mo
2020-04-27 21:31:13.168 (Surveillance Station) 6e 2c 20 32 37 20 41 70 72 20 32 30 32 30 20 31 39 3a 33 31 n,.27.Apr.2020.19:31
2020-04-27 21:31:13.168 (Surveillance Station) 3a 31 33 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 :13.GMT..Content-Typ
2020-04-27 21:31:13.168 (Surveillance Station) 65 3a 20 74 65 78 74 2f 70 6c 61 69 6e 3b 20 63 68 61 72 73 e:.text/plain;.chars
2020-04-27 21:31:13.168 (Surveillance Station) 65 74 3d 22 55 54 46 2d 38 22 0d 0a 54 72 61 6e 73 66 65 72 et="UTF-8"..Transfer
2020-04-27 21:31:13.168 (Surveillance Station) 2d 45 6e 63 6f 64 69 6e 67 3a 20 63 68 75 6e 6b 65 64 0d 0a -Encoding:.chunked..
2020-04-27 21:31:13.168 (Surveillance Station) 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61 6c 69 Connection:.keep-ali
2020-04-27 21:31:13.168 (Surveillance Station) 76 65 0d 0a 4b 65 65 70 2d 41 6c 69 76 65 3a 20 74 69 6d 65 ve..Keep-Alive:.time
2020-04-27 21:31:13.168 (Surveillance Station) 6f 75 74 3d 32 30 0d 0a 56 61 72 79 3a 20 41 63 63 65 70 74 out=20..Vary:.Accept
2020-04-27 21:31:13.168 (Surveillance Station) 2d 45 6e 63 6f 64 69 6e 67 0d 0a 50 33 50 3a 20 43 50 3d 22 -Encoding..P3P:.CP="
2020-04-27 21:31:13.169 (Surveillance Station) 49 44 43 20 44 53 50 20 43 4f 52 20 41 44 4d 20 44 45 56 69 IDC.DSP.COR.ADM.DEVi
2020-04-27 21:31:13.169 (Surveillance Station) 20 54 41 49 69 20 50 53 41 20 50 53 44 20 49 56 41 69 20 49 .TAIi.PSA.PSD.IVAi.I
2020-04-27 21:31:13.169 (Surveillance Station) 56 44 69 20 43 4f 4e 69 20 48 49 53 20 4f 55 52 20 49 4e 44 VDi.CONi.HIS.OUR.IND
2020-04-27 21:31:13.169 (Surveillance Station) 20 43 4e 54 22 0d 0a 58 2d 58 53 53 2d 50 72 6f 74 65 63 74 .CNT"..X-XSS-Protect
2020-04-27 21:31:13.169 (Surveillance Station) 69 6f 6e 3a 20 31 3b 20 6d 6f 64 65 3d 62 6c 6f 63 6b 0d 0a ion:.1;.mode=block..
2020-04-27 21:31:13.169 (Surveillance Station) 58 2d 43 6f 6e 74 65 6e 74 2d 54 79 70 65 2d 4f 70 74 69 6f X-Content-Type-Optio
2020-04-27 21:31:13.169 (Surveillance Station) 6e 73 3a 20 6e 6f 73 6e 69 66 66 0d 0a 53 65 74 2d 43 6f 6f ns:.nosniff..Set-Coo
2020-04-27 21:31:13.169 (Surveillance Station) 6b 69 65 3a 20 69 64 3d 63 74 78 53 48 44 6b 76 36 38 43 6c kie:.id=ctxSHDkv68Cl
2020-04-27 21:31:13.169 (Surveillance Station) 55 43 42 4c 31 4e 30 33 32 38 39 3b 65 78 70 69 72 65 73 3d UCBL1N03289;expires=
2020-04-27 21:31:13.169 (Surveillance Station) 4d 6f 6e 2c 20 30 34 2d 4d 61 79 2d 32 30 32 30 20 31 39 3a Mon,.04-May-2020.19:
2020-04-27 21:31:13.169 (Surveillance Station) 33 31 3a 31 33 20 47 4d 54 3b 70 61 74 68 3d 2f 0d 0a 53 65 31:13.GMT;path=/..Se
2020-04-27 21:31:13.170 (Surveillance Station) 74 2d 43 6f 6f 6b 69 65 3a 20 73 6d 69 64 3d 54 47 49 44 34 t-Cookie:.smid=TGID4
2020-04-27 21:31:13.170 (Surveillance Station) 37 42 51 44 55 67 4d 59 72 4a 4d 49 58 32 4a 37 43 36 35 51 7BQDUgMYrJMIX2J7C65Q
2020-04-27 21:31:13.170 (Surveillance Station) 6e 4f 74 5a 7a 2d 62 42 4f 68 4d 4c 43 6e 34 67 43 6e 56 76 nOtZz-bBOhMLCn4gCnVv
2020-04-27 21:31:13.170 (Surveillance Station) 2d 30 54 58 66 67 35 69 6d 42 58 42 36 42 75 6f 79 47 6b 78 -0TXfg5imBXB6BuoyGkx
2020-04-27 21:31:13.170 (Surveillance Station) 59 55 4a 62 47 79 5f 79 5a 4f 6b 72 79 4f 43 37 61 79 52 34 YUJbGy_yZOkryOC7ayR4
2020-04-27 21:31:13.170 (Surveillance Station) 77 3b 65 78 70 69 72 65 73 3d 54 75 65 2c 20 32 37 2d 41 70 w;expires=Tue,.27-Ap
2020-04-27 21:31:13.170 (Surveillance Station) 72 2d 32 30 32 31 20 31 39 3a 33 31 3a 31 33 20 47 4d 54 3b r-2021.19:31:13.GMT;
2020-04-27 21:31:13.170 (Surveillance Station) 70 61 74 68 3d 2f 3b 48 74 74 70 4f 6e 6c 79 0d 0a 0d 0a 33 path=/;HttpOnly....3
2020-04-27 21:31:13.170 (Surveillance Station) 61 0d 0a 7b 22 64 61 74 61 22 3a 7b 22 73 69 64 22 3a 22 63 a..{"data":{"sid":"c
2020-04-27 21:31:13.170 (Surveillance Station) 74 78 53 48 44 6b 76 36 38 43 6c 55 43 42 4c 31 4e 30 33 32 txSHDkv68ClUCBL1N032
2020-04-27 21:31:13.170 (Surveillance Station) 38 39 22 7d 2c 22 73 75 63 63 65 73 73 22 3a 74 72 75 65 7d 89"},"success":true}
2020-04-27 21:31:13.171 (Surveillance Station) 0a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ...
2020-04-27 21:31:13.171 (Surveillance Station) Processing 'ReadEvent' message
2020-04-27 21:31:13.171 (Surveillance Station) Received 5 bytes of data
2020-04-27 21:31:13.171 (Surveillance Station) 30 0d 0a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 0....
2020-04-27 21:31:13.172 (Surveillance Station) Pushing 'onMessageCallback' on to queue
2020-04-27 21:31:13.172 (Surveillance Station) Processing 'onMessageCallback' message
2020-04-27 21:31:13.172 (Surveillance Station) Calling message handler 'onMessage'.
2020-04-27 21:31:13.172 (Surveillance Station) {"data":{"sid":"ctxSHDkv68ClUCBL1N03289"},"success":true}
2020-04-27 21:31:13.172 (Surveillance Station) Authenticated with session ID ctxSHDkv68ClUCBL1N03289
2020-04-27 21:31:20.186 (Surveillance Station) Pushing 'onHeartbeatCallback' on to queue
2020-04-27 21:31:20.190 (Surveillance Station) Processing 'onHeartbeatCallback' message
2020-04-27 21:31:20.190 (Surveillance Station) Calling message handler 'onHeartbeat'.
biwizit commented 4 years ago

Hope it will help. Thanks.

lolautruche commented 4 years ago

Hello,

I can see the following in your log:

2020-04-27 21:31:10.271 (Surveillance Station) Pushing 'onConnectCallback' on to queue
2020-04-27 21:31:10.291 (Surveillance Station) Processing 'onConnectCallback' message
2020-04-27 21:31:10.291 (Surveillance Station) Calling message handler 'onConnect'.
2020-04-27 21:31:10.291 (Surveillance Station) Status: 0
2020-04-27 21:31:10.292 (Surveillance Station) Success
2020-04-27 21:31:10.292 (Surveillance Station) /webapi/query.cgi.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.API.Auth,SYNO.SurveillanceStation.HomeMode
2020-04-27 21:31:10.292 (Surveillance Station) Pushing 'WriteDirective' on to queue
2020-04-27 21:31:10.292 (Surveillance Station) Processing 'WriteDirective' message
2020-04-27 21:31:10.292 (Surveillance Station) Sending 185 bytes of data

So here the plugin tries to reconnect to the SurveillanceStation API (Domoticz makes it disconnect from time to time), and just after tries to call the info API.

However, 1 second later Domoticz receives the response from SurveillanceStation:

2020-04-27 21:31:11.907 (Surveillance Station) Pushing 'onMessageCallback' on to queue
2020-04-27 21:31:11.907 (Surveillance Station) Processing 'onMessageCallback' message
2020-04-27 21:31:11.907 (Surveillance Station) Calling message handler 'onMessage'.
2020-04-27 21:31:11.907 (Surveillance Station) {"data":{"SYNO.API.Auth":{"maxVersion":6,"minVersion":1,"path":"auth.cgi"},"SYNO.SurveillanceStation.HomeMode":{"maxVersion":1,"minVersion":1,"path":"entry.cgi","requestFormat":"JSON"}},"success":true}
2020-04-27 21:31:11.908 (Surveillance Station) /webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=2&account=EuFyCam&passwd=D0m0ticz&session=SurveillanceStation&format=sid

So I'm wondering if it's not some kind of race conditions with DisconnectedEvent (calling onDisconnect callback, and the heart beat call...

xavierlp commented 3 years ago

I've got the same issue.

All works fine but I steal have this "warning" message. Anything to do to avoid it ?

Thanks