pyrad icon indicating copy to clipboard operation
pyrad copied to clipboard

Issue with using 0.0.0.0 - server_async - DatagramProtocolServer

Open spennymac opened this issue 6 years ago • 1 comments

Version 2.2

https://github.com/pyradius/pyrad/blob/master/pyrad/server_async.py#L61

Is the .secret suppose to be here? It causes the below exception if you add 0.0.0.0 to the Clients in the configuration json.

server_async.py", line 80, in datagram_received
    req = AuthPacket(secret=remote_host.secret,
AttributeError: 'bytes' object has no attribute 'secret'

spennymac avatar Oct 21 '19 19:10 spennymac

Yes, if change to secret=remote_host.secret error is gone. Can't get 0.0.0.0 working though, listening on 127.0.0.1 only.

netvoip avatar Feb 19 '20 13:02 netvoip