Mayukh007
Community profile Mayukh007 Level 3
Job title here
Location here
14 BADGES
Level 3

Level 3

Learn more
Joined the community 11-01-2019 1:25:25 PM
Offline
Top badges earned by Mayukh007
Customize the badges you want to showcase on your profile
Re: ACS Common Dispatcher Flush agent not working
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
They are running from different vhosts. Stat level is 5 in english farm file and 3 in french farm file.

Views

453

Likes

0

Replies

0
ACS Common Dispatcher Flush agent not working
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Hi, We are using ACS common (4.0.0) Dispatcher Flush page to flush dispatcher cache as scheduled job using Jenkins.Our site have English and French content pages. Looks like French cached pages are not getting deleted... Anyone seen these kind of issue before..?

Views

470

Likes

0

Replies

9
Re: CUG pages are getting cached in Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Thank you for the solution @SureshDhulipudi ....that works like charm...should have thought of that.. what I think happening for auth_checker is a design flaw...Dispatcher is creating cache file first and then doing validation...which to me should be otherway... But yes, this will work... Thanks again.

Views

431

Likes

0

Replies

0
Re: CUG pages are getting cached in Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
I am still clueless why the "/auth_checker" is forcing to create dispatcher cache for CUG page. My CUG page is not in same filter where the "/auth_checker" filters are set...Does "/auth_checker" forces to create dispatcher cache if we are using same farm file where "/auth_checker" is implemented..? I went through these articles:https://www.argildx.com/technology/permission-sensitive-caching-psc/https://helpx.adobe.com/ca/experience-manager/kb/PSCachingDelivery.html#samplecode And as per this "/a...

Views

444

Like

1

Replies

0
Re: CUG pages are getting cached in Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
No, I think I posted in correct post in response to your question. "Cache-Control" is set in 2 of our custom farm files but it have no "public" or "always' in it as I posted above... Even though i remove "Cache-Control" from there, it is still same behaviour.But eventually I think I figured out where it is stemming from. We are using "/auth_checker" in the farm file and commenting that one out resolving the issue...Need to dig more now...

Views

458

Like

1

Replies

1
Re: CUG pages are getting cached in Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Hmm...even after remove entire /header section it still creates cache file for CUG page. It just stopped creating .h (header cache files) files. So issue exists...

Views

470

Like

1

Replies

3
Re: CUG pages are getting cached in Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Thank you @shelly-goel for your pointer. I checked one of the domain where it is always creating cache, and I found this in the farm file of that domain: ## Cache response headers next to a cached file. On the first request to## an uncached resource, all headers matching one of the values found here## are stored in a separate file, next to the cache file. On subsequent## requests to the cached resource, the stored headers are added to the## response.## Note, that file globbing characters are not...

Views

483

Like

1

Replies

4
Re: Security concern for AEM pages
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
I tried that option by adding in Dispatcher rewrite, but did not fix the issue which I think is because the Python script is running from my local and it just calls for different .JSON files from that script and fetch data. Dispatcher have no information of that script and in access_log, I dont see any .py file information. We cant stop JSON to get rendered as we use .JSON outputs....I was thinking if there is a way to stop outputting JCR properties like CreateBy or ModifiedBy..!!

Views

249

Likes

0

Replies

0
Re: Security concern for AEM pages
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Thank you for the solution Suresh. In our project I still need to expose AEM content and asssets as JSON for other applications to consume. Can you please provide me the rule just to block the Python script to crawl..?

Views

276

Likes

0

Replies

0
Re: CUG pages are getting cached in Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Jörg_Hoh , I am not trying to cache CUG pages. My expectation is CUG pages by default never cache in Dispatcher, otherwise if it gets cached into Dispatcher the Authentication will not happen for next user onwards as Dispatcher will serve the page without checking the Authentication...My problem is my CUG pages getting cached and I dont want that to happen.

Views

616

Like

1

Replies

