I've installed an evaluation license for CLI. In a Confluence page, I've tried to launch a simple CLI command, to get the Space permission list and set the result in a CSV file.
So, in the body of the CLI macro, I set:
-a getSpacePermissionList --file junk.csv
Options: product=confluence; showCommand=true; server=myServer; subDirectory=.; user=raltmaye; password=myPassword
result: an exception:
Unable to log in to server: https://atlassian-dev.hq.k.grp/confluence/rpc/soap-axis/confluenceservice-v1 with user: raltmaye. Cause: ; nested exception is: com.atlassian.crowd.exception.runtime.OperationFailedException
We tried this locally using SSL and the CLI tool and it worked. Unfortunately the error in the GUI is pretty generic. You will want to find the fulll error in your atlassian-confluence.log file in the <confluence install>/logs directory and research that error.
Don't worry Ann, I know where logs are :)
So, in my log, I can see a strange error message:
2013-09-17 20:23:33,359 ERROR [http-localhost%2F127.0.0.1-8090-11] [crowd.manager.application.ApplicationServiceGeneric] authenticateUser Directory 'Crowd Server TEST' is not functional during authentication of 'raltmaye'. Skipped.
-- url: /confluence/rpc/soap-axis/confluenceservice-v1 | userName: anonymous
2013-09-17 20:23:33,364 ERROR [http-localhost%2F127.0.0.1-8090-11] [ContainerBase.[Catalina].[localhost].[/confluence]] log Unhandled exception occurred whilst decorating page
Strange, for my Crowd server is perfectly running (Confluence authentication is done against it, without any issue); the Users Directory is synchronized without any issue, and I can log on Confluence
You were sure to suggest such a thing :) I had tried it too. The result is consistent, I get the same error message, whatever command I try:
ccli -u raltmaye -p $pwd -a getServerInfo -s https://atlassian-dev.hq.k.grp/confluence
Unable to log in to server: https://atlassian-dev.hq.k.grp/confluence/rpc/soap-axis/confluenceservice-v1 with user: raltmaye.
I've of course checked the remote APIs were enabled on this test server.
More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs