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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

833 views 23 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