You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Robert Rich <rr...@gsti.net> on 2014/11/21 17:26:49 UTC

RE: JSCH -> Caught an exception, leaving main loop due to End of IO Stream Read

Hi Folks,

In case anyone else runs into this, SolarWinds SFTP server has a somewhat undocumented and, as far as I can tell, non-configurable idle timeout of 2 minutes.  Simply adding 'disconnect=true' to the SFTP endpoint URI seems to take care of the problem. 

Thanks!

Bob

-----Original Message-----
From: Robert Rich [mailto:rrich@gsti.net] 
Sent: Friday, August 8, 2014 12:16 PM
To: users@camel.apache.org
Subject: JSCH -> Caught an exception, leaving main loop due to End of IO Stream Read

Hi folks,

I'm getting this error regularly after uploading  a file to SolarWinds SFTP server

JSCH -> Caught an exception, leaving main loop due to End of IO Stream Read

It happens almost exactly 2 minutes after the upload.  As far as I can tell, the upload has completed successfully every time.

Any suggestions?

Thanks!

--
Robert Rich
CTO/VP
Global Security Technologies, Inc.
Direct: (614) 291-3456
Fax: (614) 356-8078
www.gsti.net<http://www.gsti.net>


Re: JSCH -> Caught an exception, leaving main loop due to End of IO Stream Read

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Thanks for coming back and telling the root to this problem and how to solve it.

If you do not do a lot of frequent ftp activity then disconnect=true
is maybe better, than trying to "keep it warm" for reuse

On Fri, Nov 21, 2014 at 5:26 PM, Robert Rich <rr...@gsti.net> wrote:
> Hi Folks,
>
> In case anyone else runs into this, SolarWinds SFTP server has a somewhat undocumented and, as far as I can tell, non-configurable idle timeout of 2 minutes.  Simply adding 'disconnect=true' to the SFTP endpoint URI seems to take care of the problem.
>
> Thanks!
>
> Bob
>
> -----Original Message-----
> From: Robert Rich [mailto:rrich@gsti.net]
> Sent: Friday, August 8, 2014 12:16 PM
> To: users@camel.apache.org
> Subject: JSCH -> Caught an exception, leaving main loop due to End of IO Stream Read
>
> Hi folks,
>
> I'm getting this error regularly after uploading  a file to SolarWinds SFTP server
>
> JSCH -> Caught an exception, leaving main loop due to End of IO Stream Read
>
> It happens almost exactly 2 minutes after the upload.  As far as I can tell, the upload has completed successfully every time.
>
> Any suggestions?
>
> Thanks!
>
> --
> Robert Rich
> CTO/VP
> Global Security Technologies, Inc.
> Direct: (614) 291-3456
> Fax: (614) 356-8078
> www.gsti.net<http://www.gsti.net>
>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/