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

java.net.MalformedURLException: no protocol: http%3A%2F%2Fmyserver

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Jenkins ver. 1.590, Parameterized Remote Trigger Plugin ver. 2.1.3, CentOS release 5.3 (Final), Firefox 34.0.5,

      Using plugin: Parameterized Remote Trigger Plugin ver. 2.1.3 to call a remote jenkins job and getting the following error (from jenkins.out):

      java.net.MalformedURLException: no protocol: http%3A%2F%2Fmyserver.mydomain.com%3A8080%2Fjenkins%2F%2Fjob%2FDeploy-APP-Trigger%2Fapi%2Fjson
              at java.net.URL.<init>(URL.java:585)
              at java.net.URL.<init>(URL.java:482)
              at java.net.URL.<init>(URL.java:431)
              at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.sendHTTPCall(RemoteBuildConfiguration.java:699)
              at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.sendHTTPCall(RemoteBuildConfiguration.java:672)
              at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.isRemoteJobParameterized(RemoteBuildConfiguration.java:916)
              at org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.perform(RemoteBuildConfiguration.java:482)
              at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
              at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
              at hudson.model.Build$BuildExecution.build(Build.java:199)
              at hudson.model.Build$BuildExecution.doRun(Build.java:160)
              at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
              at hudson.model.Run.execute(Run.java:1759)
              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
              at hudson.model.ResourceController.execute(ResourceController.java:89)
              at hudson.model.Executor.run(Executor.java:240)
      

          [JENKINS-26127] java.net.MalformedURLException: no protocol: http%3A%2F%2Fmyserver

          Dan Z. added a comment -

          I see this problem might be fixed with pull 5 (which is not released yet): https://github.com/jenkinsci/parameterized-remote-trigger-plugin/pull/5

          Dan Z. added a comment - I see this problem might be fixed with pull 5 (which is not released yet): https://github.com/jenkinsci/parameterized-remote-trigger-plugin/pull/5

          Zihao Yu added a comment -

          I'm seeing this error too. Can we release a new version of the plugin to get the fix shipped?

          Zihao Yu added a comment - I'm seeing this error too. Can we release a new version of the plugin to get the fix shipped?

          Jack Adams added a comment - - edited

          This is stopping me from being able to use HTTPS with parameterized remote trigger plugin.

          Jack Adams added a comment - - edited This is stopping me from being able to use HTTPS with parameterized remote trigger plugin.

          M Chon added a comment -

          I am also seeing the issue, but remote parameterized trigger seems to still work.

          M Chon added a comment - I am also seeing the issue, but remote parameterized trigger seems to still work.

          Maurice W. added a comment -

          This has been fixed with this commit: https://github.com/scottanderson/parameterized-remote-trigger-plugin/commit/a2360deb4d58bbb0f8df703c9e7d434bee82c228. Will be included in the upcoming release.

          Maurice W. added a comment - This has been fixed with this commit: https://github.com/scottanderson/parameterized-remote-trigger-plugin/commit/a2360deb4d58bbb0f8df703c9e7d434bee82c228 . Will be included in the upcoming release.

          Maurice W. added a comment -

          Fixed in version 2.2.0 (released on May 12, should be available in the Download Center by May 13)

          Maurice W. added a comment - Fixed in version 2.2.0 (released on May 12, should be available in the Download Center by May 13)

            morficus Maurice W.
            dzamfir Dan Z.
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: