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 212607 - Plugin Center does not load behind proxy.
Summary: Plugin Center does not load behind proxy.
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1.2
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 20:54 UTC by denni
Modified: 2012-11-14 12:46 UTC (History)
0 users

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 denni 2012-05-16 20:54:12 UTC
Issue with proxy settings.  Urls below load fine in a browser.  Here is the log file:

INFO [org.netbeans.core.ProxyAutoConfig]: findProxyForURL(http://updates.netbeans.org/netbeans/updates/7.1.2/uc/final/certified/catalog.xml.gz?unique=NB_CND_GFMOD_GROOVY_JAVA_JC_MOB_PHP_WEBEE06360506d-ab35-4b84-b48d-93035fbf3e22_e6e78b8e-9bed-4cbd-997a-602a3d0ab4bc) returns null.
INFO [org.netbeans.core.ProxyAutoConfig]: findProxyForURL(socket://updates.netbeans.org:80) returns null.
INFO [org.netbeans.core.ProxyAutoConfig]: findProxyForURL(http://updates.netbeans.org/netbeans/updates/7.1.2/uc/final/certified/catalog.xml.gz?unique=NB_CND_GFMOD_GROOVY_JAVA_JC_MOB_PHP_WEBEE06360506d-ab35-4b84-b48d-93035fbf3e22_e6e78b8e-9bed-4cbd-997a-602a3d0ab4bc) returns null.
INFO [org.netbeans.core.ProxyAutoConfig]: findProxyForURL(socket://updates.netbeans.org:80) returns null.
INFO [org.netbeans.modules.autoupdate.updateprovider.DownloadListener]: Reading URL http://updates.netbeans.org/netbeans/updates/7.1.2/uc/final/certified/catalog.xml.gz?unique=NB_CND_GFMOD_GROOVY_JAVA_JC_MOB_PHP_WEBEE06360506d-ab35-4b84-b48d-93035fbf3e22_e6e78b8e-9bed-4cbd-997a-602a3d0ab4bc failed (java.net.ConnectException: Connection timed out: connect)
INFO [org.netbeans.modules.autoupdate.ui.Utilities]: Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:525)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:158)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
	at sun.net.www.http.HttpClient.New(HttpClient.java:306)
	at sun.net.www.http.HttpClient.New(HttpClient.java:323)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
	at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:146)
	at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:136)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
Caused: java.io.IOException: Connection timed out: connect
	at org.netbeans.modules.autoupdate.updateprovider.DownloadListener.notifyException(DownloadListener.java:103)
	at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.copy(AutoupdateCatalogCache.java:255)
	at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.writeCatalogToCache(AutoupdateCatalogCache.java:100)
	at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.refresh(AutoupdateCatalogProvider.java:137)
	at org.netbeans.modules.autoupdate.services.UpdateUnitProviderImpl.refresh(UpdateUnitProviderImpl.java:174)
	at org.netbeans.api.autoupdate.UpdateUnitProvider.refresh(UpdateUnitProvider.java:186)
[catch] at org.netbeans.modules.autoupdate.ui.Utilities.tryRefreshProviders(Utilities.java:570)
	at org.netbeans.modules.autoupdate.ui.Utilities.doRefreshProviders(Utilities.java:548)
	at org.netbeans.modules.autoupdate.ui.Utilities.presentRefreshProviders(Utilities.java:542)
	at org.netbeans.modules.autoupdate.ui.UnitTab$14.run(UnitTab.java:797)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
INFO [org.netbeans.modules.autoupdate.updateprovider.DownloadListener]: Reading URL http://updates.netbeans.org/netbeans/updates/7.1.2/uc/final/certified/catalog.xml.gz?unique=NB_CND_GFMOD_GROOVY_JAVA_JC_MOB_PHP_WEBEE06360506d-ab35-4b84-b48d-93035fbf3e22_e6e78b8e-9bed-4cbd-997a-602a3d0ab4bc failed (java.net.ConnectException: Connection timed out: connect)
INFO [org.netbeans.modules.autoupdate.ui.Utilities]: Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:525)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:158)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
	at sun.net.www.http.HttpClient.New(HttpClient.java:306)
	at sun.net.www.http.HttpClient.New(HttpClient.java:323)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
	at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:146)
	at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:136)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
Caused: java.io.IOException: Connection timed out: connect
	at org.netbeans.modules.autoupdate.updateprovider.DownloadListener.notifyException(DownloadListener.java:103)
	at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.copy(AutoupdateCatalogCache.java:255)
	at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.writeCatalogToCache(AutoupdateCatalogCache.java:100)
	at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.refresh(AutoupdateCatalogProvider.java:137)
	at org.netbeans.modules.autoupdate.services.UpdateUnitProviderImpl.refresh(UpdateUnitProviderImpl.java:174)
	at org.netbeans.api.autoupdate.UpdateUnitProvider.refresh(UpdateUnitProvider.java:186)
[catch] at org.netbeans.modules.autoupdate.ui.Utilities.tryRefreshProviders(Utilities.java:570)
	at org.netbeans.modules.autoupdate.ui.Utilities.doRefreshProviders(Utilities.java:548)
	at org.netbeans.modules.autoupdate.ui.Utilities.presentRefreshProviders(Utilities.java:542)
	at org.netbeans.modules.autoupdate.ui.UnitTab$14.run(UnitTab.java:797)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Comment 1 denni 2012-05-16 20:56:24 UTC
FYI:  ^ this happened after clicking Tools > Plugins > Available Plugins Tab > Reload Catalog Button
Comment 2 denni 2012-05-16 20:58:30 UTC
FYI 2: "Use System Proxy Settings" is checked in proxy configuration in General Options.
Comment 3 Ondrej Vrabec 2012-11-14 12:46:10 UTC
I am sorry, i know it might be a bit late to answer, but if you can still see this in 7.2.1, could you start the IDE with -J-Dorg.netbeans.core.NbProxySelector.level=-1 -J-Dorg.netbeans.core.ProxyAutoConfig.level=-1 and attach the messages.log again? Add the options to netbeans.conf at the end of netbeans_default_options.