If some of the requests between Client and AS fail for no apparent reason, request logging can be enabled to see the full output of the requests and their responses between Client and AS. To do so, please follow the steps in Logging configuration in the chapter "Using a Custom Logging Configuration Template" to create a template for the loginapp.

Add the following logger to the template:

<logger name="org.apache.http">
    <level value="DEBUG"/>

Make sure that DEBUG log is also enabled for the loginapp and finally update the instance. All requests and their responses will now be logged to the loginapp.log.