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

Summary: Add a timeout for Check for Updates on network
Product: installer Reporter: Jiri Rechtacek <jrechtacek>
Component: Mac NativeAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal CC: brettryan
Priority: P3    
Version: 7.3   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

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.