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 #149

Open
LordAro opened this issue Feb 24, 2019 · 0 comments
Open

Fatal read error on socket transport #149

LordAro opened this issue Feb 24, 2019 · 0 comments

Comments

@LordAro
Copy link
Member

LordAro commented Feb 24, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant