Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Resource in Publish Instance at '/libs/dam/gui/content/assets.html/content/dam/marketing' not found: No resource found Cannot serve request to /assets.html/content/dam/marketing on this server

Avatar

Level 3

Hi All,

 

I am recently started getting issues with the publish instance to access any assets.

 

for example - suppose I have a resource on my author instance - AEM Assets - http://localhost:4504/assetdetails.html/content/dam/marketing/online%20marketing.jpg ,this opens fin...

 

but when i try the same on my publish instance - 

 

http://localhost:4503/assetdetails.html/content/dam/marketing/online%20marketing.jpg

 

this does not open and throws error -

 

Resource at '/libs/dam/gui/content/assetdetails.html/content/dam/marketing/online marketing.jpg' not found: No resource found

Cannot serve request to /assetdetails.html/content/dam/marketing/online%20marketing.jpg on this server


ApacheSling/2.6 (jetty/9.4.15.v20190215, Java HotSpot(TM) 64-Bit Server VM 1.8.0_291, Windows 10 10.0 amd64)This has started happening recently on all my author and publish instance combinations, even on AWS EC2 instance as well.Could you please help me out with this please ? Thanks and regards,Gaurav Kumar Tyagi

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @gauravtyagi 

 

You should not be using "assetdetails.html" on URL while accessing any assets on publish instance. Please remove it from URL and try to access a valid path it will give the content.

From http://localhost:4503/assetdetails.html/content/dam/marketing/online%20marketing.jpg to http://localhost:4503/content/dam/marketing/online%20marketing.jpg

 

Thanks!

View solution in original post

6 Replies

Avatar

Community Advisor

Hi @gauravtyagi ,

 

Seems like an asset is missing in the DAM.

Please have a check, if the asset which you are trying to access is present in DAM of the publisher instance. If it is not available, replicate the asset and access the publisher URL.

 

 

Avatar

Level 3
Thanks @Vaibhavi_J, can this be a cache issue ? while i clear the expired tokens through http://localhost:4503/system/console/tokenmgr,this works fine afterwards but i need to do it for each browser at least once at the moment.

Avatar

Correct answer by
Community Advisor

Hi @gauravtyagi 

 

You should not be using "assetdetails.html" on URL while accessing any assets on publish instance. Please remove it from URL and try to access a valid path it will give the content.

From http://localhost:4503/assetdetails.html/content/dam/marketing/online%20marketing.jpg to http://localhost:4503/content/dam/marketing/online%20marketing.jpg

 

Thanks!

Avatar

Level 3

Hi All Community members,

 

After using /system/console/tokenmgr, I can clear out the expired token and then images loads from publish serve...

 

Now when i try to call the same from Pega PRPC to AEM. This loads in Pega Page fine for firefox.howe...

 

Failed to load resource: the server responded with a status of 404 (Not Found)
Customer%20Service.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Help%20Customer.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Social%20Channels.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Customer%20First.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Customer%20Service.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Help%20Customer.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Social%20Channels.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)

 

Any idea ,what could be the issue here, please. I have checked the various browser settings but they looks to be fine. When i open the url within browser directly this opens fine. (actually 2 pages opens in chrome - one as about:blank page and another with the image appropriatley).

Avatar

Level 6

Hi Gauravtyagi,

 

As @Vaibhavi_J said, It seems no resource/ Asset in the dam. May be you would have given image as other name. If you are not able to find the exact issue then try to upload a test image(test.jpg) on author instance and after published check the same on publisher instance.If it is rendering fine that means their is issue related to your assets may be some wrong filename and other things.

Also , Try to clear the browser cache.

Avatar

Level 3

I was getting same site cookie error ,where it is asking to update samesite cookie as none and secure, while i want to update the same in adobe

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/security/same-site-cookie-s...

 

i cant see that option on AEM 6.5

 

gauravtyagi_0-1623417924966.png