-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Winsock error #21
Comments
Thanks for filing this bug. I've never actually tested on Windows so I'll
need to fire this up and try. Can you tell me a little bit more about the
Python environment you've setup on Windows, and which version of Windows?
Thanks,
-g
…On Sat, Jan 28, 2023 at 4:07 AM Gisle Vanem ***@***.***> wrote:
This seems like a cool project, but I'm not sure about the Windows support.
Since for any configuration, I get this error:
....
File "F:\gv\Python310\lib\site-packages\pytak\client_functions.py", line 80, in create_udp_client
reader = await dgbind((host, port))
File "F:\gv\Python310\lib\site-packages\pytak\asyncio_dgram\aio.py", line 238, in bind
transport, protocol = await loop.create_datagram_endpoint(
File "F:\gv\Python310\lib\asyncio\base_events.py", line 1371, in create_datagram_endpoint
raise exceptions[0]
File "F:\gv\Python310\lib\asyncio\base_events.py", line 1355, in create_datagram_endpoint
sock.bind(local_address)OSError: [WinError 10049] Cannot assign requested address.
10049 == WSAEADDRNOTAVAIL.
Ref:
https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2
With some added trace, I see the address in pytak/asyncio_dgram/aio.py is ('239.2.3.1',
6969) and family == 0 (AF_UNSPEC).
Even after adding COT_URL = udp://239.255.255.250:6969 to my config.ini,
it fails.
—
Reply to this email directly, view it on GitHub
<#21>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAWIXXECULCGIHKNPZMP5DWUUDYXANCNFSM6AAAAAAUJTQFCA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Greg Albrecht ***@***.***> W2GMD
EMT & ICT Specialist
Signal: +1-310-621-9598
https://ampledata.org/ <http://ampledata.org/>
https://github.com/ampledata
|
I'm using CPython 3.11 (for x64) on Windows-10. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This seems like a cool project, but I'm not sure about the Windows support.
Since for any configuration, I get this error:
10049 == WSAEADDRNOTAVAIL
.Ref: https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2
With some added trace, I see the address in
pytak/asyncio_dgram/aio.py
is('239.2.3.1', 6969)
and family == 0 (AF_UNSPEC
).Even after adding
COT_URL = udp://239.255.255.250:6969
to myconfig.ini
, it fails.The text was updated successfully, but these errors were encountered: