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

Can't receive replies from multicast UDP with asyncio #76103

Closed
vxgmichel mannequin opened this issue Nov 2, 2017 · 4 comments
Closed

Can't receive replies from multicast UDP with asyncio #76103

vxgmichel mannequin opened this issue Nov 2, 2017 · 4 comments
Labels
3.8 (EOL) end of life topic-asyncio type-bug An unexpected behavior, bug, or error

Comments

@vxgmichel
Copy link
Mannequin

vxgmichel mannequin commented Nov 2, 2017

BPO 31922
Nosy @1st1, @vxgmichel, @miss-islington, @iritkatriel
PRs
  • bpo-31922: Do not connect UDP sockets when broadcast is allowed #423
  • [3.7] bpo-31922: Do not connect UDP sockets when broadcast is allowed (GH-423) #13162
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2020-10-21.15:10:51.456>
    created_at = <Date 2017-11-02.10:51:16.167>
    labels = ['type-bug', '3.8', 'expert-asyncio']
    title = "Can't receive replies from multicast UDP with asyncio"
    updated_at = <Date 2020-10-21.15:10:51.456>
    user = 'https://github.com/vxgmichel'

    bugs.python.org fields:

    activity = <Date 2020-10-21.15:10:51.456>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-10-21.15:10:51.456>
    closer = 'iritkatriel'
    components = ['asyncio']
    creation = <Date 2017-11-02.10:51:16.167>
    creator = 'vxgmichel'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31922
    keywords = ['patch']
    message_count = 4.0
    messages = ['305415', '341785', '341791', '378771']
    nosy_count = 4.0
    nosy_names = ['yselivanov', 'vxgmichel', 'miss-islington', 'iritkatriel']
    pr_nums = ['423', '13162']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31922'
    versions = ['Python 3.8']

    @vxgmichel
    Copy link
    Mannequin Author

    vxgmichel mannequin commented Nov 2, 2017

    It's currently not possible to receive replies from multicast UDP with asyncio, as reported in the following issue:

    python/asyncio#480

    That's because asyncio connects the UDP socket to the broadcast address, causing all traffic from the receivers to be be dropped, as explained in this comment:
    python/asyncio#480 (comment)

    I already submitted a PR on the cpython repository:
    #423

    I figured it was better to report the issue here for better tracking.

    @vxgmichel vxgmichel mannequin added 3.7 (EOL) end of life 3.8 (EOL) end of life topic-asyncio type-bug An unexpected behavior, bug, or error labels Nov 2, 2017
    @vstinner vstinner removed the 3.7 (EOL) end of life label Sep 14, 2018
    @miss-islington
    Copy link
    Contributor

    New changeset 63deaa5 by Miss Islington (bot) (Vincent Michel) in branch 'master':
    bpo-31922: Do not connect UDP sockets when broadcast is allowed (GH-423)
    63deaa5

    @miss-islington
    Copy link
    Contributor

    New changeset 19ca5b5 by Miss Islington (bot) in branch '3.7':
    bpo-31922: Do not connect UDP sockets when broadcast is allowed (GH-423)
    19ca5b5

    @iritkatriel
    Copy link
    Member

    Can this be closed?

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 (EOL) end of life topic-asyncio type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants