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.

Bug 226898 - Add a timeout for Check for Updates on network
Summary: Add a timeout for Check for Updates on network
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: Mac Native (show other bugs)
Version: 7.3
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 233977 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-01 15:42 UTC by Jiri Rechtacek
Modified: 2014-02-20 08:45 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2013-03-01 15:42:27 UTC
Mac installer might stuck while checking for updates on network. The step of accessing network has to be limited by some reasonable time period.
Comment 1 Jiri Rechtacek 2013-08-06 08:21:56 UTC
*** Bug 233977 has been marked as a duplicate of this bug. ***
Comment 2 brettryan 2013-08-06 08:42:44 UTC
Installer should not need to check for updates.

If it is necessary the installer should.

a. Detect there is no internet connection and not attempt update check.
b. Timeout after a reasonable time period (20-30 seconds)
c. Present information showing that an update check is in progress allowing the user to cancel.

Note, checking for presence of network connection is not enough, in my instance I connect to a VPN connection which incorrectly resolves DNS entries for internet hosts but drops routing to those destinations. So an IP address would be resolved for the update server but any attempt to connect would have packets dropped.
Comment 3 brettryan 2014-02-19 23:46:01 UTC
Guys this really is getting painful. I have an extremely unreliable dialup connection which causes the installer to just sit there if I'm not connected.

It's hard enough obtaining dev builds only to sit there for an hour waiting for the install to begin.
Comment 4 Jiri Rechtacek 2014-02-20 08:45:13 UTC
(In reply to brettryan from comment #3)
> Guys this really is getting painful. I have an extremely unreliable dialup
> connection which causes the installer to just sit there if I'm not connected.
> 
> It's hard enough obtaining dev builds only to sit there for an hour waiting
> for the install to begin.

I'm sorry I see it's bad. As a workaround you can, either just for ZIP archives for Dev builds instead of install Mac native packages (http://bits.netbeans.org/download/trunk/nightly/latest/zip/), or run the installer when you Mac is disconnected from the network - it should be much faster.
Hope it might be better.