Skip to content

Fatal read error on socket transport #149

@LordAro

Description

@LordAro

Not sure why this happened, but probably due to the internet connection going away (iirc, the "router" was rebooted)

Might be related to #96

[2019/02/17 14:34:04] (E:asyncio) Fatal read error on socket transport
protocol: <asyncio.streams.StreamReaderProtocol object at 0x80c881208>
transport: <_SelectorSocketTransport fd=9 read=polling write=<idle, bufsize=0>>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/selector_events.py", line 714, in _read_ready
    data = self._sock.recv(self.max_size)
TimeoutError: [Errno 60] Operation timed out
Traceback (most recent call last):
  File "./run_csbot.py", line 3, in <module>
    main(auto_envvar_prefix='CSBOT')
  File "/home/urybot/csbot/venv/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/urybot/csbot/venv/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/urybot/csbot/venv/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/urybot/csbot/venv/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/urybot/csbot/csbot/__init__.py", line 96, in main
    client.loop.run_until_complete(client.run())
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
    return future.result()
  File "/home/urybot/csbot/csbot/irc.py", line 274, in run
    await self.read_loop()
  File "/home/urybot/csbot/csbot/irc.py", line 311, in read_loop
    line = await self.reader.readline()
  File "/usr/local/lib/python3.6/asyncio/streams.py", line 488, in readline
    line = yield from self.readuntil(sep)
  File "/usr/local/lib/python3.6/asyncio/streams.py", line 581, in readuntil
    yield from self._wait_for_data('readuntil')
  File "/usr/local/lib/python3.6/asyncio/streams.py", line 464, in _wait_for_data
    yield from self._waiter
  File "/usr/local/lib/python3.6/asyncio/selector_events.py", line 714, in _read_ready
    data = self._sock.recv(self.max_size)
TimeoutError: [Errno 60] Operation timed out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions