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

ConnectionResetError: Cannot write to closing transport #6

Open
vermut opened this issue Sep 14, 2024 · 0 comments
Open

ConnectionResetError: Cannot write to closing transport #6

vermut opened this issue Sep 14, 2024 · 0 comments

Comments

@vermut
Copy link
Owner

vermut commented Sep 14, 2024

Logger: custom_components.amc_alarm
Source: helpers/update_coordinator.py:315
integration: AMC Alarm (documentation, issues)
First occurred: September 9, 2024 at 13:09:44 (724 occurrences)
Last logged: 13:15:12
Unexpected error fetching amc_alarm data

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 271, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/amc_alarm/init.py", line 42, in async_wait_for_states
await api.command_get_states()
File "/config/custom_components/amc_alarm/amc_alarm_api/api.py", line 203, in command_get_states
await self._send_message(
File "/config/custom_components/amc_alarm/amc_alarm_api/api.py", line 200, in _send_message
await self._websocket.send_str(payload)
File "/usr/local/lib/python3.12/site-packages/aiohttp/client_ws.py", line 165, in send_str
await self._writer.send(data, binary=False, compress=compress)
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 729, in send
await self._send_frame(message, WSMsgType.TEXT, compress)
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 628, in _send_frame
raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport

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