Route through post-proxy not working when no live home servers are available - (3.0.20)
João Vitor Arruda
joao.arruda at gmail.com
Thu Apr 16 20:09:09 CEST 2020
Em qua., 15 de abr. de 2020 às 13:45, Alan DeKok
<aland at deployingradius.com> escreveu:
> > But when the upstream server is marked as DEAD the post-proxy section
> > is never invoked as you can see in the log bellow (some lines were
> > suppressed):
>
> Hmm... the code in line 3085 of src/main/process.c should likely be
>
> return -1;
>
> instead of
>
> return 1;
>
> That's should fix it.
>
> i.e the "return" in the middle here:
>
> home = home_server_ldb(realmname, pool, request);
>
> if (!home) {
> REDEBUG2("Failed to find live home server: Cancelling proxy");
> return -1;
> }
>
> do_home:
> home_server_update_request(home, request);
>
>
> Please try that. If it works, I'll push a fix.
Alan,
Thanks for your quick reply.
I just tried the suggested patch above both with 3.0.20 and 3.0.21 but
unfortunately that doesn't fix the issue described.
It still bypass the post-proxy section after:
ERROR: Failed to find live home server: Cancelling proxy
WARNING: No home server selected
Regards,
Joao Arruda
More information about the Freeradius-Users
mailing list