Published 2 years ago
Published 2 years ago
dudzz
Updated 2 years ago
0
Hi guys, I tried setup load balance using safeline to two upstream servers that run using php8.1 with nginx. When I choose "round-robin" or "least connections", the captcha always return wrong evendo already input correctly. If choose "IP hash", dont have problem with captcha and can login normally, but when click any menu in dashboard, it will go to logout state.
This happened in many browsers I used, for desktop and mobile version. Safeline version is 8.0.2
SafeLine-xb
Updated 2 years ago
0
It looks like your multiple upstreams do not share login information, causing this problem when the client randomly connects to the upstream
dudzz
Updated 2 years ago
0
but if using "IP hash" it should be stick to previous server that already connected, is it right?
SafeLine-xb
Updated 2 years ago
0
This is indeed strange, could you check why the upstream server thinks the login is invalid?
dudzz
Updated 2 years ago
0
there is missing php session. I tried with another load balancer, it not experience any issue