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 224838 - NetBeans cannot download JUnit when behind Oracle's proxy
Summary: NetBeans cannot download JUnit when behind Oracle's proxy
Status: RESOLVED WORKSFORME
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Dev (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P1 normal (vote)
Assignee: issues@updatecenters
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-14 10:49 UTC by Tomas Danek
Modified: 2013-03-25 13:41 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2013-01-14 10:49:42 UTC
Product Version: NetBeans IDE Dev (Build 201301140001)
Java: 1.6.0_27; Java HotSpot(TM) Client VM 20.2-b06
Runtime: Java(TM) SE Runtime Environment 1.6.0_27-b07
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
User directory: C:\Users\tester\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\tester\AppData\Local\NetBeans\Cache\dev
--------------------------------
during installation of NetBeans, JUnit was not dowloaded and installed:

installation log snippet:
---------8<-----------
[2013-01-14 11:32:32.621]:     [stderr]: Server returned HTTP response code: 403 for URL: http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz
[2013-01-14 11:32:32.621]:     [stderr]: INFO [org.netbeans.modules.autoupdate.updateprovider.DownloadListener]: Reading URL http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz failed (java.io.IOException: Server returned HTTP response code: 403 for URL: http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz)
[2013-01-14 11:32:34.259]:     [return]: 31
---------8<-----------

reason is that MCAfee on proxy forbids access to 
http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz
and gives 403.

try pasting URL into browser, or run from commandline:

export http_proxy=$ORACLE_PROXY_SERVER
curl -O http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz

please note that this does not affect 7.3, just dev builds.
Comment 1 Jiri Kovalsky 2013-01-14 10:51:17 UTC
Shouldn't "Version" be set to "Dev" instead of "7.3" then?
Comment 2 Tomas Danek 2013-01-14 10:53:13 UTC
Can be, but "dev" is kind of time-meaningless ;)
(In reply to comment #1)
> Shouldn't "Version" be set to "Dev" instead of "7.3" then?
Comment 3 Antonin Nebuzelsky 2013-03-25 13:23:03 UTC
Wasn't this a temporary problem? I can download the file in my browser in OWAN without any problems:
http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz
Comment 4 Tomas Danek 2013-03-25 13:41:55 UTC
for me as well.