Hello All,
We are looking to use Dynamic Media in AEM cloud and have been able to connect to Dynamic media as explained at https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/dynamicmedia...
1. Has anyone seen issue below and know if its a valid scenario and a fix?
However, when trying this in local, I try to click on "Connect to Dynamic Media button" and get a message Connection Failed.
failed: Connection refused: connect at com.day.cq.dam.scene7.impl.Scene7APIClientImpl.makeRequest(Scene7APIClientImpl.java:278) [com.day.cq.dam.cq-scene7-core:5.13.402] Caused by: java.net.ConnectException: Connection refused: connect at java.base/java.net.PlainSocketImpl.connect0(Native Method) at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101) at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.base/java.net.Socket.connect(Socket.java:608)
2. How do AEM Cloud devs usually develop locally with Dynamic Media? i.e. In terms of account, do all devs use a same local dev account different from dev, staging and (of course) prod accounts?
We are trying to utilize Dynamic Media for getting renditions for our components. I was able to try to create image presets and get different renditions based images created when an image file is uploaded to DAM Assets.
Now looking to see what changes need to be made in the component to load the rendition image. For eg
https://my-aec-site/is/image/mysiteaccount-dev/myimage?img.retina-medium$
or
https://my-aec-site/is/image/mysiteaccount-dev/myimage?img.retina-large$
my-aec-site can be replaced by applicable site.
Thank you,
Shubham
Tagging @Gaurav-Behl and @Lokesh_Shivalingaiah for help.
Solved! Go to Solution.
Views
Replies
Total Likes
HTH
HTH
Thank you @Gaurav-Behl
We are looking into connectivity issue as well. Is there a way to bypass or whitelist local ip somewhere? Not sure how to work around this.
Tried updating below but no effect.
org.apache.sling.security.impl.ReferrerFilter
allow.hosts.regexp = [https://.*\.scene7\.com:443]
Please let me know if any thoughts.
Thanks for the itemized answers, they were helpful.
Shubham
I don't think whitelisting local IP is required & would help.
Try to connect from a different m/c, if you've been trying to connect from your work machine and it didn't work, try it from your personal m/c or vice versa.
The goal is to make sure that no firewall/proxy is blocking the outgoing request on your machine. Dynamic Media's endpoint should already be integrated via your Adobe IMS & AEM servers. If not, then fix that first.
Thank you for all the responses.
Adding proxy settings config to below Factory Config helped. Check the Enable Proxy Settings and add the host, port, userid and password information.