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

wyoming satellite is disconnecting from server and throwing errors #137135

Open
DecVes opened this issue Feb 1, 2025 · 0 comments
Open

wyoming satellite is disconnecting from server and throwing errors #137135

DecVes opened this issue Feb 1, 2025 · 0 comments

Comments

@DecVes
Copy link

DecVes commented Feb 1, 2025

The problem

I set up HA with wyoming and everything works except for the satellite, every time I start the service it boots up and will not recognize the wake word and will instead disconnect and throw errors. Now it does sometimes work but that is rare and I cannot find any other people that have this exact issue. I would be glad to provided any more information I just do not know what other than this.

BrokenPipeError: [Errno 32] Broken pipe

and

WARNING:root:Did not receive ping response within timeout
DEBUG:root:Server disconnected
INFO:root:Disconnected from server

This is the entire Broken pipe error message

DEBUG:root:Server disconnected
INFO:root:Disconnected from server
ERROR:root:Unexpected error sending event to server
Traceback (most recent call last):
  File "/home/pi/wyoming-satellite/wyoming_satellite/satellite.py", line 182, in event_to_server
    await async_write_event(event, self._writer)
  File "/home/pi/wyoming-satellite/.venv/lib/python3.11/site-packages/wyoming/event.py", line 131, in async_write_event
    await writer.drain()
  File "/usr/lib/python3.11/asyncio/streams.py", line 378, in drain
    await self._protocol._drain_helper()
  File "/usr/lib/python3.11/asyncio/streams.py", line 173, in _drain_helper
    await waiter
  File "/usr/lib/python3.11/asyncio/selector_events.py", line 1082, in _write_ready
    n = self._sock.send(self._buffer)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
BrokenPipeError: [Errno 32] Broken pipe
DEBUG:root:Server disconnected
INFO:root:Disconnected from server
ERROR:root:Unexpected error sending event to server
Traceback (most recent call last):
  File "/home/pi/wyoming-satellite/wyoming_satellite/satellite.py", line 182, in event_to_server
    await async_write_event(event, self._writer)
  File "/home/pi/wyoming-satellite/.venv/lib/python3.11/site-packages/wyoming/event.py", line 131, in async_write_event
    await writer.drain()
  File "/usr/lib/python3.11/asyncio/streams.py", line 378, in drain
    await self._protocol._drain_helper()
  File "/usr/lib/python3.11/asyncio/streams.py", line 173, in _drain_helper
    await waiter
  File "/usr/lib/python3.11/asyncio/selector_events.py", line 1082, in _write_ready
    n = self._sock.send(self._buffer)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
BrokenPipeError: [Errno 32] Broken pipe
DEBUG:root:Ping enabled
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='wyoming event handler' coro=<AsyncEventHandler.run() done, defined at /home/pi/wyoming-satellite/.venv/lib/python3.11/site-packages/wyoming/server.py:31> exception=BrokenPipeError(32, 'Broken pipe')>
Traceback (most recent call last):
  File "/home/pi/wyoming-satellite/.venv/lib/python3.11/site-packages/wyoming/server.py", line 37, in run
    event = await async_read_event(self.reader)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pi/wyoming-satellite/.venv/lib/python3.11/site-packages/wyoming/event.py", line 79, in async_read_event
    json_line = await reader.readline()
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/streams.py", line 545, in readline
    line = await self.readuntil(sep)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/streams.py", line 582, in readuntil
    raise self._exception
  File "/home/pi/wyoming-satellite/wyoming_satellite/satellite.py", line 182, in event_to_server
    await async_write_event(event, self._writer)
  File "/home/pi/wyoming-satellite/.venv/lib/python3.11/site-packages/wyoming/event.py", line 131, in async_write_event
    await writer.drain()
  File "/usr/lib/python3.11/asyncio/streams.py", line 378, in drain
    await self._protocol._drain_helper()
  File "/usr/lib/python3.11/asyncio/streams.py", line 173, in _drain_helper
    await waiter
  File "/usr/lib/python3.11/asyncio/selector_events.py", line 1082, in _write_ready
    n = self._sock.send(self._buffer)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
BrokenPipeError: [Errno 32] Broken pipe

It will then try to reconnect and will "connect" but then will fail seconds later

Any help would be appreciated!

What version of Home Assistant Core has the issue?

HomeOS 14.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

wyoming

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

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