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

Fatal read error on socket transport #78329

Closed
yjqiang mannequin opened this issue Jul 18, 2018 · 6 comments
Closed

Fatal read error on socket transport #78329

yjqiang mannequin opened this issue Jul 18, 2018 · 6 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes topic-asyncio type-bug An unexpected behavior, bug, or error

Comments

@yjqiang
Copy link
Mannequin

yjqiang mannequin commented Jul 18, 2018

BPO 34148
Nosy @asvetlov, @1st1, @yjqiang
PRs
  • bpo-34148: Dont log exception traceback when TimeoutError is occurred in asyncio transports #11576
  • bpo-34148: Dont log exception traceback when TimeoutError is occurred in asyncio transports #11576
  • bpo-34148: Dont log exception traceback when TimeoutError is occurred in asyncio transports #11576
  • Superseder
  • bpo-37035: Don't log OSError exceptions in asyncio transports
  • 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 2019-05-27.13:47:27.986>
    created_at = <Date 2018-07-18.14:23:04.915>
    labels = ['3.8', 'type-bug', '3.7', 'expert-asyncio']
    title = 'Fatal read error on socket transport'
    updated_at = <Date 2019-05-27.13:47:27.985>
    user = 'https://github.com/yjqiang'

    bugs.python.org fields:

    activity = <Date 2019-05-27.13:47:27.985>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-27.13:47:27.986>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2018-07-18.14:23:04.915>
    creator = 'yjqiang'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34148
    keywords = ['patch', 'patch', 'patch']
    message_count = 6.0
    messages = ['321883', '321885', '332549', '332550', '335777', '343625']
    nosy_count = 3.0
    nosy_names = ['asvetlov', 'yselivanov', 'yjqiang']
    pr_nums = ['11576', '11576', '11576']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '37035'
    type = 'behavior'
    url = 'https://bugs.python.org/issue34148'
    versions = ['Python 3.7', 'Python 3.8']

    @yjqiang
    Copy link
    Mannequin Author

    yjqiang mannequin commented Jul 18, 2018

    Fatal read error on socket transport
    protocol: <asyncio.sslproto.SSLProtocol object at 0x1177ce940>
    transport: <_SelectorSocketTransport fd=47 read=polling write=<idle, bufsize=0>>
    Traceback (most recent call last):
    File "/var/containers/Bundle/Application/9F565D30-C54B-4210-902B-874D7A5AB814/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/selector_events.py", line 725, in _read_ready
    data = self._sock.recv(self.max_size)
    TimeoutError: [Errno 60] Operation timed out

    @yjqiang yjqiang mannequin added topic-asyncio type-bug An unexpected behavior, bug, or error labels Jul 18, 2018
    @yjqiang
    Copy link
    Mannequin Author

    yjqiang mannequin commented Jul 18, 2018

    More information:
    omz/Pythonista-Issues#555

    @yjqiang
    Copy link
    Mannequin Author

    yjqiang mannequin commented Dec 26, 2018

    @yjqiang
    Copy link
    Mannequin Author

    yjqiang mannequin commented Dec 26, 2018

    I'm sure that this should be a bug in python. But because I'm naive, I'm not sure about how to fix it. I think we can just add the exception to base_events._FATAL_ERROR_IGNORE.

    @yjqiang yjqiang mannequin changed the title Fatal error on SSL transport Fatal read error on socket transport Jan 17, 2019
    @SilentGhost SilentGhost mannequin added 3.7 (EOL) end of life 3.8 only security fixes labels Jan 29, 2019
    @yjqiang
    Copy link
    Mannequin Author

    yjqiang mannequin commented Feb 17, 2019

    Other people also found this in a year. And asvetlov already pull requests. But no one cares about this at all!
    https://community.home-assistant.io/t/announcement-appdaemon-3-0/47394/56
    aio-libs/aiokafka#344
    conjure-up/conjure-up#1513

    @asvetlov
    Copy link
    Contributor

    Fixed by bpo-37035

    @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.7 (EOL) end of life 3.8 only security fixes topic-asyncio type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant