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

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

Getting java.net.UnknownHostException while getting json of page using .infinity.json

Avatar

Level 8

using .infinity.json we get json of AEM page but we are getting below error while hitting the below request.

https://{host_name}.net:443/content/obi/wbc/en/tools-and-resources/references/public-holidays.infini...

 

 Error message:Caused by: java.net.UnknownHostException: login-test.authbridge-nonprod.{host_name}.com

 

Please let us know, the configuration steps to enable the .infinity.json in AEM.

 

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

@akshaybhujbale If that is the case , please check your default_filters.any file. There is a rule which will block this requests over dispatcher . Ideally it should not be allowed in Publish. But please allow it only after checking with your architect and evaluating the potential complexities of enabling it.

VeenaVikraman_0-1713511440041.png

 

Thanks

Veena ✌

원본 게시물의 솔루션 보기

4 답변 개

Avatar

Community Advisor

@akshaybhujbale Are you sure the IP or hostname is valid . As per the documentation https://docs.oracle.com/javase%2F7%2Fdocs%2Fapi%2F%2F/java/net/UnknownHostException.html this error is Thrown to indicate that the IP address of a host could not be determined.

 

 

Avatar

Level 8

Hi @VeenaVikraman , But at the same time we are getting response for below request for Assets /content/dam/OBI/common/sample/risk/rdl/policies/liquidityriskpolicies/documents/WBG-health-management.pdf.infinity.json 

Avatar

정확한 답변 작성자:
Community Advisor

@akshaybhujbale If that is the case , please check your default_filters.any file. There is a rule which will block this requests over dispatcher . Ideally it should not be allowed in Publish. But please allow it only after checking with your architect and evaluating the potential complexities of enabling it.

VeenaVikraman_0-1713511440041.png

 

Thanks

Veena ✌

Avatar

Community Advisor

@akshaybhujbale are you sure calls for json for both content path and dam path happening from same server/app?? Unknown host exception occurs when hostname cannot be resolved from your calling server/app. Please check by executing a curl/telnet/wget from your calling server. Please take opinion of network/system administrators