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

1,777 views 25 10
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