Skip to content

bug: connection get lost #91

@Rushaway

Description

@Rushaway
2025-02-13T14:49:07+0100 | INFO | Stopped file:///home/container/sounds/solo.mp3
2025-02-13T14:49:07+0100 | ERROR | Task exception was never retrieved
future: <Task finished name='Task-358650' coro=<FFmpegAudioPlayer._read_stream() done, defined at /usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py:222> exception=ConnectionResetError('Connection lost')>
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 252, in _read_stream
    raise exc
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 233, in _read_stream
    await writer.drain()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 371, in drain
    await self._protocol._drain_helper()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 167, in _drain_helper
    raise ConnectionResetError('Connection lost')
ConnectionResetError: Connection lost
2025-02-13T14:49:07+0100 | ERROR | Task exception was never retrieved
future: <Task finished name='Task-358649' coro=<FFmpegAudioPlayer._write_stream() done, defined at /usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py:291> exception=BrokenPipeError()>
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 308, in _write_stream
    raise exc
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 302, in _write_stream
    await writer.drain()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 371, in drain
    await self._protocol._drain_helper()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 173, in _drain_helper
    await waiter
BrokenPipeError
2025-02-13T14:49:08+0100 | ERROR | Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/torchlight/Subscribe.py", line 139, in OnPublish
    callback(**event["data"])
TypeError: TorchlightHandler.Event_PlayerSay() missing 1 required positional argument: 'text'

2025-02-13T14:49:08+0100 | ERROR | {'name': 'player_say', 'data': {'userid': 1400}}
2025-02-13T14:49:13+0100 | INFO | Historia: ['!abuse', '']
2025-02-13T14:49:13+0100 | INFO | Playing file:///home/container/sounds/humanz_abuse.mp3
2025-02-13T14:49:13+0100 | INFO | Streaming file:///home/container/sounds/humanz_abuse.mp3
2025-02-13T14:49:14+0100 | INFO | OnConnect(name=Nine, index=53, userid=1868, networkid=[U:1:1242046568], address=, bot=0)
2025-02-13T14:49:17+0100 | INFO | Stopped file:///home/container/sounds/humanz_abuse.mp3
2025-02-13T14:49:19+0100 | INFO | [Infected]!!JackAttack!!: ['!solo', '']
2025-02-13T14:49:19+0100 | INFO | Playing file:///home/container/sounds/solo.mp3
2025-02-13T14:49:20+0100 | INFO | Streaming file:///home/container/sounds/solo.mp3
2025-02-13T14:49:20+0100 | INFO | Stopped file:///home/container/sounds/solo.mp3
2025-02-13T14:49:20+0100 | ERROR | Task exception was never retrieved
future: <Task finished name='Task-358677' coro=<FFmpegAudioPlayer._read_stream() done, defined at /usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py:222> exception=ConnectionResetError('Connection lost')>
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 252, in _read_stream
    raise exc
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 233, in _read_stream
    await writer.drain()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 371, in drain
    await self._protocol._drain_helper()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 167, in _drain_helper
    raise ConnectionResetError('Connection lost')
ConnectionResetError: Connection lost
2025-02-13T14:49:20+0100 | ERROR | Task exception was never retrieved
future: <Task finished name='Task-358676' coro=<FFmpegAudioPlayer._write_stream() done, defined at /usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py:291> exception=BrokenPipeError()>
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 308, in _write_stream
    raise exc
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 302, in _write_stream
    await writer.drain()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 371, in drain
    await self._protocol._drain_helper()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 173, in _drain_helper
    await waiter
BrokenPipeError

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