Expand my Community achievements bar.

SOLVED

Acrolinx Sign in POST request on author server throwing internal error

Avatar

Level 3

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?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 3

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 !!

View solution in original post

5 Replies

Avatar

Administrator

@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

Avatar

Level 6

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

Avatar

Community Advisor

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

Avatar

Correct answer by
Level 3

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 !!

Avatar

Level 7

@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.