Transferring Asset Share Link From One Instance to Another | Community
Skip to main content
bobbym33667819
Level 3
June 19, 2019
Solved

Transferring Asset Share Link From One Instance to Another

  • June 19, 2019
  • 1 reply
  • 1370 views

Hi Everyone

In 6.3.3 we are trying to transfer an asset share link generated from one instance to another. The link is generated by selecting several assets and using the Share button of the Asset Console UI

The link is generated on one instance and looks like this

http://localhost:4502/linkshare.html?sh=8f004c5f_134c_415f_bafb_380cf0afd429.02q_CpLCl_WtzRvbBfbsIngM5i31pzUCRI01RDYiSnY

Now, on another instance we have the same assets in same locations. We also transfer the newly created contend in /var/dam/share to the second instance. The second instance runs on port 4503. Then we try the same generated link with modified port number, or:

http://localhost:4503/linkshare.html?sh=8f004c5f_134c_415f_bafb_380cf0afd429.02q_CpLCl_WtzRvbBfbsIngM5i31pzUCRI01RDYiSnY

The link works and we see the list of assets on the second instance but they have no thumbnails generated. Opening the link or trying to open or download asset does not work and results in an error in the error.log of the sort:

com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareProxyServlet The request has not been authenticated using the intended auth handler.

Our question is then is it possible at all to transfer the link share from one instance to another and if so is there something else we are missing.

Thank you,

Bobby

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by user05162

This is not the designed behavior. Linkshare URL is pre-authenticated for a particular instance and should not be used for a different instance as per error at [1]. Replicating /var/dam/share is a hack that should not be used.

What is the usecase for transferring the linshare generated from one instance to another?

[1] 19.06.2019 20:49:52.196 *ERROR* [0:0:0:0:0:0:0:1 [1560991792195] GET /libs/dam/gui/content/assets/assetlinkshare.html/content/dam/we-retail/en/activities/hiking/hiking_4.jpg/_jcr_content/renditions/cq5dam.thumbnail.319.319.png HTTP/1.1] com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareProxyServlet The request has not been authenticated using the intended auth handler.

1 reply

user05162Adobe EmployeeAccepted solution
Adobe Employee
June 20, 2019

This is not the designed behavior. Linkshare URL is pre-authenticated for a particular instance and should not be used for a different instance as per error at [1]. Replicating /var/dam/share is a hack that should not be used.

What is the usecase for transferring the linshare generated from one instance to another?

[1] 19.06.2019 20:49:52.196 *ERROR* [0:0:0:0:0:0:0:1 [1560991792195] GET /libs/dam/gui/content/assets/assetlinkshare.html/content/dam/we-retail/en/activities/hiking/hiking_4.jpg/_jcr_content/renditions/cq5dam.thumbnail.319.319.png HTTP/1.1] com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareProxyServlet The request has not been authenticated using the intended auth handler.