Graphql endpoint is not working when calling in Sling Model - AEMaaCS
Hi Everyone,
I am developing an AEM component on AEMaaCS instance (headful approach).
I need to get content fragment data and display it on the page using the AEM component in headful architecture. I am using Sling model to make a call to graphql endpoint.
I used Apache libraries HttpGet, CloseableHttpClient to make a GET call to graphql endpoint.
The code works fine in local AEM instance but on AEMaaCS, it gives a "read timed out" error while making the graphql call.
Any help in resolving this issue?