space export works, but file is not copied to --file destination

Hiya,

The CLI tools have always been a great help to export out spaces. However after the last upgrade to 5.1 and CLI tools 3.3.0 I am having some trouble with exporting the spaces (as html). The export seems to be fine and things show up in the "temp" folder in the confluence home dir. However they are not moved into place afterwards (the --file option is not used it seems).

Am I hitting a bug, or doing something wrong?

I'm running it as follows (along with the error:)

-bash-4.1$ /export/confluence-cli-3.3.0/confluence.sh --user spaces-exporter --password xxx --server http://localhost:8090 --action exportSpace --exportType HTML --space far --file "/nfs/dumps/test-dump.zip" --verbose
Server address: http://localhost:8090/rpc/soap-axis/confluenceservice-v1

Successful login to: http://localhost:8090/rpc/soap-axis/confluenceservice-v1 by user: spaces-exporter.
Using basic authentication.
cb7f9266eb logged out.

Client error: javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
org.swift.common.cli.CliClient$ClientException: javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
	at org.swift.common.cli.CliUtils.copyUrlToFile(CliUtils.java:218)
	at org.swift.confluence.cli.ConfluenceClient.exportSpace(ConfluenceClient.java:4487)
	at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:693)
	at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122)
	at org.swift.common.cli.CliClient.doWork(CliClient.java:315)
	at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:146)

2 answers

According to this stack trace it looks like the server name is incorrect. Also it's worth to check with the plugin vendor regarding this problem.

According to this stack trace it looks like the server name is incorrect. Also it's worth to check with the plugin vendor regarding this problem.

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 ...

850 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