org.swift.common.cli.AbstractRemoteClient$RemoteRestException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Getting "Remote error: Unable to move page. Reason is unknown." when performing a movePage from CLI client. v3.9.0 is the only version that works with other commands like getServerInfo and getSpaceList, but does not work with movePage qatest01:~/confluence-cli-3.9.0> *./confluence.sh --action movePage --space "INCID" --title "IM-313019" --newSpace "INCIDARCH" --parent "Incidents Archive Home" --descendents -v* Server address: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v1 Successful login to: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v1 by user: username. Server address: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v2 Successful login to: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v2 by user: username. Action requires v2 remote API level. Service automatically updated to v2. URL requested: https://apps.mclaneco.com/wiki/pages/movepage.action?&spaceKey=INCIDARCH&os_password=***&targetTitle=Incidents+Archive+Home&os_username=username&position=append&pageId=452427965 Request type: GET Content type: application/xml Reading Key: Global_Services Val: 0000F_VXORWbHzTPaEFLRRot3yN:18itpqsl4 Reading Key: loginResult Val: 1 Reading Key: ApacheSrc Val: I Response code: 302, message: Found, url: https://www.mclaneco.com/mwa/redirect.jsp Redirecting to: http://www.mclaneco.com URL requested: http://www.mclaneco.com Request type: GET Content type: application/xml Response code: 301, message: Moved Permanently, url: http://www.mclaneco.com Redirecting to: https://www.mclaneco.com/ URL requested: https://www.mclaneco.com/ Request type: GET Content type: application/xml Response code: 200, message: OK, url: https://www.mclaneco.com/content/mclane/en/home.html Remote error: Unable to move page. Reason is unknown. org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Unable to move page. Reason is unknown. at org.swift.confluence.cli.ConfluenceClient.movePage(ConfluenceClient.java:1993) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:508) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122) at org.swift.common.cli.CliClient.doWork(CliClient.java:392) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:150) 7bea5d31d8 logged out.
    via by Terry Howdson,
  • Getting "Remote error: Unable to move page. Reason is unknown." when performing a movePage from CLI client. v3.9.0 is the only version that works with other commands like getServerInfo and getSpaceList, but does not work with movePage qatest01:~/confluence-cli-3.9.0> *./confluence.sh --action movePage --space "INCID" --title "IM-313019" --newSpace "INCIDARCH" --parent "Incidents Archive Home" --descendents -v* Server address: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v1 Successful login to: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v1 by user: username. Server address: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v2 Successful login to: https://apps.mclaneco.com/wiki/rpc/soap-axis/confluenceservice-v2 by user: username. Action requires v2 remote API level. Service automatically updated to v2. URL requested: https://apps.mclaneco.com/wiki/pages/movepage.action?&spaceKey=INCIDARCH&os_password=***&targetTitle=Incidents+Archive+Home&os_username=username&position=append&pageId=452427965 Request type: GET Content type: application/xml Reading Key: Global_Services Val: 0000F_VXORWbHzTPaEFLRRot3yN:18itpqsl4 Reading Key: loginResult Val: 1 Reading Key: ApacheSrc Val: I Response code: 302, message: Found, url: https://www.mclaneco.com/mwa/redirect.jsp Redirecting to: http://www.mclaneco.com URL requested: http://www.mclaneco.com Request type: GET Content type: application/xml Response code: 301, message: Moved Permanently, url: http://www.mclaneco.com Redirecting to: https://www.mclaneco.com/ URL requested: https://www.mclaneco.com/ Request type: GET Content type: application/xml Response code: 200, message: OK, url: https://www.mclaneco.com/content/mclane/en/home.html Remote error: Unable to move page. Reason is unknown. org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Unable to move page. Reason is unknown. at org.swift.confluence.cli.ConfluenceClient.movePage(ConfluenceClient.java:1993) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:508) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122) at org.swift.common.cli.CliClient.doWork(CliClient.java:392) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:150) 7bea5d31d8 logged out.
    via by Terry Howdson,
  • Attempting to use the restoreExport from the CLI unsuccessfully. I've already been using the CLI to perform other actions (removeSpace, exportSpace) on the same server using the same login credentials. The following shows the response when I run the command with the -v option: C:\Confluence_CLI_Jarvis>confluence.bat -a restoreExport -f export.zip -v Server address: http://servername:8090/rpc/soap-axis/confluenceservice-v1 Successful login to: http://servername:8090/rpc/soap-axis/confluenceservice-v1 by user: username. Token is Im58Fxwa1H URL requested: http://servername:8090/admin/restore-local-file.action?os_userna me=username&os_password=***&buildIndex=true&localFileName=DI1025_export.zip Request type: GET Content type: application/url_encoded Response code: 200, message: OK, url: http://servername:8090/authenticate.actio n;jsessionid=9C544173125941CE90C42B59BB687C30?destination=/admin/restore-local-f ile.action?os_username=username&os_password=***&buildIndex=true&localFileName=DI10 25_export.zip Start of response data: C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict .dtd"><html><head> <title>Adminis Remote error: Could not find indication of a successful start of import processi ng. Use -v to see some response data. org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Could not find in dication of a successful start of import processing. Use -v to see some response data. at org.swift.confluence.cli.ConfluenceRestClient.parseResultData(Conflue nceRestClient.java:167) at org.swift.confluence.cli.ConfluenceRestClient.restRequest(ConfluenceR estClient.java:282) at org.swift.confluence.cli.ConfluenceClient.restoreExport(ConfluenceCli ent.java:3952) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceCli ent.java:665) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClien t.java:118) at org.swift.common.cli.CliClient.doWork(CliClient.java:302) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java: 132) Im58Fxwa1H logged out.
    via by Derek Dukes,
  • Attempting to use the restoreExport from the CLI unsuccessfully. I've already been using the CLI to perform other actions (removeSpace, exportSpace) on the same server using the same login credentials. The following shows the response when I run the command with the -v option: C:\Confluence_CLI_Jarvis>confluence.bat -a restoreExport -f export.zip -v Server address: http://servername:8090/rpc/soap-axis/confluenceservice-v1 Successful login to: http://servername:8090/rpc/soap-axis/confluenceservice-v1 by user: username. Token is Im58Fxwa1H URL requested: http://servername:8090/admin/restore-local-file.action?os_userna me=username&os_password=***&buildIndex=true&localFileName=DI1025_export.zip Request type: GET Content type: application/url_encoded Response code: 200, message: OK, url: http://servername:8090/authenticate.actio n;jsessionid=9C544173125941CE90C42B59BB687C30?destination=/admin/restore-local-f ile.action?os_username=username&os_password=***&buildIndex=true&localFileName=DI10 25_export.zip Start of response data: C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict .dtd"><html><head> <title>Adminis Remote error: Could not find indication of a successful start of import processi ng. Use -v to see some response data. org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Could not find in dication of a successful start of import processing. Use -v to see some response data. at org.swift.confluence.cli.ConfluenceRestClient.parseResultData(Conflue nceRestClient.java:167) at org.swift.confluence.cli.ConfluenceRestClient.restRequest(ConfluenceR estClient.java:282) at org.swift.confluence.cli.ConfluenceClient.restoreExport(ConfluenceCli ent.java:3952) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceCli ent.java:665) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClien t.java:118) at org.swift.common.cli.CliClient.doWork(CliClient.java:302) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java: 132) Im58Fxwa1H logged out.
    via by Derek Dukes,
    • org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Unable to move page. Reason is unknown. at org.swift.confluence.cli.ConfluenceClient.movePage(ConfluenceClient.java:1993) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:508) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122) at org.swift.common.cli.CliClient.doWork(CliClient.java:392) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:150)
    No Bugmate found.