Skip to content

asyncio: If protocol_factory raises an error, the connection closes but no stacktrace is printed on the server. #70004

Closed

Description

@SunDwarf
mannequin
BPO 25818
Nosy @gvanrossum, @vstinner, @1st1
Files
  • broken.py: Example code demonstrating the issue
  • 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 2015-12-07.22:45:09.965>
    created_at = <Date 2015-12-07.22:33:02.586>
    labels = ['invalid', 'expert-asyncio']
    title = 'asyncio: If protocol_factory raises an error, the connection closes but no stacktrace is printed on the server.'
    updated_at = <Date 2015-12-07.22:45:09.964>
    user = 'https://bugs.python.org/SunDwarf'

    bugs.python.org fields:

    activity = <Date 2015-12-07.22:45:09.964>
    actor = 'abarry'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-12-07.22:45:09.965>
    closer = 'abarry'
    components = ['asyncio']
    creation = <Date 2015-12-07.22:33:02.586>
    creator = 'SunDwarf'
    dependencies = []
    files = ['41265']
    hgrepos = []
    issue_num = 25818
    keywords = []
    message_count = 2.0
    messages = ['256081', '256082']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'vstinner', 'yselivanov', 'SunDwarf']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue25818'
    versions = ['Python 3.4', 'Python 3.5']

    Activity

    1. SunDwarf commented on Dec 7, 2015

      SunDwarfmannequin
      MannequinAuthor

      This makes it a nightmare to figure out why your connections are abruptly closing. It should print an error at least.

    2. changed the title [-]If protocol_factory raises an error, the connection closes but no stacktrace is printed on the server.[/-] [+]asyncio: If protocol_factory raises an error, the connection closes but no stacktrace is printed on the server.[/+] on Dec 7, 2015
    3. SunDwarf commented on Dec 7, 2015

      SunDwarfmannequin
      MannequinAuthor

      I completely forgot asyncio has a debug mode. Ignore this.

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions