내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Error in loading the Social Communities Components on HTTPS URL

Avatar

Level 3

Hi All,


We are upgrading from CQ5.6.1 to AEM 6.2 (Service Pack 2 and Communities Feature Pack2).

As part of the upgrade project we have extended some OOB components (Comments, ActivityStreams), these components renders fine in Dispatcher which is not a secure url (HTTP request), but they gave error on VIP (HTTPS URL)

In Dispatcher the below calls for social components

/services/social/getLoggedInUser?moderatorCheck=/content/testpage/jcr:content/firstColumn/custom_comment&h=/home/users/t/testuser1

getting redirected to the

".html" to appended to the URL

/services/social/getLoggedInUser.html?moderatorCheck=/content/testpage/jcr:content/firstColumn/custom_comment&h=/home/users/t/testuser1

After we allowed /services/social/getLoggedInUser.html in dispatcher it started working fine in dispatcher but throwing error in VIP

The URL was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint This request has been blocked; the content must be served over HTTPS.

The first request goes to

/services/social/getLoggedInUser.html?moderatorCheck=/content/testpage/jcr:content/firstColumn/custom_comment&h=/home/users/t/testuser1 over HTTPS which shows as cancelled request

Next request goes for same URL on HTTP which shows the above error.

Any idea, what could be the problem. If anyone face the similar issue and can help on this?

Thanks,

Monika

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 3

Bertrand de Coatpont wrote...

Can you please check if your dispatcher is configured as per the documentation here: https://docs.adobe.com/docs/en/aem/6-2/deploy/communities/dispatcher.html

thank you

Bertrand

 

Thanks for the reply Bertrand.

There was some existing rewrite rule in dispatcher.conf file which was conflicting with this.

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Level 3

Any insight on this?

Its becoming very crucial for our project to resolve this.

All communities components make a call to

/services/social/getLoggedInUser?moderatorCheck

which is returning the 301 redirect to /services/social/getLoggedInUser.html?moderatorCheck in Dispatcher

Any help is much appreciated

Thanks,

Monika

Avatar

Employee

Can you please check if your dispatcher is configured as per the documentation here: https://docs.adobe.com/docs/en/aem/6-2/deploy/communities/dispatcher.html

thank you

Bertrand

Avatar

정확한 답변 작성자:
Level 3

Bertrand de Coatpont wrote...

Can you please check if your dispatcher is configured as per the documentation here: https://docs.adobe.com/docs/en/aem/6-2/deploy/communities/dispatcher.html

thank you

Bertrand

 

Thanks for the reply Bertrand.

There was some existing rewrite rule in dispatcher.conf file which was conflicting with this.