Confluence CLI stopped working suddenly

Last month it worked fine, this month it is giving us errors and we didn't change anything. What could have caused it?

C:\CLI\confluence-cli\release>java -jar confluence-cli.jar --server http://******* --user ****** --password *** --space "***" --parent "***" --title "***" --action storePage --content "TEST"

Unable to log in to server: http://***/rpc/soap-axis/confluenceservice-v1 with user: *****.
Cause: ; nested exception is:
org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages

* = replaced content

1 answer

Simplify by trying --action login with the same user info. Next try login with a different user. Log in the server job log for any related error messages.

I get the same error with a few different logins using the login action and there are no errors in the logs.

And the different user failed as well? And the same user can login via UI? Any changes in how users authenticate? Is this a user defined directly to Confluence? If not, try with such a user.

All users have failed both confluence internal and LDAP accounts. All users can login through the actual site. No changes were made to authentication. No changes were made period, which is why this is weird.

Restart Confluence is the next thing to try.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,909 views 27 12
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you