Announcement

Collapse
No announcement yet.

Recurring error: Exception in DataReceivedHandler

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Recurring error: Exception in DataReceivedHandler

    Hello,

    I've been running the plugin for the past several months, mostly with success. I occasionally have trouble with the plugin not staying connected. It happens seemingly randomly and no combination of disconnect/reset/reboot seems to fix it. It does start working again, seemingly randomly, and then it stops after a period of time.

    Below is the debug log. I see the Exception in DataReceivedHandler : The operation has timed out in the log every 30 seconds, but it seems like the communication is still happening.

    Any ideas on what may be the underlying issue? Thanks in advance for any help.

    Code:
           Debug log For Homeseer 3 Arduino Plugin By Enigmatheatre (Greig Dempster)
    
                       Debugging Started at = 11/12/2017 ,13:20:11.230 
    ****************************************************************************************
    Arduino Plugin Version = 1.0.0.142
    
    *************************************Homeseer*******************************************
    Homeseer Version = 3.0.0.368
    Homeseer IP = 192.168.86.116
    OS Version = Microsoft Windows 10 Pro (6.2.9200.0)
    
    *************************************Plugins********************************************
    Plug-In List, Arduino Plugin: is currently enabled.
    Plug-In List, BLRadar: is currently enabled.
    Plug-In List, BLUPS: is currently enabled.
    Plug-In List, Device History: is currently enabled.
    Plug-In List, EasyTrigger: is currently enabled.
    Plug-In List, Harmony Hub: is currently enabled.
    Plug-In List, Nest: is currently enabled.
    Plug-In List, PHLocation: is currently enabled.
    Plug-In List, Pushover 3P: is currently enabled.
    Plug-In List, Restart: is currently enabled.
    Plug-In List, Sonos: is currently enabled.
    Plug-In List, Sonos:RINCON_000E5859386A01400 is currently enabled.
    Plug-In List, Sonos:RINCON_949F3E45FFA801400 is currently enabled.
    Plug-In List, Sonos:RINCON_949F3E66DB9001400 is currently enabled.
    Plug-In List, Sonos:RINCON_949F3E684FD201400 is currently enabled.
    Plug-In List, Sonos:RINCON_949F3E8D945801400 is currently enabled.
    Plug-In List, Sonos:RINCON_B8E9378AD2CC01400 is currently enabled.
    Plug-In List, weatherXML: is currently enabled.
    Plug-In List, Z-Wave: is currently enabled.
    
    **************************************Setup*********************************************
    Ref = 264	| Address = Arduino, Board:1		advancedcom = 0, autoconnect = 1, baud = 0, boardno = 1, boardtype = 0, comport = 7, debounce = 30, index = 1, ipaddress = 192.168.86.117, lcdaddress = 0x27, macaddress = 00:AA:BB:CC:DE:01, port = 8900, type = Board, 
    Ref = 265	| Address = Arduino, Board:1, Input:1		boardno = 1, index = 1, key = I, pin = 4, pinkey = I, type = Input, 
    Board: 1,	 Board index: 264, Comport = 7
    
    
    ***************************************LOG**********************************************
    11/12/2017 ,13:20:21.240 Sent to com port No:7  = 1 K           ,Keep Alive Command
    11/12/2017 ,13:20:21.337 Keeping Board: 1 Alive.
    11/12/2017 ,13:20:21.338 Data Received:Alive 1 
    11/12/2017 ,13:20:21.366 Timer 1 Reset Loc 2
    11/12/2017 ,13:20:21.521 Exception in DataReceivedHandler : The operation has timed out.
    11/12/2017 ,13:20:51.401 Sent to com port No:7  = 1 K           ,Keep Alive Command
    11/12/2017 ,13:20:51.416 Keeping Board: 1 Alive.
    11/12/2017 ,13:20:51.579 Data Received:Alive 1 
    11/12/2017 ,13:20:51.579 Timer 1 Reset Loc 2
    11/12/2017 ,13:20:51.764 Exception in DataReceivedHandler : The operation has timed out.
    11/12/2017 ,13:21:21.654 Sent to com port No:7  = 1 K           ,Keep Alive Command
    11/12/2017 ,13:21:21.670 Keeping Board: 1 Alive.
    11/12/2017 ,13:21:21.886 Data Received:Alive 1 
    11/12/2017 ,13:21:21.901 Timer 1 Reset Loc 2
    11/12/2017 ,13:21:22.086 Exception in DataReceivedHandler : The operation has timed out.
    11/12/2017 ,13:21:51.979 Sent to com port No:7  = 1 K           ,Keep Alive Command
    11/12/2017 ,13:21:51.994 Keeping Board: 1 Alive.
    11/12/2017 ,13:21:52.141 Data Received:Alive 1 
    11/12/2017 ,13:21:52.141 Timer 1 Reset Loc 2
    11/12/2017 ,13:21:52.342 Exception in DataReceivedHandler : The operation has timed out.
    11/12/2017 ,13:22:02.751 PED Get index from Device Ref 264 returning = 1
    11/12/2017 ,13:22:03.141 Board: 1 Board index: 264, Comport = 7
    11/12/2017 ,13:22:03.155 1 Boards found.
    11/12/2017 ,13:22:03.167 Calling BuildBoardTab
    11/12/2017 ,13:22:03.179 FirstBoard= 1
    11/12/2017 ,13:22:03.205 PED Get BoardType from Device Ref 264 returning = 0
    11/12/2017 ,13:22:03.220 PED Get Comport from Device Ref 264 returning = 7
    11/12/2017 ,13:22:03.434 PED Get BoardType from Device Ref 264 returning = 0
    11/12/2017 ,13:22:03.449 PED Get AutoConnect from Device Ref 264 returning = 1
    11/12/2017 ,13:22:03.449 Calling BuildBoardSetupTab With Param Board = 1, NoPopulate = True
    11/12/2017 ,13:22:03.465 Running findUsedPins with PassedBoardNo = 1
    11/12/2017 ,13:22:03.842 PED Get Comport from Device Ref 264 returning = 7
    11/12/2017 ,13:22:03.929 PED Get Debounce from Device Ref 264 returning = 30
    11/12/2017 ,13:22:03.979 PED Get LCDAddress from Device Ref 264 returning = 0x27
    11/12/2017 ,13:22:04.006 Lcd ref = -1
    11/12/2017 ,13:22:04.031 Exit BuildBoardSetupTab with Param Board = 1
    11/12/2017 ,13:22:06.961 postBackProc Debug=unchecked&id=Debug
    11/12/2017 ,13:22:06.977 Debug logging Disabled
Working...
X