voyagermesh / voyager

🚀 Secure L7/L4 (HAProxy) Ingress Controller for Kubernetes
https://voyagermesh.com
Apache License 2.0
1.35k stars 134 forks source link

Unable to use Voyager sticky session (chart version 12.0.0/app version 12.0.0) for jnlp applets #1587

Open deboghos opened 3 years ago

deboghos commented 3 years ago

With the following annotations in voyager ingress settings, when we set the 'session-cookie-name' as any string, say abc (anuthing other than SERVERID) , we notice that client is sending the 'abc' cookie in request (seen in fiidler), but server is not receiving the cookie (as evident from application server-logs). And the .jnlp file, (returned from the server) does not have abc cookie mentioned.

annotations: ingress.appscode.com/type: 'NodePort' ingress.appscode.com/stats: 'true' ingress.appscode.com/affinity: 'cookie' ingress.appscode.com/session-cookie-name: abc

Due to this, we find that sticky session is not working as expected in case of jnlp applet. Note: we have not encountered this issue with other load-balancers with everything else being exactly same ..

deboghos commented 3 years ago

Hi, Can we please have someone to look into this issue?

tamalsaha commented 3 years ago

Hello, We have released https://blog.byte.builders/post/voyager-v2021.09.15/ . Can you please check this fixes the issue?