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

Run UDP socks5 on localhost error #162

Open
r4t31 opened this issue Mar 14, 2023 · 1 comment
Open

Run UDP socks5 on localhost error #162

r4t31 opened this issue Mar 14, 2023 · 1 comment

Comments

@r4t31
Copy link

r4t31 commented Mar 14, 2023

When I try to run

pproxy -ul socks5://localhost:8000 -vv

I got the next error:

Serving on UDP localhost:8000 by socks5 
Start server failed.
	==> '_SelectorDatagramTransport' object has no attribute 'sockets'
@ksofix
Copy link

ksofix commented Feb 3, 2024

Hi, i have the same error. Python 3.12, pproxy 2.7.9.
The bug is on

for s in server.sockets:

server has _SelectorDatagramTransport type and this type doesn't have sockets attribute.
Workaround is to comment out this line
print_server_started(option, server, print_fn)

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