Acrolinx Sign in POST request on author server throwing internal error | Community
Skip to main content
Level 2
October 15, 2024
Solved

Acrolinx Sign in POST request on author server throwing internal error

  • October 15, 2024
  • 4 replies
  • 784 views

Hi everyone,

We are trying to access this below POST request for the Acrolinx on the direct author on the production, but we see 

Internal error (no exception to report)

 whereas when we access the same request on the staging environment it works fine. 

Production - http://<production-domain>/apps/acrolinx/proxy/api/v1/auth/sign-ins Stage - http://<stage-domain>/apps/acrolinx/proxy/api/v1/auth/sign-ins



Is there any configuration/permission or something else we can check which might deal with the blocking of the request?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jangra98

The issue is resolved now. This was due to an old archived issue of Acrolinx where it creates an empty folder path in CRX-DE 

/apps/acrolinx/proxy/api/v1/auth/sign-ins

which needs to be deleted to restore the functionality.

Thank you all of you for helping and providing your valuable suggestions !!

4 replies

kautuk_sahni
Community Manager
Community Manager
October 17, 2024

@somen-sarkar @sarav_prakash @pgurukrishna @tushaar_srivastava @jineet_vora @anudeep_garnepudi Curious to hear your perspectives on this question. Do you all mind sharing your thoughts?

Kautuk Sahni
sarav_prakash
Community Advisor
Community Advisor
October 17, 2024

Can you please add more context? 

  1. Is this custom servlet to directly hit author from outside aem? 
  2. This is cloud or onprem? Coz cloud does not support http. Has to be https. And Production is more strict than lower environments
  3. Author by default prevents POST methods for security. You need to waive by excluding your servlet path. Refer this article.
  4. Did you configure referrer filter. Make sure osgi for Prod is similar to stage. Refer here and here
Anudeep_Garnepudi
Community Advisor
Community Advisor
October 17, 2024

@jangra98 Could you please share logs for better understanding of issue/error.

AG
Jangra98AuthorAccepted solution
Level 2
October 21, 2024

The issue is resolved now. This was due to an old archived issue of Acrolinx where it creates an empty folder path in CRX-DE 

/apps/acrolinx/proxy/api/v1/auth/sign-ins

which needs to be deleted to restore the functionality.

Thank you all of you for helping and providing your valuable suggestions !!

tushaar_srivastava
Level 6
October 21, 2024

@jangra98 , can you please add more details to it, because yes we need Compare Configuration {Could be : OSGi, Dispatcher, or maybe firewall rules}
Also, we may need to check
User Permissions: Ensure that the user or service account making the request has the necessary permissions in the production environment.
Access Control Lists (ACLs): Verify that the ACLs in the production n environment are not restricting access to the Acrolinx endpoint.

 

if you could provide me with more details on your usecases.