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 247621 - Cannot check for plugin updates
Summary: Cannot check for plugin updates
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-01 09:10 UTC by gene.mishchenko
Modified: 2015-04-07 08:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (42.16 KB, application/octet-stream)
2014-10-01 09:10 UTC, gene.mishchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gene.mishchenko 2014-10-01 09:10:49 UTC
Created attachment 149640 [details]
messages.log

Hi.

When I go into Tools -> Plugins and then click "Check for Updates" I get the following UI error message: "Unable to connect to the NetBeans Distribution because of updates.netbeans.org".

The messaages.log file is attached.

I am not using a proxy and my Windows Firewall is completely turned off.

I can successfully ping "updates.netbeans.org" and I can download "http://updates.netbeans.org/netbeans/updates/8.0.1/uc/final/distribution/catalog.xml.gz" using a browser.

The problem does not seem to be specific to the plugin updates, because when I first started NetBeans, the Welcome page was showing and it said "can't connect to the Internet".

Please help.

Thank you.
Gene.
Comment 1 Marian Mirilovic 2014-10-02 11:08:37 UTC
Petr, please evaluate ASAP. Thanks in advance.
Comment 2 pgebauer 2014-10-02 12:12:55 UTC
The log says "java.net.UnknownHostException: updates.netbeans.org". It means the server updates.netbeans.org isn't reachable from a machine. It seems to be a network problem of the computer where the IDE runs.

As a test, are following URLs reachable from a browser?

http://updates.netbeans.org/netbeans/updates/8.0.1/uc/final/distribution/
http://dlc.sun.com.edgesuite.net/netbeans/updates/8.0.1/uc/final/distribution/

If they are in a browser but not from the IDE, please check a local firewall settings or so. As I said, it's a network issue.
Comment 3 gene.mishchenko 2014-10-02 13:39:26 UTC
Hi.

The URLs are accessible via the browser.

Is NetBeans using the same ports as the web browser to get to these resources? The default is port 80 on the server machine, but what about the local machine where the JRE/IDE runs?

If the same ports are used locally and on the server, then it is definitely NOT the networking issue becuase JRE/NetBeans IDE use exactly the same network pathway as the web browser.

Also, I have no firewall products running on my machine, even Windows firewall is turned off. 

In general, you can't just say that it's a networking issue outside of the JRE/IDE stack. We need proof to confirm.
And the fact that I can access the resources from the browser DECREASES the likelihood of this being the case; it does not prove in any way that it's a system networking issue.
I found earlier confirmed bug reports related to how JRE/NetBeans handles network, with some workarounds. These workarounds just did not work for me.

Thanks.
Gene.
Comment 4 pgebauer 2014-10-02 16:49:10 UTC
The IDE connects the same way as browser. It means to the port 80. There could be a problem with the redirection in the IDE or something else in the IDE update manager. (As you have probably noticed the first URL http://updates.netbeans.org/... is redirected to the second one (http://dlc.sun.com.edgesuite.net/...) if you try it in a browser.)

So I don't see a problem on AUC server so far.

I'm changing the bug category.
Comment 5 Libor Fischmeistr 2015-01-05 08:38:16 UTC
Decreasing priority.

I would like to ask you to Test connection - in Options/General click the test connection button. Then please upload the IDE log to the issue.

Thanks