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 200396

Summary: No authorization sent when requested from proxy server
Product: platform Reporter: i.petruk
Component: -- Other --Assignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED INCOMPLETE    
Severity: normal CC: anebuzelsky, mmirilovic
Priority: P2    
Version: 7.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description i.petruk 2011-07-26 18:04:16 UTC
I cannot update NetBeans in our corporate network. I though it is a proxy server issue, but not, it seems like NB is not sending authentication information. I  have debugged the traffic. Here what I have got.

Netbeans request:

GET http://updates.netbeans.org/netbeans/updates/7.0/uc/final/certified/catalog.xml.gz?unique=NB_GFMOD_JAVA_TOMCAT_WEBEE0c36a3854-9d8d-4e58-ab18-6cdcd3625b55_5fd252f8-dc37-498c-a0e0-f8d36f4aad09 HTTP/1.1
Cache-Control: no-cache
Pragma: no-cache
User-Agent: Java/1.6.0_26
Host: updates.netbeans.org
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Proxy-Connection: keep-alive

Proxy server response:

HTTP/1.1 407 Proxy Authentication Required
Proxy-Authenticate: BASIC realm="proxy"
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Proxy-Connection: close
Set-Cookie: BCSI-CS8B951878=2; Path=/
Connection: close
Content-Length: 3155

That's it. Netbeans should resent the request with username and password I put in the dialog of proxy settings on Options. It doesn't. Firefox does and I can download the file manually in Firefox.
Comment 1 Jiri Rechtacek 2011-07-29 15:29:28 UTC
Please, describe your proxy settings in IDE and attach your messages.log from IDE session where try to access the updates. Thanks
Comment 2 i.petruk 2011-08-04 15:31:00 UTC
With today updates the problem got fixed
Comment 3 i.petruk 2011-08-08 08:14:28 UTC
Now it is back. I have no idea what is going on.
Comment 4 Jiri Rechtacek 2011-09-12 21:47:48 UTC
Please, describe your proxy settings in IDE and attach your messages.log from
IDE session where try to access the updates. For more verbose logging run IDE with a switch -J-Dorg.netbeans.core.NbProxySelector.level=FINEST -J-Dorg.netbeans.core.NbAuthenticator.level=FINEST
Thanks