Commit Graph

54 Commits

Author SHA1 Message Date
Andrew Welker
70b09fb6b8 fix: add null check for SSH reconnect timer 2023-04-07 10:13:03 -06:00
Andrew Welker
9b56db1cb8 fix: remove isConnecting reference 2023-03-01 09:35:31 -07:00
Andrew Welker
b804bf4fb5 Merge branch 'main' into release/1.2.0 2023-02-25 10:51:16 -07:00
Andrew Welker
2a93f3bdb4 fix: remove leftover merge issue 2023-01-19 11:47:52 -07:00
Andrew Welker
38e2222de8 Merge branch 'development' into hotfix/update-debug-file-path-for-vc4 2023-01-19 11:28:51 -07:00
Andrew Welker
8c81517b98 Revert "Feature/ssh dispose" 2022-12-12 09:33:13 -07:00
Neil Dorin
51fd947ae6 Merge branch 'main' into hotfix/ssh-logging-reduction 2022-11-14 09:46:01 -07:00
Jason Alborough
f60683c2a7 Merge branch 'main' into feature/ssh-dispose 2022-10-07 11:14:31 -04:00
Jason Alborough
f7317832a1 fix: adds ssh dispose for the client 2022-10-07 11:11:23 -04:00
Andrew Welker
30bd0438c1 Merge branch 'main' into hotfix/ssh-logging-reduction 2022-09-08 09:56:55 -06:00
Jason T Alborough
dd0a9285a5 Merge branch 'development' into hotfix/ssh-tcp-reconnect-fix
# Conflicts:
#	Pepperdash Core/Pepperdash Core/Comm/GenericSshClient.cs
#	Pepperdash Core/Pepperdash Core/Comm/GenericTcpIpClient.cs
2022-09-08 11:27:29 -04:00
Alex Johnson
9326703454 Changes lock to CCriticalSection 2022-09-07 11:46:06 -04:00
Alex Johnson
4139556149 Changes some debug levels to notify upon errors in console 2022-09-02 15:00:57 -04:00
Alex Johnson
c722542b04 Adds lock to ssh and tcp classes to prevent possible threading issues. 2022-09-02 14:50:15 -04:00
Alex Johnson
b12e798041 Reworks reconnect timer due to issues seen on 4 series where autoreconnect cycle breaks. 2022-08-24 14:11:46 -04:00
Alex Johnson
f135029ad6 Reduces error log messages from SSH client on basic disconnects 2022-07-07 10:51:37 -04:00
Neil Dorin
afcaa89125 docs(core): Adds missing XML comments for public members 2022-06-07 16:45:20 -06:00
Andrew Welker
bbbd6d2290 refactor: fix missing } 2022-02-09 10:07:59 -07:00
Andrew Welker
b64aa97a3f Merge branch 'development' into hotfix/ssh-logging 2022-02-09 09:49:27 -07:00
Andrew Welker
664b26908b Merge branch 'main' into hotfix/ssh-logging 2022-02-09 09:14:07 -07:00
Alex Johnson
0c950404d6 Removes ReconnectTimer = null action from HandleConnectionFailure timer event and moves some debug to level 1 for better visibility. 2022-02-08 16:21:55 -05:00
Andrew Welker
e565144830 refactor: Move failure handling out of catch blocks just in case 2021-10-18 12:16:22 -06:00
Andrew Welker
f947bb8939 refactor: Add logging of some messages to error log
Also moves some error handling and status notifications into the catch blocks in the `Connectr()` method.
2021-10-18 12:04:51 -06:00
Neil Dorin
5779842e9a fix(GenericSshClient): #110 Adds check to ensure TheStream != null and IsConnected in SendText() and SentBytes() 2021-07-30 13:49:57 -06:00
Andrew Welker
43efa2de18 fix: (PepperDash Core) Fix issue with stream debugging and bytes received
Also fixed some spelling errors and added length info to the received messages for UDP, TCP, and SSH clients
2021-07-01 14:00:27 -06:00
Alex Johnson
3725980462 Adds better stream debugging for SendText methods 2021-03-04 11:02:19 -05:00
Andrew Welker
6133df971d Initialize StreamDebugging from S+ constructors 2020-08-14 10:51:49 -06:00
Andrew Welker
a67baaa9c8 Change buffer size back to 65534 for GenericSshClient 2020-06-24 13:05:55 -06:00
Neil Dorin
8f075fbed7 Adds IStreamDebugging and associated logic to implment on TCP, SSH and UDP methods 2020-06-09 14:05:27 -06:00
Neil Dorin
b13f425169 #11 adds semaphore to prevent Connect() from being called from S+ if a connection attempt is still in progress. 2020-02-25 15:19:49 -07:00
Neil Dorin
5576fa349d Cleans up the disconnect logic and adds KillClient() to better control process of disposing of resources before reconnect attempts. Adds XML help for propeties and methods 2020-01-24 15:29:54 -07:00
Alex Johnson
19263590a7 Changes Ssh client autoreconnect method to null client and start with new client on next attempt. Saw issues specifically with Polycom not reconnecting unless we spin up a new client. 2020-01-21 09:51:16 -05:00
Jason T Alborough
139777b501 Adds conditions for when creating a new Ssh client. 2019-10-11 05:59:10 -04:00
Neil Dorin
4aded28792 Resolves both bugfix pdc-6 and pdc-7 2019-05-16 10:53:15 -06:00
Neil Dorin
ada6090b43 Resoves bug where on program stop event, GenericSshClient was only calling Client.Disconnect() instead of its own Disconnect() methods which disconnects the client and also prevents auto reconnect attempts. 2019-05-07 16:50:36 -06:00
Heath Volmer
07aef1878c Changed Debug.Console methods to log all messages marked as such to log; ssh cleanup 2018-08-31 11:50:01 -05:00
Heath Volmer
7c2f4c2c24 sshClient, removing comments and repairing indentation 2018-08-18 08:17:09 -06:00
Heath Volmer
e829ba74d5 ecs-732; Fixed reconnect on initial connection; changed debug levels to 1 2018-06-05 10:25:27 -06:00
Neil Dorin
df9501f797 Fixes Null Reference Exceptions with GenericTcpIpClient and GenericSshClient 2017-12-19 09:51:05 -07:00
Heath Volmer
422947559e Removed handler for stream error 2016-12-06 16:15:57 -07:00
Heath Volmer
15cd23a857 Ssh Connect() now spins up new clients. Seems to be helping deal with connection failures 2016-12-06 16:02:49 -07:00
Heath Volmer
d7613d2f52 Trying and failing lots of things to fix SshClient. About to try making and destroying the entire client 2016-12-06 15:41:49 -07:00
Heath Volmer
d1ce18fb64 Hunting down program crash when network cable is pulled from server. Client.ErrorOccurred is not catching this 2016-12-06 09:50:22 -07:00
Heath Volmer
5abfa9143c Working through elusive disconnect bugs on SSH, with Amazon on CP3N 2016-12-05 20:33:14 -07:00
Heath Volmer
783ca522ef Silenced GenericTcpIpClient debug messages on send text/bytes 2016-11-15 12:57:12 -07:00
Heath Volmer
7137563e96 Changes to unify GenericTcpClient and GenericSshClient under ISocketStatus 2016-09-27 17:30:41 -06:00
Heath Volmer
69802c8bc5 Adding status enum to Clients; Added interface for these statuses 2016-09-26 14:46:50 -06:00
Heath Volmer
d5970f76ce Working through connect/disconnect details 2016-09-23 10:44:21 -06:00
Heath Volmer
8aa9f130cd GenericSshClient changes for S+ module 2016-09-22 21:57:21 -06:00
Heath Volmer
71d1b43fc9 Fixed undesirable auto-reconnect behavior when manually disconnecting 2016-09-12 14:42:53 -06:00