Open mogaika opened 2 years ago
I rephrased the issue subject: the complaint is that in the session tear down procedure a bunch of external systems will be called:
If in an early step of that pipeline something is failing for whatever reason, the remaining steps are not called.
@mogaika is ^^ what you wanted to express?
@mogaika is ^^ what you wanted to express?
Not sure if this issue common for all "external systems". Looking at logs I have feeling that this issue specific to radius only.
2021-09-26T14:19:18.904381+00:00 <0.1963.0> error: crasher: initial call: ergw_aaa_radius:'-accounting/6-fun-0-'/0, pid: <0.1963.0>, registered_name: [], error: {badarg,[{eradius_lib,encode_value,2,[{file,"/build/_build/default/lib/eradius/src/eradius_lib.erl"},{line,196}]},{eradius_lib,encode_attribute,3,[{file,"/build/_build/default/lib/eradius/src/eradius_lib.erl"},{line,177}]},{eradius_lib,'-encode_attributes/2-fun-0-',3,[{file,"/build/_build/default/lib/eradius/src/eradius_lib.erl"},{line,143}]},{lists,foldl,3,[{file,"lists.erl"},{line,1267}]},{eradius_lib,encode_request,1,[{file,"/build/_build/default/lib/eradius/src/eradius_lib.erl"},{line,73}]},{eradius_client,send_request_loop,7,[{file,"/build/_build/default/lib/eradius/src/eradius_client.erl"},{line,246}]},{eradius_client,'-send_request/3-fun-0-',10,[{file,"/build/_build/default/lib/eradius/src/eradius_client.erl"},{line,90}]},{proc_lib,init_p,3,[{file,"proc_lib.erl"},{line,211}]}]}, ancestors: [<0.1674.0>,ergw_aaa_session_sup,ergw_aaa_sup,<0.1280.0>], message_queue_len: 0, messages: [], links: [], dictionary: [], trap_exit: false, status: running, heap_size: 2586, stack_size: 28, reductions: 692; neighbours:
erGW
version3.1.0-rc5
Erlang/OTP
versionunrelated
Steps to reproduce
OCS-Free: disabled Radius enabled procedures: authenticate, authorize, start, stop OCS: enabled OFCS: enabled
Configure OCS server to not answer CCR-Update request and create session with small CC-Time
Current behavior
No request to radius
badarg
error in logs:Expected behavior
Stop request to radius with mapped termination cause "req_timeout"
Config