POST requests give connection time out error when accessed from dispacther
Hi,
I am using CQ5.6.1.Could some one point out what could be reason login does not maintain the session using dispacther but works when hitting cq5 instance directly
When user log using cq form through dispatcher.Then after some random hits the page session which is tracked using a cookie is lost and the user is again taken to login page with reason as j_reason=session_timed_out in the url.
I see that the request is coming to individual cq pub instance.
The same login mechanism works without any issues when accessing via direct cq5 publish instance
We have used
were we have used
RememberAuthenticationHandler implements AuthenticationHandler, AuthenticationFeedbackHandler {}
It hits the extractCredentials method and then hits authenticationFailed method not sure what is the reason
In the dispachter.any the below setting is done
# Hostname globbing for farm selection (virtual domain addressing)
/virtualhosts
{
"www.abc.com/products/abc/*"
}
/sessionmanagement
{
/directory "/appl/webcache/session"
/header "Cookie:login-token"
/header "Cookie:remember-me"
/timeout "300"
}
# The load will be balanced among these render instances
/renders
{
/rend01
{
# Hostname or IP of the render
/hostname "abc1.com"
# Port of the render
/port "4503"
# Connect timeout in milliseconds, 0 to wait indefinitely
/timeout "6000"
}
/rend02
{
/hostname "abc2.com"
/port "4503"
/timeout "6000"
}