Bug 5083 - ssh timeout too long
Summary: ssh timeout too long
Status: RESOLVED WORKSFORME
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: Future
Assignee: Chin Huat Ang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-08-30 09:13 UTC by Alexandru Georgescu
Modified: 2018-04-18 23:19 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
SSH timeout setting in C/C++ Remote Application launch (241.26 KB, image/png)
2018-04-18 23:16 UTC, Chin Huat Ang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Georgescu 2013-08-30 09:13:04 UTC
Working with an environment under proxy can be tricky. If the Eclipse has the network configuration set to use the NATIVE proxy settings, when trying to connect to a QEMU machine on localhost will give hang Eclipse until the timeout since the QEMU address is not added to the "No proxy" list. 

The timeout is too long and Eclipse is blocked until the timeout.



tested in kepler: f1fc72a31f7e51364ba3bccf45c028e694aefb9a
Comment 1 Jessica 2013-09-03 23:55:51 UTC
Keep in mind this is an upstream eclipse bug not YP per say
Comment 2 Jose Lamego 2016-04-13 14:56:42 UTC
When trying to reproduce the reported issue, I've found that current Eclipse versions (tested Kepler, Luna and Mars) show the expected behavior, that is, to time out when attempting a remote connection that is not available, but the application does no hang anymore (you can continue work) and the default timeout is 60 seconds (then a message is displayed).

My guess is that a patch was implemented at some point in Eclipse to attempt the remote connection on a different thread, thus avoiding unresponsiveness. I will look for such patch.

In the meantime, I would rather close this bug as won't fix. Any objections?
Comment 3 Ross Burton 2017-07-05 10:51:45 UTC
Waiting For Upstream status is being removed, changing to Accepted.
Comment 4 Paul Eggleton 2018-04-18 15:52:07 UTC
Chin Huat - could you double-check this and see if you think we should close it?
Comment 5 Chin Huat Ang 2018-04-18 23:16:23 UTC
Created attachment 4274 [details]
SSH timeout setting in C/C++ Remote Application launch

As of Eclipse Photon release (which we will be upgrading to very soon), it is now possible to configure SSH timeout for C/C++ Remote Application launch, see screenshot attached.

I've also verified that by default the SSH connection will timeout almost immediately, the default timeout value is set to 0 seconds.
Comment 6 Chin Huat Ang 2018-04-18 23:19:41 UTC
Stay tuned for YP 2.6 Eclipse upgrade.