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

Timing out from the home assistant server #278

Open
JustAiden9 opened this issue Feb 2, 2025 · 0 comments
Open

Timing out from the home assistant server #278

JustAiden9 opened this issue Feb 2, 2025 · 0 comments

Comments

@JustAiden9
Copy link

Below I have attached some of my error logs, everything works but it seems to disconnect from the server after it works. It's a problem when I need to do two actions fast like turn off the lights, but then I need to turn them back on again.

Feb 02 07:39:11 pi run[909]: INFO:root:Streaming audio
Feb 02 07:39:11 pi run[921]: Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
Feb 02 07:39:16 pi run[909]: WARNING:root:Did not receive ping response within timeout
Feb 02 07:39:16 pi run[909]: INFO:root:Disconnected from server
Feb 02 07:39:19 pi run[909]: ERROR:asyncio:Task exception was never retrieved
Feb 02 07:39:19 pi run[909]: future: <Task finished name='wyoming event handler' coro=<AsyncEventHandler.run() done, defined at /home/aiden/wyoming-satellite/.venv/lib/python3.9/site-packages/wyoming/server.py:31> exception=ConnectionResetError(104, 'Connection reset by peer')>
Feb 02 07:39:19 pi run[909]: Traceback (most recent call last):
Feb 02 07:39:19 pi run[909]: File "/home/aiden/wyoming-satellite/.venv/lib/python3.9/site-packages/wyoming/server.py", line 37, in run
Feb 02 07:39:19 pi run[909]: event = await async_read_event(self.reader)
Feb 02 07:39:19 pi run[909]: File "/home/aiden/wyoming-satellite/.venv/lib/python3.9/site-packages/wyoming/event.py", line 79, in async_read_event
Feb 02 07:39:19 pi run[909]: json_line = await reader.readline()
Feb 02 07:39:19 pi run[909]: File "/usr/lib/python3.9/asyncio/streams.py", line 540, in readline
Feb 02 07:39:19 pi run[909]: line = await self.readuntil(sep)
Feb 02 07:39:19 pi run[909]: File "/usr/lib/python3.9/asyncio/streams.py", line 632, in readuntil
Feb 02 07:39:19 pi run[909]: await self._wait_for_data('readuntil')
Feb 02 07:39:19 pi run[909]: File "/usr/lib/python3.9/asyncio/streams.py", line 517, in _wait_for_data
Feb 02 07:39:19 pi run[909]: await self._waiter
Feb 02 07:39:19 pi run[909]: File "/usr/lib/python3.9/asyncio/selector_events.py", line 856, in _read_ready__data_received
Feb 02 07:39:19 pi run[909]: data = self._sock.recv(self.max_size)
Feb 02 07:39:19 pi run[909]: ConnectionResetError: [Errno 104] Connection reset by peer
Feb 02 07:39:19 pi run[909]: INFO:root:Connected to server
Feb 02 07:39:19 pi run[909]: INFO:root:Streaming audio

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