PepperDash / epi-videoCodec-ciscoExtended

Port and extension of the Essentials-Included CiscoSparkCodec EssentialsDevice
MIT License
0 stars 1 forks source link

[BUG]-SSH Stream Write Fail #29

Open jonnyarndt opened 1 year ago

jonnyarndt commented 1 year ago

Describe the bug Crestron CP3N processor logs show `Stream write failed. Disconnected, closing' entries. Upon Cisco endpoint disconnection, end-user control becomes INOP. It appears that Crestron is no longer communicating with the endpoint even though the logs reflects 'connected' after the remote disconnecting.

Stacktrace

Include a stack trace of the exception if possible.

Notice: LogicEngine.exe [App 1] # 2023-07-24 08:13:22  # USER SPECIFIED: System powering off, please wait...
Error: SimplSharpPro.exe [App 5] # 2023-07-24 14:58:05  # App 5:[g01-77d-vconf1-ssh-ssh] Disconnected by remote
Error: SimplSharpPro.exe [App 5] # 2023-07-24 14:58:36  # App 5:[g01-77d-vconf1-ssh-ssh] 'g01-77d-vconf1-ssh-ssh' Connection failure: Cannot reach host '17.64.9.63' on port 22, (System.Net.Sockets.SocketException)
Notice: SimplSharpPro.exe [App 5] # 2023-07-24 14:59:51  # App 5:[g01-77d-vconf1-ssh-ssh] Connected
Error: SimplSharpPro.exe [App 5] # 2023-07-24 14:59:59  # App 5:[g01-77d-vconf1-ssh-ssh] Stream write failed. Disconnected, closing
Error: SimplSharpPro.exe [App 5] # 2023-07-24 15:00:06  # App 5:[g01-77d-vconf1-ssh-ssh] Stream write failed. Disconnected, closing
Error: SimplSharpPro.exe [App 5] # 2023-07-24 15:00:14  # App 5:[g01-77d-vconf1-ssh-ssh] Stream write failed. Disconnected, closing
Error: SimplSharpPro.exe [App 5] # 2023-07-24 15:00:29  # App 5:[g01-77d-vconf1-ssh-ssh] Stream write failed. Disconnected, closing
Error: SimplSharpPro.exe [App 5] # 2023-07-24 15:00:44  # App 5:[g01-77d-vconf1-ssh-ssh] Stream write failed. Disconnected, closing

To Reproduce Steps 'I believe' will reproduce the behavior:

  1. Create PepperDash Essentials SSH connection to Cisco endpoint.
  2. Connect to Cisco endpoint.
  3. Reboot Cisco endpoint.
  4. Review logs for stream write fails.

Expected behavior I would expect a reboot, power cycle, or temporary loss of network connectivity to the Cisco endpoint automatically recover no matter what the specific scenario of communication loss is (power, network, or other).

Screenshots Screenshot 2023-08-11 at 10 12 53 AM

Additional context

CP3N>reportversions
Loaded Assemblies:
Crestron.SimplSharpPro.DeviceSupport.dll Version:
Crestron.SimplSharpPro.DM.dll Version:
Crestron.SimplSharpPro.EthernetCommunications.dll Version:
Crestron.SimplSharpPro.Fusion.dll Version:
Crestron.SimplSharpPro.Gateways.dll Version:
Crestron.SimplSharpPro.GeneralIO.dll Version:
Crestron.SimplSharpPro.Lighting.dll Version:
Crestron.SimplSharpPro.Remotes.dll Version:
Crestron.SimplSharpPro.Shades.dll Version:
Crestron.SimplSharpPro.ThreeSeriesCards.dll Version:
Crestron.SimplSharpPro.UI.dll Version:
Essentials Devices Common.dll Version: 1.13.4
Newtonsoft.Json.Compact.dll Version:
PepperDashEssentials.dll Version: 1.13.4
PepperDash_Core.dll Version: 1.2.1
PepperDash_Essentials_Core.dll Version: 1.13.4
PepperDash_Essentials_DM.dll Version: 1.13.4
SimplSharpCustomAttributesInterface.dll Version:
SimplSharpCWSHelperInterface.dll Version:
SimplSharpHelperInterface.dll Version:
SimplSharpNewtonsoft.dll Version:
SimplSharpReflectionInterface.dll Version:
SimplSharpSQLHelperInterface.dll Version:
SimplSharpTimerEventInterface.dll Version:
Tesira-DSP-EPI Version: 2.0.7-alpha-17
IPTableEditorPlugin Version: 1.0.2
epi-videoCodec-ciscoExtended Version: 1.2.4.27937
PanasonicCameraEpi Version: 1.1.7-beta-9

Cisco Endpoint Firmware: RoomOS 11.6.1.5 1058dcbc695