I believe your Geo balance code has errors or is out of date.
https://github.com/WMSPanel/load-balancer/blob/master/geo-balancer/test.php
Around line 62,
These lines do not work and breaks script with syntax error, unexpected [ character
$balancer->setRegionServer(['JP','KR'], 'asia.example.com');
It took me about an hour of testing to find the error.
Bit I think this works:
$balancer->setRegionServer('JP','KR', 'asia.example.com');
So I guess, for sub regions you use square brackets [ ] ,
but for 2 digit country codes, there are no square brackets [ ] ?
Now I have fixed that and the runs, but it still does not work and do geo balance, the lines 100 (test links) always reverts to default server.