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

Periodic work running with URL empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • saml-plugin
    • None

      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

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

              Created:
              Updated:
              Resolved: