org.swift.common.cli.CliClient$ClientException: Invalid url: jira.fleetboard.net/rest/org.swift.jira.cli/latest/validatelicense?

JIRA | FleetBoard | 11 months ago
  1. 0

    After upgrading to JIRA 6.4.5 to version 7.0.10 we cannot establish a connection via CLI. We have updated the CLI to the latest version. The output of our command is: Client error: Invalid url: jira.fleetboard.net/rest/org.swift.jira.cli/latest/validatelicense? org.swift.common.cli.CliClient$ClientException: Invalid url: jira.fleetboard.net/rest/org.swift.jira.cli/latest/validatelicense? at org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection(AbstractRestClient.java:723) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:571) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:542) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:517) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:505) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:489) at org.swift.common.cli.AppfireClient.getServerInfo(AppfireClient.java:171) at org.swift.jira.cli.JiraClient.getRemoteServerInfo(JiraClient.java:1959) at org.swift.jira.cli.JiraClient.validateJiraRelease(JiraClient.java:2119) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:749) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.jira.cli.JiraClient.main(JiraClient.java:157)

    JIRA | 11 months ago | FleetBoard
    org.swift.common.cli.CliClient$ClientException: Invalid url: jira.fleetboard.net/rest/org.swift.jira.cli/latest/validatelicense?
  2. 0

    After upgrading to JIRA 6.4.5 to version 7.0.10 we cannot establish a connection via CLI. We have updated the CLI to the latest version. The output of our command is: Client error: Invalid url: jira.fleetboard.net/rest/org.swift.jira.cli/latest/validatelicense? org.swift.common.cli.CliClient$ClientException: Invalid url: jira.fleetboard.net/rest/org.swift.jira.cli/latest/validatelicense? at org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection(AbstractRestClient.java:723) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:571) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:542) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:517) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:505) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:489) at org.swift.common.cli.AppfireClient.getServerInfo(AppfireClient.java:171) at org.swift.jira.cli.JiraClient.getRemoteServerInfo(JiraClient.java:1959) at org.swift.jira.cli.JiraClient.validateJiraRelease(JiraClient.java:2119) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:749) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.jira.cli.JiraClient.main(JiraClient.java:157)

    JIRA | 11 months ago | FleetBoard
    org.swift.common.cli.CliClient$ClientException: Invalid url: jira.fleetboard.net/rest/org.swift.jira.cli/latest/validatelicense?
  3. 0

    Hi Bob, We have updated the Atlassian CLI from version 3.9 to 5.1.0 in our production and test environment. Connecting to our JIRA instance from our test environment works well. However, trying to connect to our JIRA instance from our production-system results in following error: java -Dhttp.proxyHost='security-proxy' -Dhttp.proxyPort='3128' -Dhttp.proxyUser='username' -Dhttp.proxyPassword='password' -jar ./lib/jira-cli-5.1.0.jar --server https://jira.fleetboard.net --user username --password password -a getIssuseList --search "project = ITOPS and type = Handovers" --debug The exception is: Server address: https://jira.fleetboard.net/rpc/soap/jirasoapservice-v2 URL requested: https://jira.fleetboard.net/rest/org.swift.jira.cli/latest/validatelicense? Request type: GET Content type: application/json create a new cookie manager for client: org.swift.jira.cli.JiraClient@5351660a, cookie file: reuse cookie manager from host client: org.swift.jira.cli.JiraClient@5351660a for client: org.swift.common.cli.AppfireClient@577412d0 Using basic authentication. java.net.ConnectException: Connection refused at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1672) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1670) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) at org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection(AbstractRestClient.java:662) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:571) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:542) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:517) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:505) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:489) at org.swift.common.cli.AppfireClient.getServerInfo(AppfireClient.java:171) at org.swift.jira.cli.JiraClient.getRemoteServerInfo(JiraClient.java:1959) at org.swift.jira.cli.JiraClient.validateJiraRelease(JiraClient.java:2119) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:749) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.jira.cli.JiraClient.main(JiraClient.java:157) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618) at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:378) at sun.net.www.http.HttpClient.openServer(HttpClient.java:473) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:270) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:327) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299) at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnection.java:2730) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFieldKey(HttpsURLConnectionImpl.java:307) at org.swift.common.cli.CookieManager.addCookiesFromUrl(CookieManager.java:139) at org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection(AbstractRestClient.java:654) ... 12 more Client error: Invalid request: java.net.ConnectException: Connection refused org.swift.common.cli.CliClient$ClientException: Invalid request: java.net.ConnectException: Connection refused at org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection(AbstractRestClient.java:730) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:571) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:542) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:517) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:505) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:489) at org.swift.common.cli.AppfireClient.getServerInfo(AppfireClient.java:171) at org.swift.jira.cli.JiraClient.getRemoteServerInfo(JiraClient.java:1959) at org.swift.jira.cli.JiraClient.validateJiraRelease(JiraClient.java:2119) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:749) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.jira.cli.JiraClient.main(JiraClient.java:157)

    JIRA | 9 months ago | FleetBoard
    org.swift.common.cli.CliClient$ClientException: Invalid request: java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi Bob, We have updated the Atlassian CLI from version 3.9 to 5.1.0 in our production and test environment. Connecting to our JIRA instance from our test environment works well. However, trying to connect to our JIRA instance from our production-system results in following error: java -Dhttp.proxyHost='security-proxy' -Dhttp.proxyPort='3128' -Dhttp.proxyUser='username' -Dhttp.proxyPassword='password' -jar ./lib/jira-cli-5.1.0.jar --server https://jira.fleetboard.net --user username --password password -a getIssuseList --search "project = ITOPS and type = Handovers" --debug The exception is: Server address: https://jira.fleetboard.net/rpc/soap/jirasoapservice-v2 URL requested: https://jira.fleetboard.net/rest/org.swift.jira.cli/latest/validatelicense? Request type: GET Content type: application/json create a new cookie manager for client: org.swift.jira.cli.JiraClient@5351660a, cookie file: reuse cookie manager from host client: org.swift.jira.cli.JiraClient@5351660a for client: org.swift.common.cli.AppfireClient@577412d0 Using basic authentication. java.net.ConnectException: Connection refused at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1672) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1670) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) at org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection(AbstractRestClient.java:662) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:571) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:542) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:517) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:505) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:489) at org.swift.common.cli.AppfireClient.getServerInfo(AppfireClient.java:171) at org.swift.jira.cli.JiraClient.getRemoteServerInfo(JiraClient.java:1959) at org.swift.jira.cli.JiraClient.validateJiraRelease(JiraClient.java:2119) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:749) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.jira.cli.JiraClient.main(JiraClient.java:157) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618) at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:378) at sun.net.www.http.HttpClient.openServer(HttpClient.java:473) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:270) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:327) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299) at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnection.java:2730) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFieldKey(HttpsURLConnectionImpl.java:307) at org.swift.common.cli.CookieManager.addCookiesFromUrl(CookieManager.java:139) at org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection(AbstractRestClient.java:654) ... 12 more Client error: Invalid request: java.net.ConnectException: Connection refused org.swift.common.cli.CliClient$ClientException: Invalid request: java.net.ConnectException: Connection refused at org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection(AbstractRestClient.java:730) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:571) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:542) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:517) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:505) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:489) at org.swift.common.cli.AppfireClient.getServerInfo(AppfireClient.java:171) at org.swift.jira.cli.JiraClient.getRemoteServerInfo(JiraClient.java:1959) at org.swift.jira.cli.JiraClient.validateJiraRelease(JiraClient.java:2119) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:749) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.jira.cli.JiraClient.main(JiraClient.java:157)

    JIRA | 9 months ago | FleetBoard
    org.swift.common.cli.CliClient$ClientException: Invalid request: java.net.ConnectException: Connection refused
  6. 0

    When I try to export a whole space I sometimes get a 403 error but sometimes it works. Here the log output: u837608@LHT-N51548 /cygdrive/c/Users/u837608/Downloads/atlassian-cli-5.1.0 % ./confluence.bat --action exportSpace --space "mreliabilityfleet" --file "exportSpaceHtml.zip" --exportType "HTML" -v Server address: https://lht.app.lufthansa.com/confluence/rpc/soap-axis/confluenceservice-v2 Successful login to: https://lht.app.lufthansa.com/confluence/rpc/soap-axis/confluenceservice-v2 by user: u837608. Response code: 200, message: OK, url: https://lht.app.lufthansa.com/confluence/rest/org.swift.confluence.cli/latest/validatelicense? Space exported with url: https://lht.app.lufthansa.com/confluence/download/temp/htmlexport-20160308-133651-113/Confluence-space-export-133843-114.html.zip to file: exportSpaceHtml.zip 62461df693 logged out. u837608@LHT-N51548 /cygdrive/c/Users/u837608/Downloads/atlassian-cli-5.1.0 % ./confluence.bat --action exportSpace --space "SDG" --file "exportSpaceHtml.zip" --exportType "HTML" -v !180 Server address: https://lht.app.lufthansa.com/confluence/rpc/soap-axis/confluenceservice-v2 Successful login to: https://lht.app.lufthansa.com/confluence/rpc/soap-axis/confluenceservice-v2 by user: u837608. Response code: 200, message: OK, url: https://lht.app.lufthansa.com/confluence/rest/org.swift.confluence.cli/latest/validatelicense? e0292d11bb logged out. Client error: Bad response code (403) received trying to retrieve data from URL: https://lht.app.lufthansa.com/confluence/download/temp/htmlexport-20160308-134006-275/Confluence-space-export-134048-276.html.zip org.swift.common.cli.CliClient$ClientException: Bad response code (403) received trying to retrieve data from URL: https://lht.app.lufthansa.com/confluence/download/temp/htmlexport-20160308-134006-275/Confluence-space-export-134048-276.html.zip at org.swift.common.cli.CliUtils.copyUrlToFile(CliUtils.java:223) at org.swift.confluence.cli.ConfluenceClient.exportSpace(ConfluenceClient.java:6234) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:923) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312) at org.swift.common.cli.CliClient.doWork(CliClient.java:433) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:171)

    JIRA | 10 months ago | Kevin Rancka
    org.swift.common.cli.CliClient$ClientException: Bad response code (403) received trying to retrieve data from URL: https://lht.app.lufthansa.com/confluence/download/temp/htmlexport-20160308-134006-275/Confluence-space-export-134048-276.html.zip

    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. org.swift.common.cli.CliClient$ClientException

      Invalid url: jira.fleetboard.net/rest/org.swift.jira.cli/latest/validatelicense?

      at org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection()
    2. org.swift.common
      AppfireClient.getServerInfo
      1. org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection(AbstractRestClient.java:723)
      2. org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:571)
      3. org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:542)
      4. org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:517)
      5. org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:505)
      6. org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:489)
      7. org.swift.common.cli.AppfireClient.getServerInfo(AppfireClient.java:171)
      7 frames
    3. org.swift.jira
      JiraClient.handleRequest
      1. org.swift.jira.cli.JiraClient.getRemoteServerInfo(JiraClient.java:1959)
      2. org.swift.jira.cli.JiraClient.validateJiraRelease(JiraClient.java:2119)
      3. org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:749)
      3 frames
    4. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:312)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:433)
      2 frames
    5. org.swift.jira
      JiraClient.main
      1. org.swift.jira.cli.JiraClient.main(JiraClient.java:157)
      1 frame