This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Add a connect timeout to host properties UI [was: ssh connection issue] | ||
---|---|---|---|
Product: | cnd | Reporter: | mrochon |
Component: | Remote | Assignee: | Alexander Simon <alexvsimon> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 8.1 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Connection attempt hanging |
Description
mrochon
2015-09-06 22:05:07 UTC
I guess the connect might be just timed out. You can extend timeot via command-line option -J-Djsch.connection.timeout=N (where N is time in milliseconds) Will this help? (In reply to Vladimir Kvashin from comment #1) > I guess the connect might be just timed out. > You can extend timeot via command-line option > -J-Djsch.connection.timeout=N > (where N is time in milliseconds) > > Will this help? Yep this seems to work, so I guess the only bug is the lack of any feedback to this effect. Probably not a huge priority but a log message would have helped alot here. The ideal solution, for me, would probably be to show this directly int he ssh connection ui, and perhaps allow configuration of the timeout value there but I would defer to what you think is best. This is also related with issue 257643: if user had UI for timeout, I think he would't escalate issue 257643 fixed in enum, change set: 34e19af5bd6e Integrated into 'main-silver', will be available in build *201601280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4d58f8653430 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #255034 Add a connect timeout to host properties UI [was: ssh connection issue] fixed Bug #257643 Connect hangs because IDE does not specify list of SSH authorisation methods (transplanted from 34e19af5bd6e5ccc89266a01b456cbb1e6a7adc7) Verified in NetBeans 8.1 patch1 |