Timeout issue with end device (General questions)
We've got an application that uses wodSSH to connect to various end devices. It works fine for most of them, but we've now encountered a customer's device that appears to timeout the connection after 1 minute of inactivity.
We're not setting a timeout value (well, we are, but we're setting it to 0), and we've tried setting a KeepAlive value to no avail:
Client = new TwodSSHCom((TComponent*)NULL);
Client->set_Timeout(0);
Client->set_KeepAlives(10);
We turned on debug logging in wodSSH and here's the output:
*** OnConnect received, err = 0
OVL111 IDLE 0
OVL111 TTY 15 0 ADMIN
.
TTY #14 LOGGED IN ADMIN 08:52 4/3/2013
TIM000 08:53 4/3/2013 CPU 0
AUD118 00000001 00000130 0000C884 00000000 0000341E
SEC053 SSH WARNING message: rxError eSSH_rxErrorKeepAliveClnt (3) detected
*** OnClose received, err = 0
Any ideas on what we can do to prevent this timeout?
Re: Timeout issue with end device
I forgot to mention that we're using SSH:
Client->set_Protocol(Wodsshcomlib_tlb::SSHAuto);
This is set after the Timeout and KeepAlive value (in case that's important).
Re: Timeout issue with end device
Hi David,
What happens if you try to connect to same server using some other SSH client? Does it work there?
For example you can try Putty.
Regards,
Drazen
Re: Timeout issue with end device
Yes, we've checked that. Though it was with SecureCRT rather than PuTTY.
Re: Timeout issue with end device
David,
Which version of wodSSH you are using? You can check version using Version Property.
Is there any chance maybe that we can duplicate this issue on our side?
Drazen
Re: Timeout issue with end device
Version 2.4.1.43.
Unfortunately that's part of the problem; we haven't been able to duplicate it on our site.
The end device is an Avaya CS1K release 7.5. Running Call Server CPPM.
We don't have one of these on our site, only our customer does.
Re: Timeout issue with end device
David,
Is there any chance you can send us Putty log (or from some other client that works)? So we can compare it with wodSSH log and try to determine why wodSSH disconnects and other clients works.
Please also double check that Timeout Property is set to 0. What happens if you set Timeout to 0 after you connect to server?
Drazen
Re: Timeout issue with end device
What formatting options do you need turned on in the PuTTY log?
i.e. which of these needs to be enabled?:
Printable output.
All session output.
SSH packets.
SSH packets and raw data.
We have to get our staff in the US to get this log, so I'd better get it right the first time [:wink:]
Re: Timeout issue with end device
David,
It would be best if you can send us two log files (All session output and SSH packets and raw data log).
You can send it to techsupport@weonlydo.com
Drazen