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

Unable to access Jenkins with https port

XMLWordPrintable

    • Post-launch
    • Have attached web.xml of jenkins.war that I am trying to run

      bash-4.4$ $JAVA_HOME/bin/java -Djava.io.tmpdir=/app/PegaDevOps/TEMPDIR -jar /app/PegaDevOps/jenkins.war --httpPort=-1 --httpsKeyStore="/tmp/shabana/JavaKeyStore.jks" --httpsKeyStorePassword=welcome1 --httpsPort=8443 --httpsKeyManagerType=IbmX509
      Running from: /app/PegaDevOps/jenkins.war
      webroot: $user.home/.jenkins
      Jun 17, 2019 9:15:46 AM org.eclipse.jetty.util.log.Log initialized
      INFO: Logging initialized @1188ms to org.eclipse.jetty.util.log.JavaUtilLog
      Jun 17, 2019 9:15:46 AM winstone.Logger logInternal
      INFO: Beginning extraction from war file
      Jun 17, 2019 9:15:46 AM org.eclipse.jetty.server.handler.ContextHandler setContextPath
      WARNING: Empty contextPath
      Jun 17, 2019 9:15:46 AM org.eclipse.jetty.server.Server doStart
      INFO: jetty-9.4.z-SNAPSHOT; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm pap6480sr4fp10-20170727_01 (SR4 FP10)
      Jun 17, 2019 9:15:47 AM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
      INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
      Jun 17, 2019 9:15:47 AM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
      INFO: DefaultSessionIdManager workerName=node0
      Jun 17, 2019 9:15:47 AM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
      INFO: No SessionScavenger set, using defaults
      Jun 17, 2019 9:15:47 AM org.eclipse.jetty.server.session.HouseKeeper startScavenging
      INFO: node0 Scavenging every 660000ms
      Jenkins home directory: /home/audevopsadmsvc/.jenkins found at: $user.home/.jenkins
      Jun 17, 2019 9:15:47 AM org.eclipse.jetty.server.handler.ContextHandler doStart
      INFO: Started w.@4ecb6287{Jenkins v2.164.2,/,file:///home/audevopsadmsvc/.jenkins/war/,AVAILABLE}

      {/home/audevopsadmsvc/.jenkins/war}

      Jun 17, 2019 9:15:47 AM org.eclipse.jetty.util.ssl.SslContextFactory load
      INFO: x509=X509@cc7442da(1,h=[aud4187l.unix.anz],w=[]) for SslContextFactory@1b5089d5[provider=null,keyStore=null,trustStore=null]
      Jun 17, 2019 9:15:47 AM org.eclipse.jetty.util.ssl.SslContextFactory load
      INFO: x509=X509@dd412f77(jenkins_jetty,h=[],w=[]) for SslContextFactory@1b5089d5[provider=null,keyStore=null,trustStore=null]
      Jun 17, 2019 9:15:48 AM org.eclipse.jetty.server.AbstractConnector doStart
      INFO: Started ServerConnector@681f9729{SSL,[ssl, http/1.1]}

      {0.0.0.0:8443}

      Jun 17, 2019 9:15:48 AM org.eclipse.jetty.server.Server doStart
      INFO: Started @3415ms
      Jun 17, 2019 9:15:48 AM winstone.Logger logInternal
      INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled
      Jun 17, 2019 9:15:50 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Started initialization
      Jun 17, 2019 9:15:50 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Listed all plugins
      Jun 17, 2019 9:15:52 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Prepared all plugins
      Jun 17, 2019 9:15:52 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Started all plugins
      Jun 17, 2019 9:15:52 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Augmented all extensions
      Jun 17, 2019 9:15:52 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Loaded all jobs
      Jun 17, 2019 9:15:52 AM hudson.model.AsyncPeriodicWork$1 run
      INFO: Started Download metadata
      Jun 17, 2019 9:15:52 AM hudson.util.Retrier start
      INFO: Attempt #1 to do the action check updates server
      Jun 17, 2019 9:15:52 AM hudson.util.Retrier start
      INFO: The attempt #1 to do the action check updates server failed with an allowed exception:
      java.net.UnknownHostException: updates.jenkins.io
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:214)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
      at java.net.Socket.connect(Socket.java:666)
      at com.ibm.jsse2.at.connect(at.java:653)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:187)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:494)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:589)
      at com.ibm.net.ssl.www2.protocol.https.c.<init>(c.java:18)
      at com.ibm.net.ssl.www2.protocol.https.c.a(c.java:147)
      at com.ibm.net.ssl.www2.protocol.https.d.getNewHttpClient(d.java:30)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1151)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1045)
      at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:57)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1561)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1489)
      at com.ibm.net.ssl.www2.protocol.https.b.getInputStream(b.java:82)
      at hudson.model.DownloadService.loadJSON(DownloadService.java:167)
      at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:188)
      at hudson.PluginManager.checkUpdatesServer(PluginManager.java:1748)
      at hudson.PluginManager$$Lambda$69.0000000026EE1AB0.call(Unknown Source)
      at hudson.util.Retrier.start(Retrier.java:62)
      at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1719)
      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:785)

      Jun 17, 2019 9:15:52 AM hudson.util.Retrier start
      INFO: Calling the listener of the allowed exception 'updates.jenkins.io' at the attempt #1 to do the action check updates server
      Jun 17, 2019 9:15:52 AM hudson.util.Retrier start
      INFO: Attempted the action check updates server for 1 time(s) with no success
      Jun 17, 2019 9:15:52 AM hudson.PluginManager doCheckUpdatesServer
      SEVERE: Error checking update sites for 1 attempt(s). Last exception was: UnknownHostException: updates.jenkins.io
      Jun 17, 2019 9:15:52 AM hudson.model.AsyncPeriodicWork$1 run
      INFO: Finished Download metadata. 94 ms
      Jun 17, 2019 9:15:53 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
      INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@bf7fc698: display name [Root WebApplicationContext]; startup date [Mon Jun 17 09:15:53 AEST 2019]; root of context hierarchy
      Jun 17, 2019 9:15:53 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
      INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@bf7fc698]: org.springframework.beans.factory.support.DefaultListableBeanFactory@86dc9c9c
      Jun 17, 2019 9:15:53 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
      INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@86dc9c9c: defining beans [authenticationManager]; root of factory hierarchy
      Jun 17, 2019 9:15:53 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
      INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@b35e7128: display name [Root WebApplicationContext]; startup date [Mon Jun 17 09:15:53 AEST 2019]; root of context hierarchy
      Jun 17, 2019 9:15:53 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
      INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@b35e7128]: org.springframework.beans.factory.support.DefaultListableBeanFactory@bafe5b68
      Jun 17, 2019 9:15:53 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
      INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@bafe5b68: defining beans [filter,legacy]; root of factory hierarchy
      Jun 17, 2019 9:15:53 AM jenkins.InitReactorRunner$1 onAttained
      INFO: Completed initialization
      Jun 17, 2019 9:15:53 AM hudson.WebAppMain$3 run
      INFO: Jenkins is fully up and running
      bash-4.4$ ps -ef | grep jenkins
      audevops 20512884 25493524 0 09:31:31 pts/2 0:00 grep jenkins

        1. web.xml
          9 kB
        2. US_export_policy.jar
          4 kB
        3. telnet_netstat.txt
          0.3 kB
        4. local_policy.jar
          4 kB
        5. JavaKeyStore.jks
          5 kB
        6. java.security_jenkins_similarto_was_onlygrep
          44 kB
        7. contents of hosts file.txt
          0.3 kB
        8. CipherErrorPage.docx
          81 kB

            v2v Victor Martinez
            sirajs1 Shabana Azmi S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: