Cannot create a session after the response has been committed

Hi All,

I have deployed my camunda app into kubernetes cluster with replicaset count as 3 i.e., using 3 pods for this app. My camunda app was working, I could able to create the request in camunda. But the issue is, I couldn’t able to login to my camunda cockpit.

Note: If I change my replicaset as 1, I could able to login my camunda cockpit. The issue occurs when we use multiple pods.

What I’m missing :roll_eyes:

FYR,

image

Stack Trace:

Cannot create a session after the response has been committed
org.apache.catalina.connector.Request.doGetSession(Request.java:2974)
org.apache.catalina.connector.Request.getSession(Request.java:2416)
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:908)
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:920)
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:250)

Thanks in advance

Hi @Aravind,

you have to provide a sticky session in your load balancer: https://docs.camunda.org/manual/7.14/introduction/architecture/#session-state-in-a-clustered-environment.

Hope this helps, Ingo