Hi There
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
Oops - I gave you the wrong path to the log - it is in your <confluence home>/logs directory!
Don't worry Ann, I know where logs are :)
So, in my log, I can see a strange error message:
{noformat}
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
{noformat}
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
Regis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See if it is reproducable running the action directly from a command line. Not sure what that will mean, but, it would make it an easier reproduce scenario.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bob
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.
Cause: com.atlassian.crowd.exception.runtime.OperationFailedException
I've of course checked the remote APIs were enabled on this test server.
Regis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, expected that, so, that simplifies the failure. Since it is a server failure, I think it is most likely reproducible with any soap remote API access and that is something that Atlassian support should be able to work on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.