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

Periodic work running with URL empty

    Details

    • Similar Issues:

      Description

      The periodic work to get the IdP metadata is not disabled if the URL is empty and the Refresh Period is not 0. you will see the following error.

      Jan 29, 2018 10:51:55 PM org.jenkinsci.plugins.saml.UpdateMetadataFromURLPeriodicWork execute
      SEVERE: Was not possible to update the IdP Metadata from the URL 
      java.io.IOException: Was not possible to update the IdP Metadata from the URL 
      	at org.jenkinsci.plugins.saml.IdpMetadataConfiguration.updateIdPMetadata(IdpMetadataConfiguration.java:145)
      	at org.jenkinsci.plugins.saml.UpdateMetadataFromURLPeriodicWork.execute(UpdateMetadataFromURLPeriodicWork.java:84)
      	at hudson.model.AsyncAperiodicWork$1.run(AsyncAperiodicWork.java:121)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.net.MalformedURLException: no protocol: 
      	at java.net.URL.<init>(URL.java:586)
      	at java.net.URL.<init>(URL.java:483)
      	at java.net.URL.<init>(URL.java:432)
      	at org.jenkinsci.plugins.saml.IdpMetadataConfiguration.updateIdPMetadata(IdpMetadataConfiguration.java:128)
      	... 3 more
      

      The workaround is to set Refresh Period to 0

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ivan Fernandez Calvo
            Path:
            src/main/java/org/jenkinsci/plugins/saml/IdpMetadataConfiguration.java
            src/main/java/org/jenkinsci/plugins/saml/UpdateMetadataFromURLPeriodicWork.java
            http://jenkins-ci.org/commit/saml-plugin/85cf4530f34ea054d4a3ac81f1607b8c3a892d7f
            Log:
            JENKINS-49239 Periodic work running with URL empty (#41)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ivan Fernandez Calvo Path: src/main/java/org/jenkinsci/plugins/saml/IdpMetadataConfiguration.java src/main/java/org/jenkinsci/plugins/saml/UpdateMetadataFromURLPeriodicWork.java http://jenkins-ci.org/commit/saml-plugin/85cf4530f34ea054d4a3ac81f1607b8c3a892d7f Log: JENKINS-49239 Periodic work running with URL empty (#41)
            Hide
            ifernandezcalvo Ivan Fernandez Calvo added a comment -

            released on SAML Plugin 1.0.6

            Show
            ifernandezcalvo Ivan Fernandez Calvo added a comment - released on SAML Plugin 1.0.6

              People

              • Assignee:
                ifernandezcalvo Ivan Fernandez Calvo
                Reporter:
                ifernandezcalvo Ivan Fernandez Calvo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: