Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with using 0.0.0.0 - server_async - DatagramProtocolServer #113

Open
spennymac opened this issue Oct 21, 2019 · 1 comment
Open

Issue with using 0.0.0.0 - server_async - DatagramProtocolServer #113

spennymac opened this issue Oct 21, 2019 · 1 comment

Comments

@spennymac
Copy link

spennymac commented Oct 21, 2019

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'
@netvoip
Copy link

netvoip commented Feb 19, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants