Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error while running Confluence CLI command

Peter Hanraets June 19, 2016

Hi,

I am evaluating Confluence CLI plugin (already using JIRA and Bamboo CLI).

I run the following command (with corresponding output):

C:\Applications\Atlassian\atlassian-cli-5.4.0>confluence --server https://vikipedia.acc.vanderlande.com --user nlph --password ********--action getPageList --title "Vikipedia Home" -v
Server address: https://vikipedia.acc.vanderlande.com
Successful login to: https://vikipedia.acc.vanderlande.com/rpc/soap-axis/confluenceservice-v2 by user: nlph.
Response code: 200, message: OK, url: https://vikipedia.acc.vanderlande.com/rest/org.swift.confluence.cli/latest/validatelicense?
1bdb5e8578 logged out.

Client error:
org.swift.common.cli.CliClient$LicenseValidationException:
at org.swift.common.cli.AbstractRemoteClient.validateLicense(AbstractRemoteClient.java:207)
at org.swift.confluence.cli.ConfluenceClient.validateLicense(ConfluenceClient.java:321)
at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:671)
at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:448)
at org.swift.common.cli.CliClient.doWork(CliClient.java:454)
at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:184)

If I go to that validatlicense URL it gives me:

{"status":true,"message":"Bob Swift Atlassian Add-ons - Confluence CLI Connector has a valid license.","product":"Confluence","version":"5.8.17","build":"5997","time":"2016-06-20T08:40:36.435+0200","timeZone":"Central European Time","title":"Vikipedia Acceptance","baseUrl":"https://vikipedia.acc.vanderlande.com","connectorVersion":"5.4.0"}

What did I do wrong???

2 answers

1 vote
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 20, 2016

Duplicated here.

Aditya Verma
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 15, 2018

There is no resolution to this problem even at the link provided by @Bob Swift OSS (Bob Swift Atlassian Apps).

0 votes
Peter Hanraets June 19, 2016

Debug output shows no response from the license validation:

Using basic authentication.

Response code: 200, message: OK, url: https://vikipedia.acc.vanderlande.com/rest/org.swift.confluence.cli/latest/validatelicense?

Result data:

license validation: {}

check_mssql_query_string_regex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events