We are trying to cluster Openfire and use AWS load balancer to distribute the traffic. We had successfully clustered Openfire with two EC2’s and we are distributing the traffic using AWS load balancer.
We are using Strophe.js on client side and connecting to XMPP using HTTP Bosh, we are hitting into this error “404 invalid sid value” when we try to connect. When there is a single node on the load balancer it works fine, but when we are adding more than one node to the cluster we hit into the error “404 invalid sid value”.
Could you please suggest if using AWS Load balancer for Openfire cluster works or do we need to try some other options for load balancing.