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

EC2 Plugin: Endpoint does not contain a valid host name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ec2-plugin
    • None

       The plugin can't figure out correct AWS Region, hence causing the error. The Jenkins has been working behind a forwardproxy well for a long time, but it failed recently out of blue.

      Is there anyway I could mitigate it? i.e. Allow me to override the Region, rather than relying on the Plugin to figure out dynamically.

      java.lang.IllegalArgumentException: Endpoint does not contain a valid host name: https://ec2..amazonaws.com/
      	at com.amazonaws.AmazonWebServiceClient.computeSignerByURI(AmazonWebServiceClient.java:426)
      	at com.amazonaws.AmazonWebServiceClient.setEndpoint(AmazonWebServiceClient.java:318)
      	at hudson.plugins.ec2.util.AmazonEC2FactoryImpl.connect(AmazonEC2FactoryImpl.java:18)
      	at hudson.plugins.ec2.SlaveTemplate$DescriptorImpl.doValidateAmi(SlaveTemplate.java:1504)
      	at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
      	at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
      	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
      	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
      	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
      	at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
      

            thoulen FABRIZIO MANFREDI
            jin_1234 song jin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: