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

ValueError: Passing reuse_address=True is no longer supported #124

Closed
philipptrenz opened this issue Feb 5, 2020 · 0 comments
Closed

ValueError: Passing reuse_address=True is no longer supported #124

philipptrenz opened this issue Feb 5, 2020 · 0 comments

Comments

@philipptrenz
Copy link

philipptrenz commented Feb 5, 2020

Hey there,
thanks for this great project! I'm trying to use the async server, but for Python 3.7.6 I get the following stack trace:

Traceback (most recent call last):
  File "./__main__.py", line 48, in <module>
    enable_coa=True
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 583, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.7/site-packages/pyrad/server_async.py", line 295, in initialize_transports
    loop=self.loop
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1211, in create_datagram_endpoint
    raise ValueError("Passing `reuse_address=True` is no "
ValueError: Passing `reuse_address=True` is no longer supported, as the usage of SO_REUSEPORT in UDP poses a significant security concern.

Under Python 3.7.5 it works. But as it is an security concern, it should be fixed, right?

@GIC-de GIC-de closed this as completed in 8e99daa Feb 5, 2020
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

1 participant