Uploaded image for project: 'Bamboo Artifactory Plug-in'
  1. Bamboo Artifactory Plug-in
  2. BAP-131

Server configuration does not resolve hostname with "_" within a server name

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.4
    • Labels:
    • Environment:

      Bamboo 3.4.3

      Description

      I have created temporary Artifactory instance "http://gd_artifactory_poc.artifactoryonline.com" for evaluating Artifactory possibilities.

      Configuration in Bamboo Server in Use Case 'Edit Server Configuration' fails after click on "Test" button.
      Parameters:
      Artifactory Server URL: http://gd_artifactory_poc.artifactoryonline.com
      Username: ******
      Password: ******
      Timeout: 300

      Error message in Bamboo log file:
      ERROR [qtp2065554654-6636] [ConfigureArtifactoryServerAction] Error while testing the connection to Artifactory server http://gd_artifactory_poc.artifactoryonline.com/
      java.lang.IllegalArgumentException: Host name may not be null
      at org.apache.http.HttpHost.<init>(HttpHost.java:83)
      at org.apache.http.impl.client.AbstractHttpClient.determineTarget(AbstractHttpClient.java:586)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
      at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:95)
      at org.jfrog.build.client.ArtifactoryHttpClient.getVersion(ArtifactoryHttpClient.java:130)
      at org.jfrog.build.client.ArtifactoryBuildInfoClient.verifyCompatibleArtifactoryVersion(ArtifactoryBuildInfoClient.java:303)
      at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.testConnection(ConfigureArtifactoryServerAction.java:188)
      at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.doUpdate(ConfigureArtifactoryServerAction.java:104)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      ...

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                noam.tenne Noam Y. Tenne (Inactive)
                Reporter:
                rdkchrom Radek Chromy
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: