Questions tagged [sticky-session]

A simple performant way to use socket.io with a cluster. https://github.com/indutny/sticky-session

119 questions
0
votes
1 answer

sticky session is not working on android browser

I have an ingress alb with session stickiness enabled on target group! kubernetes.io/ingress.class: alb alb.ingress.kubernetes.io/scheme: internet-facing alb.ingress.kubernetes.io/target-type: ip …
0
votes
0 answers

How to create/enable sticky sessions in Spring Boot

As I'm working on a vaadin project, I need sticky sessions for session replication. Otherwise, it won't work. I'm using JDBC to store the session. But since it's not sticky yet, the website keeps refreshing when starting the app. I know it has…
0
votes
0 answers

Can't use sticky session with ingress

I'm trying to enable sticky session. I got it working with NodePort but it's not working with ingress. Environment: BareMetal, Ubuntu, MetalLB, Ingress with nginx. Details: I installed MetalLB then ingress from the official documentation. then I…
0
votes
0 answers

Sticky Text won't stop until end of the website

I try to make my text sticky in a specific section from my Website but the text won't stop until it reach the footer. So please can someone have a look on my shitty Code and give me a solution for the problem? I use Yootheme which works with Ulkit…
0
votes
0 answers

Is there a way to specify sticky sessions for EC2 TargetGroups in a docker-compose file?

I am able to create and deploy a target group with "replicas: 3" using "docker compose up" from a YAML file, and I am able to make the TargetGroup sticky using the console using the recipe found here but have not been able to find a way to specify…
0
votes
0 answers

Why AWS returns the cookie without SameSite=None; Secure

Why AWS returns the cookie for the sticky session for the Application-based cookie (AWSALBAPP-0) without SameSite=None; Secure while running Selenium tests for the chrome browser in the headless mode while running the website inside an iframe? The…
0
votes
1 answer

How to change AWS sticky sessions cookie name for Load Balancer to a custom name

Is there any way to change AWS sticky sessions cookie name for Load Balancer to a custom name? For example AWSALB -> MY_AWSALB. I know about Application-controlled session stickiness where I can use application cookies, but I need to use exactly…
0
votes
1 answer

Is in proc session state replicated amongst Azure instances in an app service plan?

I'm a bit nervous about disabling ARR Affinity for my app service because I don't fully understand the following: Where is the session state stored? If it's stored InProc (on the VM), is that shared amongst the other instances in my app…
David Klempfner
  • 8,700
  • 20
  • 73
  • 153
0
votes
0 answers

GKE sticky connections makes autoscaling uneffective because of limited pod ports (API to database)

I have an API to which I send requests, and this API connects to MongoDB through MongoClient in PyMongo. Here is a scheme of my system that I deployed in GKE: The major part of the calculations needed for each request are made in the MongoDB, so I…
0
votes
0 answers

Socket.io send notification only to request initiator?

First of all I'm an OG bare metal Java server side guy. That means I'm new to Docker, Node.js (JavaScript in general), socket.io and trying to learn all these things at once so please pardon me if I've made an obvious mistake. I've been working on a…
0
votes
0 answers

How to implement sticky sessions with Python/Flask + nginx + kubernetes horizontal Auto Scaler?

My architecture is as follows; Kubernetes (GKE) nginx reverse proxy deployment fronted by "LoadBalancer" service Python + Flask WSGI app This works perfectly as long as there is only ONE Flask pod. As soon as the replica count is increased beyond…
0
votes
2 answers

AWS NLB stickysession on EKS

I`m trying to apply NLB sticky session on a EKS environment. There are 2 worker nodes(EC2) connected to NLB target group, each node has 2 nginx pods. I wanna connect to same pod on my local system for testing. But it looks like connected different…
0
votes
1 answer

Sticky sessions with Load Balancer

It would be a great help if you can clarify on this please. When am using a load balancer and I bind a server with a client with say either appsession or any other means. However if that server goes down then the load balancer redirects the client…
Neo
  • 49
  • 12
0
votes
1 answer

Chrome doesn't attach INGRESSCOOKIE in subsequent requests

There are multiple authentication nodes behind load balancer and have sticky session configured to make sure authentication request sent to the same node. It only appeared in Chrome, but Firefox worked fine. Here is the first request, INGRESSCOOKIE…
0
votes
1 answer

Kubernetes (on-premises) Metallb LoadBalancer and sticky sessions

I installed one Kubernetes Master and two kubernetes worker on-premises. After I installed Metallb as LoadBalancer using commands below: $ kubectl edit configmap -n kube-system kube-proxy apiVersion: kubeproxy.config.k8s.io/v1alpha1 kind:…