0
Re: CUG pages are getting cached in Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
I enabled Debug mode in dispatcher and ran the login steps. Here is what I see for my "cugpage" which is a CUG page and Dispatcher by default should not try to create cache for this domain/cugpage.htmlxxxxxx :/mnt/var/log/httpd tail -f *.* | grep "cugpage"[Thu Dec 03 18:28:29 2020] [D] [pid 10155] checking [/content/consumer-portal/en_CA/cugpage.html][Thu Dec 03 18:28:29 2020] [D] [pid 10155] cachefile does not exist: /mnt/var/www/html/content/consumer-portal/en_CA/cugpage.html[Thu Dec 03 18:28:...

Views

626

Like

1

Replies

0
Re: CUG pages are getting cached in Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
HI Suresh, We allow everything for Dispatcher to cache. But as per CUG documentation, CUG pages are not cached by default unless we set "allowAuthorized 1" which makes sense as I dont know what will be path of CUG page in advance, any page can or can not be CUG set by Content Author on the Authoring Production. The only place we have "allowAuthorized" set as 1 is in Author farm files.

Views

637

Like

1

Replies

0
Re: CUG pages are getting cached in Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
It is caching any CUG page I am accessing in the site, not the login page. I can provide detail on my caching rules if you can point me to what you want me to look at..

Views

655

Like

1

Replies

0
Security concern for AEM pages
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
We are flagged by Security team for below issue. They have created a Python script which can be used to crawl any of our sites and fetch JCR data like UserID. Our sites are public sites.Here is summary of the test, details of the test is attached here. The Python project is in GitHub for your test/reference.https://github.com/ilatypov/aem-hacker/blob/master/aem_slurper.py$ time python3 aem_slurper.py www.manulifebank.ca 2>&1 | tee manulifebank.txtConnecting to www.manulifebank.ca...2020-09-28 09...

Views

302

Likes

0

Replies

4
CUG pages are getting cached in Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
HI, We are at AEM 6.5.5, running deployments using Adobe Cloud Manager.We are trying to implement CUG (Closed User Group) but I am seeing 2 new issues which I did not see when I first tried CUG 8/9 months back. 1. Could not login to CUG page using Dispatcher URL and was getting error at "/libs/granite/core/content/login.html/j_security_check".Had to add this rule in Dispatcher to get this resolved. File name - publish-filter-after.anyRule - /0065 { /type "allow" /glob "*j_security_check*" } 2. N...

Views

671

Likes

0

Replies

16
Re: Use Azure Blob storage to store DAM Assets and access...
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
I still see issue, although my local instance is up now and I no longer see any error..But I dont see any asset getting pushed to Azure as well...debugging it now.

Views

238

Likes

0

Replies

0
Re: Use Azure Blob storage to store DAM Assets and access...
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
So I found the issue, it was due to SSL cert. So i added the Azure cert in keystore and I no longer see the error in error.log and my local is up now. But there is nothing in Azure as well...I dont see my DAM asset or the new container I added...Am I missing something ..?

Views

289

Likes

0

Replies

0
Re: Use Azure Blob storage to store DAM Assets and access...
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Hi Bhuwan, I tried to run the commands to check the connection as mentioned in the post, but getting below error: macC02TG0VXH03Q:Documents mukmayu$ java -jar /Users/mukmayu/Documents/oak-run-1.6.6.jar console /Users/mukmayu/All_Documents/AEM4Azure/AEM6.5/Azure/Author/crx-quickstart/repository/segmentstore --azureds=/Users/mukmayu/All_Documents/AEM4Azure/AEM6.5/Azure/Author/crx-quickstart/install/org.apache.jackrabbit.oak.plugins.blob.datastore.AzureDataStore.configApache Jackrabbit Oak 1.6.6Exc...

Views

308

Likes

0

Replies

0
Use Azure Blob storage to store DAM Assets and access from AEM
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
HI, We are in AEM 6.5.5 and need to use Azure Blob storage to store some of our heavy assets (videos mostly) and then reference it from DAM so that we can use features of DAM like security/permissions etc. We were following this article - https://experienceleague.adobe.com/docs/experience-manager-65/deploying/deploying/data-store-config.html?lang=en#azure-data-store Also this solution we need for one of our sites residing in same AEM instance, but not for all.I have gone through this video and t...

Views

372

Likes

0

Replies

6
Re: How to create Symbolic links for Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
I can use same command in my terminal do create locally as well...So that should work for me as well.. https://apple.stackexchange.com/questions/115646/how-can-i-create-a-symbolic-link-in-terminal

Views

528

Likes

0

Replies

1
How to create Symbolic links for Dispatcher
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
HI, I need to create Symlinks in my Enabled farm and vhost folder as part of my code repository for Cloud Manager.Previously I used to create them after deployment right in the AEM box by issuing commands: sudo /bin/ln -s /etc/httpd/conf.d/available_vhosts/* /etc/httpd/conf.d/enabled_vhosts/sudo /bin/ln -s /etc/httpd/conf.dispatcher.d/available_farms/* /etc/httpd/conf.dispatcher.d/enabled_farms/ But as per Cloud Manager requirement, I need to create and push the Symlinks as part of the code Repo...

Views

535

Likes

0

Replies

2
Re: Dispatcher Clear cache cURL no longer works.
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Added this in publish and author invalidate any file /1{/glob "*.*"/type "allow"}

Views

228

Like

1

Replies

0
Re: Dispatcher Clear cache cURL no longer works.
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Issue resolved...Had to add allow parameters in publish invalidate any file.

Views

247

Likes

0

Replies

0
Dispatcher Clear cache cURL no longer works.
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Hi, We use Curl to clear dispatcher cache. We issue command to ELB and ELB does the rest. curl -H "CQ-Action: Delete" -H "CQ-Handle: /content/" -H "CQ-Path: /content/" -H "Content-Length: 0" -H "Content-Type: application/octet-stream" -H "Host:www-aem-dev.manulife.ca" http://manulife-dev65-2019april28-545949682.ca-central-1.elb.amazonaws.com/dispatcher/invalidate.cache I can run it even from my local Terminal as this doe snot need any authentication. Now we are moving to Cloud Manager and sudden...

Views

289

Likes

0

Replies

3
Re: cq:PageContent not getting retrieved
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
yes, the custom index did not have the path we were searching in that query. Will check by adding that in that custom query. Currently this SQL2 query not using any custom index.

Views

283

Likes

0

Replies

0
Re: cq:PageContent not getting retrieved
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Thank you again for the suggestions. I actually found that the issue is in new custom oak index we added...So I think we are good now, I need to debug the index to find root cause.

Views

303

Likes

0

Replies

0
Re: cq:PageContent not getting retrieved
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Thank you for the suggestion.I tried above steps but still clueless. One more thing, it only does not work for under /content/experience-fragment folder.So here is what is working and what is not:select * from [cq:PageContent] as data WHERE ISDESCENDANTNODE(data,'/content/experience-fragments/') = no resultselect * from [nt:unstructured] as data WHERE ISDESCENDANTNODE(data,'/content/experience-fragments/') = gives resultselect * from [cq:PageContent] as data WHERE ISDESCENDANTNODE(data,'/content...

Views

392

Likes

0

Replies

0
Re: cq:PageContent not getting retrieved
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
we are in AEM 6.5.5

Views

456

Likes

0

Replies

0
cq:PageContent not getting retrieved
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
HI, Suddenly we are not getting any result for SQL2 query like this:select * from [cq:PageContent] as data WHERE ISDESCENDANTNODE(data,'/content/experience-fragments/') whereas this works and return nodes:select * from [cq:Page] as data WHERE ISDESCENDANTNODE(data,'/content/experience-fragments/') I created cq:PageContent under experience-fragment folder but still no luck..did re-index cq:PageLucene as well. Any pointer..?

Views

468

Likes

0

Replies

8
Re: Unable to Deploy over HTTPS end point
Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
- Adobe Experience Manager
Thank you Singaiah for the response...I went through the post but there is no example or specific detail where I need to change in my pom.xml...Do you have any example which I can re-use...?

Views

221

Likes

0

Replies

0