[FreeRadius 2.2.8] Error: ASSERT FAILED event.c[164]: request->thread_id == NO_CHILD_THREAD

Santi Pérez Fernández santi.perez at i2cat.net
Mon Nov 28 18:58:25 CET 2016


Hi,

I configured freeradius 2.2.8 with the coa update options according to the
documentation.

/etc/freeradius/sites-enabled
        Auth-Type MS-CHAP {
                mschap
                   update coa {
                     Packet-Dst-IP-Address = 10.0.1.80
                     Packet-Dst-Port = 4141
                     Alc-SLA-Prof-Str = "%{reply:Alc-Subsc-Prof-Str}"
                   }

        }

/etc/freeradius/sites-available/originate-coa

home_server localhost-coa {
        type = coa

        #
        #  Note that a home server of type "coa" MUST be a real NAS,
        #  with an ipaddr or ipv6addr.  It CANNOT point to a virtual
        #  server.
        #
        ipaddr = 10.0.1.80
        port = 4141

        #  This secret SHOULD NOT be the same as the shared
        #  secret in a "client" section.
        secret = testing1234

        #  CoA specific parameters.  See raddb/proxy.conf for details.
        coa {
                irt = 2
                mrt = 16
                mrc = 5
                mrd = 30
        }
}

This is the output from the logs:

Mon Nov 28 18:45:38 2016 : Info: rlm_sql_mysql: Starting connect to MySQL
server for #30
Mon Nov 28 18:45:38 2016 : Info: rlm_sql (sql): Connected new DB handle, #30
Mon Nov 28 18:45:38 2016 : Info: rlm_sql (sql): Attempting to connect
rlm_sql_mysql #31
Mon Nov 28 18:45:38 2016 : Info: rlm_sql_mysql: Starting connect to MySQL
server for #31
Mon Nov 28 18:45:38 2016 : Info: rlm_sql (sql): Connected new DB handle, #31
Mon Nov 28 18:45:38 2016 : Info: Loaded virtual server <default>
Mon Nov 28 18:45:38 2016 : Info: Loaded virtual server inner-tunnel
Mon Nov 28 18:45:38 2016 : Info: Ready to process requests.
Mon Nov 28 18:45:42 2016 : Auth: Login OK: [H-VPORT-CPE-LITE-i2cat-2/<via
Auth-Type = MSCHAP>] (from client localhost port 0)
Mon Nov 28 18:45:42 2016 : Error: ASSERT FAILED event.c[164]:
request->thread_id == NO_CHILD_THREAD

It only works for the first request. Then I got the following error:

Mon Nov 28 18:45:42 2016 : Error: ASSERT FAILED event.c[164]:
request->thread_id == NO_CHILD_THREAD

What i'm doing wrong? Am I missing something?

I am also not been capable of  returning the custom attribute.

Thanks for your help.


More information about the Freeradius-Users mailing list