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

Gerrit Missed Events Playback is not supported. Verify if the connection has the REST API enabled and that the Gerrit Events-log plugin is installed and configured on the Gerrit Server.

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: gerrit-trigger-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.121.3
      Gerrit Trigger Plugin Version: 2.27.5
      Gerrit Code Review (2.14.8)
      events-log plugin version v2.13-15-g7d4a8be
    • Similar Issues:

      Description

      Hi:

      I am having issues with Gerrit Trigger Plugin in Jenkins,  then plugins shows the following message:

       

      Gerrit Missed Events Playback is not supported. Verify if the connection has the REST API enabled and that the Gerrit Events-log plugin is installed and configured on the Gerrit Server.

       

      I have all in order and I can not figure out where could be the issue

       

      Document followed:

      =========================

      https://wiki.jenkins.io/display/JENKINS/Gerrit+Trigger#GerritTrigger-MissedEventsPlaybackFeature(Availablefromv.2.14.0)

       

      Comments:

      ========================

      Jenkins:

      Gerrit Connection Setting is success

      REST API Connection is success

       

      Configurations:

      ==========================

      Gerrit plugin events-log configuration:

      [plugin "events-log"][plugin "events-log"]

      maxAge = 30

      returnLimit = 10000

      storeUrl = jdbc:h2:/home/gerrit/tree/events/db   

      urlOptions = loglevel=INFO   

      urlOptions = logUnclosedConnections=true   

      copyLocal = true

       

       

      Any help here will be welcome. Thanks

        Attachments

          Activity

          Hide
          skulanov Sergey Kulanov added a comment -

          please see the logs on the issue

          Sep 20, 2018 10:51:01 AM com.sonyericsson.hudson.plugins.gerrit.trigger.playback.GerritMissedEventsPlaybackManager checkIfEventsLogPluginSupported
          WARNING: Could not determine plugin support for events-log; leaving status as false
          Sep 20, 2018 10:51:03 AM com.sonyericsson.hudson.plugins.gerrit.trigger.utils.GerritPluginChecker isPluginEnabled
          WARNING: Not able to verify if Gerrit plugin events-log is installed. Error: Unrecognized SSL message, plaintext connection?
          javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
          	at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
          	at sun.security.ssl.InputRecord.read(InputRecord.java:527)
          	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
          	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
          	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
          	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
          	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396)
          	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355)
          	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
          	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:359)
          	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)
          	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
          	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
          	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
          	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
          	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
          	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
          	at com.sonyericsson.hudson.plugins.gerrit.trigger.utils.HttpUtils.performHTTPGet(HttpUtils.java:84)
          	at com.sonyericsson.hudson.plugins.gerrit.trigger.utils.GerritPluginChecker.isPluginEnabled(GerritPluginChecker.java:164)
          	at com.sonyericsson.hudson.plugins.gerrit.trigger.playback.GerritMissedEventsPlaybackManager.checkIfEventsLogPluginSupported(GerritMissedEventsPlaybackManager.java:155)
          	at com.sonyericsson.hudson.plugins.gerrit.trigger.playback.GerritMissedEventsPlaybackManager.performCheck(GerritMissedEventsPlaybackManager.java:120)
          	at com.sonyericsson.hudson.plugins.gerrit.trigger.playback.GerritMissedEventsPlaybackEnabledChecker.execute(GerritMissedEventsPlaybackEnabledChecker.java:82)
          	at hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:101)
          	at java.lang.Thread.run(Thread.java:748)

           

          Show
          skulanov Sergey Kulanov added a comment - please see the logs on the issue Sep 20, 2018 10:51:01 AM com.sonyericsson.hudson.plugins.gerrit.trigger.playback.GerritMissedEventsPlaybackManager checkIfEventsLogPluginSupported WARNING: Could not determine plugin support for events-log; leaving status as false Sep 20, 2018 10:51:03 AM com.sonyericsson.hudson.plugins.gerrit.trigger.utils.GerritPluginChecker isPluginEnabled WARNING: Not able to verify if Gerrit plugin events-log is installed. Error: Unrecognized SSL message, plaintext connection? javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710) at sun.security.ssl.InputRecord.read(InputRecord.java:527) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:359) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at com.sonyericsson.hudson.plugins.gerrit.trigger.utils.HttpUtils.performHTTPGet(HttpUtils.java:84) at com.sonyericsson.hudson.plugins.gerrit.trigger.utils.GerritPluginChecker.isPluginEnabled(GerritPluginChecker.java:164) at com.sonyericsson.hudson.plugins.gerrit.trigger.playback.GerritMissedEventsPlaybackManager.checkIfEventsLogPluginSupported(GerritMissedEventsPlaybackManager.java:155) at com.sonyericsson.hudson.plugins.gerrit.trigger.playback.GerritMissedEventsPlaybackManager.performCheck(GerritMissedEventsPlaybackManager.java:120) at com.sonyericsson.hudson.plugins.gerrit.trigger.playback.GerritMissedEventsPlaybackEnabledChecker.execute(GerritMissedEventsPlaybackEnabledChecker.java:82) at hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:101) at java.lang.Thread.run(Thread.java:748)  

            People

            • Assignee:
              rsandell rsandell
              Reporter:
              hiperezr Humberto Israel Perez Rodriguez
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: