java.net.MalformedURLException: no protocol: https%3A%2F%2Ftest.jenkins.retail-sc.com%2F%2Fjob%2Ftest-1-run%2Fapi%2Fjson

Jenkins JIRA | Stefan Cordes | 1 year ago
  1. 0

    Allow setting https host for trigger server. Currently connection = (HttpURLConnection) buildUrl.openConnection(); in RemoteBuildConfiguration will get a classcastException. (Checking with our Jenkins ver. 1.609.1 setting https://test.jenkins.retail-sc.com/ as "Remote address and port" fails with {{java.net.MalformedURLException: no protocol: https%3A%2F%2Ftest.jenkins.retail-sc.com%2F%2Fjob%2Ftest-1-run%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:761) at hudson.model.Build$BuildExecution.build(Build.java:203) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) }}

    Jenkins JIRA | 1 year ago | Stefan Cordes
    java.net.MalformedURLException: no protocol: https%3A%2F%2Ftest.jenkins.retail-sc.com%2F%2Fjob%2Ftest-1-run%2Fapi%2Fjson
  2. 0

    Allow setting https host for trigger server. Currently connection = (HttpURLConnection) buildUrl.openConnection(); in RemoteBuildConfiguration will get a classcastException. (Checking with our Jenkins ver. 1.609.1 setting https://test.jenkins.retail-sc.com/ as "Remote address and port" fails with {{java.net.MalformedURLException: no protocol: https%3A%2F%2Ftest.jenkins.retail-sc.com%2F%2Fjob%2Ftest-1-run%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:761) at hudson.model.Build$BuildExecution.build(Build.java:203) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) }}

    Jenkins JIRA | 1 year ago | Stefan Cordes
    java.net.MalformedURLException: no protocol: https%3A%2F%2Ftest.jenkins.retail-sc.com%2F%2Fjob%2Ftest-1-run%2Fapi%2Fjson
  3. 0

    Using plugin: Parameterized Remote Trigger Plugin ver. 2.1.3 to call a remote jenkins job and getting the following error (from jenkins.out): {code} 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) {code}

    Jenkins JIRA | 2 years ago | Dan Z.
    java.net.MalformedURLException: no protocol: http%3A%2F%2Fmyserver.mydomain.com%3A8080%2Fjenkins%2F%2Fjob%2FDeploy-APP-Trigger%2Fapi%2Fjson
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    jenkins-ci.org | 4 months ago
    java.net.MalformedURLException: no protocol: http%3A%2F%2Fmyserver.mydomain.com%3A8080%2Fjenkins%2F%2Fjob%2FDeploy-APP-Trigger%2Fapi%2Fjson
  6. 0

    Using plugin: Parameterized Remote Trigger Plugin ver. 2.1.3 to call a remote jenkins job and getting the following error (from jenkins.out): {code} 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) {code}

    Jenkins JIRA | 2 years ago | Dan Z.
    java.net.MalformedURLException: no protocol: http%3A%2F%2Fmyserver.mydomain.com%3A8080%2Fjenkins%2F%2Fjob%2FDeploy-APP-Trigger%2Fapi%2Fjson

  1. boussoffara med ali 11 times, last 1 week ago
  2. bmacedo 2 times, last 1 week ago
  3. Aria Pahlavan 41 times, last 3 weeks ago
  4. Andreas Häber 13 times, last 4 weeks ago
  5. ajinkya_w 21 times, last 2 months ago
33 more registered users
46 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.MalformedURLException

    no protocol: https%3A%2F%2Ftest.jenkins.retail-sc.com%2F%2Fjob%2Ftest-1-run%2Fapi%2Fjson

    at java.net.URL.<init>()
  2. Java RT
    URL.<init>
    1. java.net.URL.<init>(URL.java:585)
    2. java.net.URL.<init>(URL.java:482)
    3. java.net.URL.<init>(URL.java:431)
    3 frames
  3. org.jenkinsci.plugins
    RemoteBuildConfiguration.perform
    1. org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.sendHTTPCall(RemoteBuildConfiguration.java:699)
    2. org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.sendHTTPCall(RemoteBuildConfiguration.java:672)
    3. org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.isRemoteJobParameterized(RemoteBuildConfiguration.java:916)
    4. org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.perform(RemoteBuildConfiguration.java:482)
    4 frames
  4. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
    3. hudson.model.Build$BuildExecution.build(Build.java:203)
    4. hudson.model.Build$BuildExecution.doRun(Build.java:160)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
    6. hudson.model.Run.execute(Run.java:1741)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:98)
    9. hudson.model.Executor.run(Executor.java:374)
    9 frames