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.
I have Internet Explorer configured with an automatic configuration script URL. Every application in my system can connect fine using "System Proxy Settings" except NetBeans. In NetBeans I have to explicity configure the proxy URL otherwise using the option "Use System Proxy Settings" doesn't work. The following exception is thrown when trying to test the connection when "System Proxy Settings" is active: > INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy - mode: auto > INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy - pac url: http://my.proxy.address/wpad.dat > INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy TEST - http host: > INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy TEST - http port: 0 > INFO [org.netbeans.core.ui.options.general.GeneralOptionsModel]: Cannot connect via http protocol. > java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine > at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method) > at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) > at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) > at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) > at java.net.Socket.connect(Socket.java:579) > at sun.net.NetworkClient.doConnect(NetworkClient.java:175) > at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) > at sun.net.www.http.HttpClient$1.run(HttpClient.java:484) > at sun.net.www.http.HttpClient$1.run(HttpClient.java:482) > at java.security.AccessController.doPrivileged(Native Method) > at sun.net.www.http.HttpClient.privilegedOpenServer(HttpClient.java:481) > at sun.net.www.http.HttpClient.openServer(HttpClient.java:522) > at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) > at sun.net.www.http.HttpClient.New(HttpClient.java:308) > at sun.net.www.http.HttpClient.New(HttpClient.java:326) > at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996) > at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:975) > at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850) > at org.netbeans.core.ui.options.general.GeneralOptionsModel.testHttpConnection(GeneralOptionsModel.java:330) > [catch] at org.netbeans.core.ui.options.general.GeneralOptionsModel.testProxy(GeneralOptionsModel.java:315) > at org.netbeans.core.ui.options.general.GeneralOptionsModel.access$000(GeneralOptionsModel.java:62) > at org.netbeans.core.ui.options.general.GeneralOptionsModel$1.run(GeneralOptionsModel.java:244) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) > at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042) PS: Using Netbeans 7.4 Update 2
Hello, thank you for the report. Could you please attach your PAC file? Of course without real addresses. The logic is important. Also please attach full log: http://wiki.netbeans.org/FaqLogMessagesFile There may be some similarity with issue 235202.
Created attachment 143935 [details] Log file
Created attachment 143936 [details] PAC file
Hi Libor, I I attached the files you requested. In the PAC file I replaced every domain address with DOMAIN keyword and every IP address with the IP keyword. Everything else was untouched.
(In reply to pns from comment #4) > Hi Libor, > > I I attached the files you requested. In the PAC file I replaced every > domain address with DOMAIN keyword and every IP address with the IP keyword. > Everything else was untouched. Thank you for all files. As I guessed, it's the same problem like in issue 235202. NetBeans cannot deal with "dnsResolve()" function in the PAC file. *** This bug has been marked as a duplicate of bug 235202 ***