Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2386

Unable to connect to the NetBeans Distribution

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 10.0
    • Fix Version/s: 10.0
    • Labels:
      None
    • Environment:

      Description

      When check for update receive error

      Unable to connect to the NetBeans Distribution because of https://netbeans.org/projects/legacy/nb/updates/10.0/updates.xml.gz

      When i uncheck Netbeans distribution in Update Centers and stay only with Plugin portal source i receive

      Unable to connect to the Plugin Portal because of Connection reset

      I search in internet and find solution is change https to hhtp in url

      http://plugins.netbeans.org/nbpluginportal/updates/10.0/catalog.xml.gz

      java.net.UnknownHostException: plugins.netbeans.org
          at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:221)
          at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:402)
          at java.base/java.net.Socket.connect(Socket.java:591)
          at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:657)
          at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
          at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
          at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
          at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
          at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
          at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
          at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
          at java.base/sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1065)
          at java.base/sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1063)
          at java.base/java.security.AccessController.doPrivileged(Native Method)
          at java.base/java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:793)
          at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1062)
          at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
          at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:163)
          at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.checkRedirect(NetworkAccess.java:240)
          at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.access$700(NetworkAccess.java:57)
          at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:160)
          at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:138)
          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
          at java.base/java.lang.Thread.run(Thread.java:844)
      Caused: java.io.IOException: plugins.netbeans.org
          at org.netbeans.modules.autoupdate.updateprovider.DownloadListener.notifyException(DownloadListener.java:78)
          at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.copy(AutoupdateCatalogCache.java:221)
          at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.writeCatalogToCache(AutoupdateCatalogCache.java:74)
          at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.refresh(AutoupdateCatalogProvider.java:129)
          at org.netbeans.modules.autoupdate.services.UpdateUnitProviderImpl.refresh(UpdateUnitProviderImpl.java:155)
          at org.netbeans.api.autoupdate.UpdateUnitProvider.refresh(UpdateUnitProvider.java:171)
      [catch] at org.netbeans.modules.autoupdate.ui.Utilities.tryRefreshProviders(Utilities.java:410)
          at org.netbeans.modules.autoupdate.ui.Utilities.doRefreshProviders(Utilities.java:388)
          at org.netbeans.modules.autoupdate.ui.Utilities.presentRefreshProviders(Utilities.java:382)
          at org.netbeans.modules.autoupdate.ui.UnitTab$14.run(UnitTab.java:786)
          at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
          at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
          at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
          at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
      INFO [org.netbeans.modules.autoupdate.updateprovider.DownloadListener]: Reading URL https://plugins.netbeans.org/nbpluginportal/updates/10.0/catalog.xml.gz failed (java.net.SocketException: Connection reset)
      INFO [org.netbeans.modules.autoupdate.ui.Utilities]: Connection reset
      java.net.SocketException: Connection reset
          at java.base/java.net.SocketInputStream.read(SocketInputStream.java:210)
          at java.base/java.net.SocketInputStream.read(SocketInputStream.java:141)
          at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:425)
          at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:154)
          at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1031)
          at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
          at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
          at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429)
          at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
          at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
          at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
          at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:163)
          at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.checkRedirect(NetworkAccess.java:240)
          at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.access$700(NetworkAccess.java:57)
          at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:160)
          at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:138)
          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
          at java.base/java.lang.Thread.run(Thread.java:844)
      Caused: java.io.IOException: Connection reset
          at org.netbeans.modules.autoupdate.updateprovider.DownloadListener.notifyException(DownloadListener.java:78)
          at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.copy(AutoupdateCatalogCache.java:221)
          at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.writeCatalogToCache(AutoupdateCatalogCache.java:74)
          at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.refresh(AutoupdateCatalogProvider.java:129)
          at org.netbeans.modules.autoupdate.services.UpdateUnitProviderImpl.refresh(UpdateUnitProviderImpl.java:155)
          at org.netbeans.api.autoupdate.UpdateUnitProvider.refresh(UpdateUnitProvider.java:171)
      [catch] at org.netbeans.modules.autoupdate.ui.Utilities.tryRefreshProviders(Utilities.java:410)
          at org.netbeans.modules.autoupdate.ui.Utilities.doRefreshProviders(Utilities.java:388)
          at org.netbeans.modules.autoupdate.ui.Utilities.presentRefreshProviders(Utilities.java:376)
          at org.netbeans.modules.autoupdate.ui.SettingsTab$6.run(SettingsTab.java:531)
          at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
          at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
          at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
          at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              borisov87 Ivan Borisov
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: