Setup:
Server: Freeradius Server 3.0
Client: pyrad with Python 3.5.3 debian stretch (tested with Python 3.9.2, debian buster, too)
I'm issuing a simple authentication request. With the synchronous client this works without problems.
With the ClientAsync I get this log message (with different payloads per request):
I can observe that the server accepts a request with valid credentials and rejects one with invalid credentials. The log message stays the same. I tried the provided example code, too, but it had the same result.
So I guess theres a problem with the encoding.
Setup: Server: Freeradius Server 3.0 Client: pyrad with Python 3.5.3 debian stretch (tested with Python 3.9.2, debian buster, too)
I'm issuing a simple authentication request. With the synchronous client this works without problems. With the ClientAsync I get this log message (with different payloads per request):
[192.168.0.1:1812] Ignore invalid reply: b'\x02\x8c\x00\x14\x89\xc3\xa2\x1b\x00\xf7f\xc5(\xc6\xd1#\xb9\x86\xf2%'
I can observe that the server accepts a request with valid credentials and rejects one with invalid credentials. The log message stays the same. I tried the provided example code, too, but it had the same result. So I guess theres a problem with the encoding.
Sample code: