Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » ftp connection hangs after a long inactive time.
ftp connection hangs after a long inactive time. [message #22778] Thu, 15 May 2008 11:52 Go to next message
David Harel is currently offline David HarelFriend
Messages: 8
Registered: July 2009
Junior Member
Hi,

I am connected to a remote site which uses some
routers/switches/firewalls that drop a session after some idle time (I
read somewhere that cheap Cisco firewalls have that problem).
So every time I take a coffee break ssh and ftp sessions with or without
Eclipse hang.
Can dsdp target management be configured to restart a session whenever
that happens?

Thanks
--
David Harel
Amuka
Israel
Re: ftp connection hangs after a long inactive time. [message #22954 is a reply to message #22778] Thu, 15 May 2008 22:53 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
For ssh / sftp, what version of RSE are you using?
We added a keepalive feature in RSE 2.0.3 / RSE 3.0M6, which
should avoid that kind of issues.

For FTP, I was under the impression that it does reconnect
automatically, in fact doesn't even notice the dropped
connection, or am I mistaken?

If I am mistaken, would you please file a bug (enhancement
request) for this?

Thanks,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




David Harel wrote:
> Hi,
>
> I am connected to a remote site which uses some
> routers/switches/firewalls that drop a session after some idle time (I
> read somewhere that cheap Cisco firewalls have that problem).
> So every time I take a coffee break ssh and ftp sessions with or without
> Eclipse hang.
> Can dsdp target management be configured to restart a session whenever
> that happens?
>
> Thanks
> --
> David Harel
> Amuka
> Israel
Re: ftp connection hangs after a long inactive time. [message #23040 is a reply to message #22954] Fri, 16 May 2008 16:11 Go to previous messageGo to next message
David Harel is currently offline David HarelFriend
Messages: 8
Registered: July 2009
Junior Member
Martin Oberhuber wrote:
> For ssh / sftp, what version of RSE are you using?
I use RSE 2.0.3.v20080225

> We added a keepalive feature in RSE 2.0.3 / RSE 3.0M6, which
> should avoid that kind of issues.
I couldn't find where this setting is. Please guide me.

>
> For FTP, I was under the impression that it does reconnect
> automatically, in fact doesn't even notice the dropped
> connection, or am I mistaken?
I had the same impression but I don't know how to verify that and
therefore I would avoid submitting a bug report until I know what I see.

Anyway, I changed to fssh which seems to get disconnected after every
file transfer and therefore avoids the problem all together.

Thanks for your help.
>
> If I am mistaken, would you please file a bug (enhancement
> request) for this?
>
> Thanks,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
>
>
>
> David Harel wrote:
>> Hi,
>>
>> I am connected to a remote site which uses some
>> routers/switches/firewalls that drop a session after some idle time (I
>> read somewhere that cheap Cisco firewalls have that problem).
>> So every time I take a coffee break ssh and ftp sessions with or
>> without Eclipse hang.
>> Can dsdp target management be configured to restart a session whenever
>> that happens?
>>
>> Thanks
>> --
>> David Harel
>> Amuka
>> Israel

--
Thanks.

David Harel,

==================================

Home office +972 77 7657645
Fax: +972 77 7657645
Cellular: +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Re: ftp connection hangs after a long inactive time. [message #23087 is a reply to message #22954] Fri, 16 May 2008 16:23 Go to previous messageGo to next message
David Harel is currently offline David HarelFriend
Messages: 8
Registered: July 2009
Junior Member
Martin Oberhuber wrote:
> For ssh / sftp, what version of RSE are you using?
I use RSE 2.0.3.v20080225

> We added a keepalive feature in RSE 2.0.3 / RSE 3.0M6, which
> should avoid that kind of issues.
I couldn't find where this setting is. Please guide me.

>
> For FTP, I was under the impression that it does reconnect
> automatically, in fact doesn't even notice the dropped
> connection, or am I mistaken?
I had the same impression but I don't know how to verify that and
therefore I would avoid submitting a bug report until I know what I see.

Anyway, I changed to fssh which seems to get disconnected after every
file transfer and therefore avoids the problem all together.

Thanks for your help.
>
> If I am mistaken, would you please file a bug (enhancement
> request) for this?
>
> Thanks,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
>
>
>
> David Harel wrote:
>> Hi,
>>
>> I am connected to a remote site which uses some
>> routers/switches/firewalls that drop a session after some idle time (I
>> read somewhere that cheap Cisco firewalls have that problem).
>> So every time I take a coffee break ssh and ftp sessions with or
>> without Eclipse hang.
>> Can dsdp target management be configured to restart a session whenever
>> that happens?
>>
>> Thanks
>> --
>> David Harel
>> Amuka
>> Israel

--
Thanks.

David Harel,

==================================

Home office +972 77 7657645
Fax: +972 77 7657645
Cellular: +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Re: ftp connection hangs after a long inactive time. [message #23128 is a reply to message #23087] Sun, 18 May 2008 14:03 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
>> We added a keepalive feature in RSE 2.0.3 / RSE 3.0M6, which
>> should avoid that kind of issues.
> I couldn't find where this setting is. Please guide me.

In the New Connection Wizard, below "SSH Connector Service" there
is an "SSH Settings" node. Select it and you can enter the
keepalive (default is 300 seconds, so RSE would send a keepalive
packet every 5 minutes).

If your connection already exists, select the host, right-click
> properties, select the "Connector Servcies" / "SSH Settings"
node, and voila you see the keepalive time (300 by default).

>> For FTP, I was under the impression that it does reconnect
>> automatically, in fact doesn't even notice the dropped
>> connection, or am I mistaken?
> I had the same impression but I don't know how to verify that and
> therefore I would avoid submitting a bug report until I know what I see.

Window > Show View > Other... > General > Console
Click on "Computer" icon to switch to the FTP Log Console
You'll see the log of FTP commands so you'll see if and where
the connection is (re-)established.

In general, don't be afraid of entering a bug. In the worst
case, a committer will come and set it to "WORKSFORME" or
ask you to provide more information. Please, don't be shy.
Just see bugzilla as a communication platform, where the
comments (just as I'm typing right now) are stored in a
much more accessible, ordered and searchable database than
here on the newsgroup.

Cheers,
Martin
Re: ftp connection hangs after a long inactive time. [message #23233 is a reply to message #23128] Tue, 20 May 2008 08:04 Go to previous messageGo to next message
David Harel is currently offline David HarelFriend
Messages: 8
Registered: July 2009
Junior Member
Thank you for your help.

I filed a bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=232915

Martin Oberhuber wrote:
>>> We added a keepalive feature in RSE 2.0.3 / RSE 3.0M6, which
>>> should avoid that kind of issues.
>> I couldn't find where this setting is. Please guide me.
>
> In the New Connection Wizard, below "SSH Connector Service" there
> is an "SSH Settings" node. Select it and you can enter the
I didn't find the "SSH settings" node. Is it a version issue?

> keepalive (default is 300 seconds, so RSE would send a keepalive
> packet every 5 minutes).
>
> If your connection already exists, select the host, right-click
> > properties, select the "Connector Servcies" / "SSH Settings"
> node, and voila you see the keepalive time (300 by default).
>
>>> For FTP, I was under the impression that it does reconnect
>>> automatically, in fact doesn't even notice the dropped
>>> connection, or am I mistaken?
>> I had the same impression but I don't know how to verify that and
>> therefore I would avoid submitting a bug report until I know what I see.
>
> Window > Show View > Other... > General > Console
> Click on "Computer" icon to switch to the FTP Log Console
> You'll see the log of FTP commands so you'll see if and where
> the connection is (re-)established.
>
> In general, don't be afraid of entering a bug. In the worst
> case, a committer will come and set it to "WORKSFORME" or
> ask you to provide more information. Please, don't be shy.
> Just see bugzilla as a communication platform, where the
> comments (just as I'm typing right now) are stored in a
> much more accessible, ordered and searchable database than
> here on the newsgroup.
>
> Cheers,
> Martin

--
Thanks.

David Harel,

==================================

Home office +972 77 7657645
Fax: +972 77 7657645
Cellular: +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Re: ftp connection hangs after a long inactive time. [message #23323 is a reply to message #23233] Tue, 20 May 2008 16:47 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
> I didn't find the "SSH settings" node. Is it a version issue?

Probably yes.

Discussion continued on https://bugs.eclipse.org/bugs/show_bug.cgi?id=232915

Martin
Re: ftp connection hangs after a long inactive time. [message #574666 is a reply to message #22778] Thu, 15 May 2008 22:53 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
For ssh / sftp, what version of RSE are you using?
We added a keepalive feature in RSE 2.0.3 / RSE 3.0M6, which
should avoid that kind of issues.

For FTP, I was under the impression that it does reconnect
automatically, in fact doesn't even notice the dropped
connection, or am I mistaken?

If I am mistaken, would you please file a bug (enhancement
request) for this?

Thanks,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




David Harel wrote:
> Hi,
>
> I am connected to a remote site which uses some
> routers/switches/firewalls that drop a session after some idle time (I
> read somewhere that cheap Cisco firewalls have that problem).
> So every time I take a coffee break ssh and ftp sessions with or without
> Eclipse hang.
> Can dsdp target management be configured to restart a session whenever
> that happens?
>
> Thanks
> --
> David Harel
> Amuka
> Israel
Re: ftp connection hangs after a long inactive time. [message #574720 is a reply to message #22954] Fri, 16 May 2008 16:11 Go to previous message
David Harel is currently offline David HarelFriend
Messages: 8
Registered: July 2009
Junior Member
Martin Oberhuber wrote:
> For ssh / sftp, what version of RSE are you using?
I use RSE 2.0.3.v20080225

> We added a keepalive feature in RSE 2.0.3 / RSE 3.0M6, which
> should avoid that kind of issues.
I couldn't find where this setting is. Please guide me.

>
> For FTP, I was under the impression that it does reconnect
> automatically, in fact doesn't even notice the dropped
> connection, or am I mistaken?
I had the same impression but I don't know how to verify that and
therefore I would avoid submitting a bug report until I know what I see.

Anyway, I changed to fssh which seems to get disconnected after every
file transfer and therefore avoids the problem all together.

Thanks for your help.
>
> If I am mistaken, would you please file a bug (enhancement
> request) for this?
>
> Thanks,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
>
>
>
> David Harel wrote:
>> Hi,
>>
>> I am connected to a remote site which uses some
>> routers/switches/firewalls that drop a session after some idle time (I
>> read somewhere that cheap Cisco firewalls have that problem).
>> So every time I take a coffee break ssh and ftp sessions with or
>> without Eclipse hang.
>> Can dsdp target management be configured to restart a session whenever
>> that happens?
>>
>> Thanks
>> --
>> David Harel
>> Amuka
>> Israel

--
Thanks.

David Harel,

==================================

Home office +972 77 7657645
Fax: +972 77 7657645
Cellular: +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Re: ftp connection hangs after a long inactive time. [message #574727 is a reply to message #22954] Fri, 16 May 2008 16:23 Go to previous message
David Harel is currently offline David HarelFriend
Messages: 8
Registered: July 2009
Junior Member
Martin Oberhuber wrote:
> For ssh / sftp, what version of RSE are you using?
I use RSE 2.0.3.v20080225

> We added a keepalive feature in RSE 2.0.3 / RSE 3.0M6, which
> should avoid that kind of issues.
I couldn't find where this setting is. Please guide me.

>
> For FTP, I was under the impression that it does reconnect
> automatically, in fact doesn't even notice the dropped
> connection, or am I mistaken?
I had the same impression but I don't know how to verify that and
therefore I would avoid submitting a bug report until I know what I see.

Anyway, I changed to fssh which seems to get disconnected after every
file transfer and therefore avoids the problem all together.

Thanks for your help.
>
> If I am mistaken, would you please file a bug (enhancement
> request) for this?
>
> Thanks,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
>
>
>
> David Harel wrote:
>> Hi,
>>
>> I am connected to a remote site which uses some
>> routers/switches/firewalls that drop a session after some idle time (I
>> read somewhere that cheap Cisco firewalls have that problem).
>> So every time I take a coffee break ssh and ftp sessions with or
>> without Eclipse hang.
>> Can dsdp target management be configured to restart a session whenever
>> that happens?
>>
>> Thanks
>> --
>> David Harel
>> Amuka
>> Israel

--
Thanks.

David Harel,

==================================

Home office +972 77 7657645
Fax: +972 77 7657645
Cellular: +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Re: ftp connection hangs after a long inactive time. [message #574754 is a reply to message #23087] Sun, 18 May 2008 14:03 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
>> We added a keepalive feature in RSE 2.0.3 / RSE 3.0M6, which
>> should avoid that kind of issues.
> I couldn't find where this setting is. Please guide me.

In the New Connection Wizard, below "SSH Connector Service" there
is an "SSH Settings" node. Select it and you can enter the
keepalive (default is 300 seconds, so RSE would send a keepalive
packet every 5 minutes).

If your connection already exists, select the host, right-click
> properties, select the "Connector Servcies" / "SSH Settings"
node, and voila you see the keepalive time (300 by default).

>> For FTP, I was under the impression that it does reconnect
>> automatically, in fact doesn't even notice the dropped
>> connection, or am I mistaken?
> I had the same impression but I don't know how to verify that and
> therefore I would avoid submitting a bug report until I know what I see.

Window > Show View > Other... > General > Console
Click on "Computer" icon to switch to the FTP Log Console
You'll see the log of FTP commands so you'll see if and where
the connection is (re-)established.

In general, don't be afraid of entering a bug. In the worst
case, a committer will come and set it to "WORKSFORME" or
ask you to provide more information. Please, don't be shy.
Just see bugzilla as a communication platform, where the
comments (just as I'm typing right now) are stored in a
much more accessible, ordered and searchable database than
here on the newsgroup.

Cheers,
Martin
Re: ftp connection hangs after a long inactive time. [message #574836 is a reply to message #23128] Tue, 20 May 2008 08:04 Go to previous message
David Harel is currently offline David HarelFriend
Messages: 8
Registered: July 2009
Junior Member
Thank you for your help.

I filed a bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=232915

Martin Oberhuber wrote:
>>> We added a keepalive feature in RSE 2.0.3 / RSE 3.0M6, which
>>> should avoid that kind of issues.
>> I couldn't find where this setting is. Please guide me.
>
> In the New Connection Wizard, below "SSH Connector Service" there
> is an "SSH Settings" node. Select it and you can enter the
I didn't find the "SSH settings" node. Is it a version issue?

> keepalive (default is 300 seconds, so RSE would send a keepalive
> packet every 5 minutes).
>
> If your connection already exists, select the host, right-click
> > properties, select the "Connector Servcies" / "SSH Settings"
> node, and voila you see the keepalive time (300 by default).
>
>>> For FTP, I was under the impression that it does reconnect
>>> automatically, in fact doesn't even notice the dropped
>>> connection, or am I mistaken?
>> I had the same impression but I don't know how to verify that and
>> therefore I would avoid submitting a bug report until I know what I see.
>
> Window > Show View > Other... > General > Console
> Click on "Computer" icon to switch to the FTP Log Console
> You'll see the log of FTP commands so you'll see if and where
> the connection is (re-)established.
>
> In general, don't be afraid of entering a bug. In the worst
> case, a committer will come and set it to "WORKSFORME" or
> ask you to provide more information. Please, don't be shy.
> Just see bugzilla as a communication platform, where the
> comments (just as I'm typing right now) are stored in a
> much more accessible, ordered and searchable database than
> here on the newsgroup.
>
> Cheers,
> Martin

--
Thanks.

David Harel,

==================================

Home office +972 77 7657645
Fax: +972 77 7657645
Cellular: +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Re: ftp connection hangs after a long inactive time. [message #574850 is a reply to message #23233] Tue, 20 May 2008 16:47 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
> I didn't find the "SSH settings" node. Is it a version issue?

Probably yes.

Discussion continued on https://bugs.eclipse.org/bugs/show_bug.cgi?id=232915

Martin
Previous Topic:Using SSH service in other subsystems
Next Topic:Failure to create ServerSocket
Goto Forum:
  


Current Time: Thu Mar 28 17:06:50 GMT 2024

Powered by FUDForum. Page generated in 0.03449 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top