Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]-SSH Client can throw a null ref exception if retry times are too short #72

Open
andrew-welker opened this issue Nov 11, 2020 · 0 comments
Labels
bug Something isn't working planning

Comments

@andrew-welker
Copy link
Contributor

Describe the bug
Probably due to threading issues, the GenericSSHClient can throw a null reference exception if the retry time for reconnecting on connection loss is too short. 'Too short' in this case is less than 10 seconds.

Stacktrace

[15:56:52.000]App 1:Exception: NullReferenceException
[15:56:52.000]App 1:Stack Trace:    at PepperDash.Core.GenericSshClient.SendText(String text)
   at UserModule_PDT_SSHCLIENT_V1_1_3.UserModuleClass_PDT_SSHCLIENT_V1_1_3.TX_OnChange_5(Object __EventInfo__)
   at Amib.Threading.Internal.WorkItem.n()
   at Amib.Threading.Internal.WorkItem.Execute()
   at Amib.Threading.SmartThreadPool.f(WorkItem A_0)
   at Amib.Threading.SmartThreadPool.r
@andrew-welker andrew-welker added the bug Something isn't working label Nov 11, 2020
@andrew-welker andrew-welker added this to the 1.0.43 milestone Nov 11, 2020
@andrew-welker andrew-welker self-assigned this Nov 11, 2020
@andrew-welker andrew-welker removed this from the 1.0.43 milestone Nov 11, 2020
@andrew-welker andrew-welker removed their assignment Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working planning
Projects
None yet
Development

No branches or pull requests

2 participants