Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59128

hudson.model.UpdateCenter.never = true not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      When I start Jenkins, there is always a connection made to the UpdateCenter. Even when I set hudson.model.UpdateCenter.never to true.

      I have no internet so there is always a timeout in the log. Looks like a scheduled action which i cannot stop.

      INFO: The attempt #1 to do the action check updates server failed with an allowed exception:
      java.net.SocketTimeoutException: connect timed out
       at java.net.PlainSocketImpl.socketConnect(Native Method)
       at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
       at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
       at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
       at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
       at java.net.Socket.connect(Socket.java:589)
       at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
       at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
       at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
       at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
       at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
       at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
       at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
       at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
       at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
       at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
       at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
       at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
       at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
       at hudson.model.DownloadService.loadJSON(DownloadService.java:167)
       at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:189)
       at hudson.PluginManager.checkUpdatesServer(PluginManager.java:1766)
       at hudson.util.Retrier.start(Retrier.java:62)
       at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1737)
       at jenkins.model.DownloadSettings$DailyCheck.execute(DownloadSettings.java:130)
       at hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:101)
       at java.lang.Thread.run(Thread.java:748)
      Aug 28, 2019 7:13:54 PM hudson.util.Retrier start
      INFO: Calling the listener of the allowed exception 'connect timed out' at the attempt #1 to do the action check updates server
      Aug 28, 2019 7:13:54 PM hudson.util.Retrier start
      INFO: Attempted the action check updates server for 1 time(s) with no success
      Aug 28, 2019 7:13:54 PM hudson.PluginManager doCheckUpdatesServer
      SEVERE: Error checking update sites for 1 attempt(s). Last exception was: SocketTimeoutException: connect timed out
      Aug 28, 2019 7:13:54 PM hudson.model.AsyncPeriodicWork$1 run
      

       

            Unassigned Unassigned
            jr00n Jeroen Wolff
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: