Comments (3)
@comet424 Please close this issue if it's fixed as you say it is in #251
from remote_homeassistant.
I started getting these errors in 2023.10.5. I have Remote Home-Assistant 3.11 installed on both hosts. My remote instance is pretty under-powered (pi zero W), but all it does is pass through a few IOT devices, and has run for months without latency issues, so I am confused why it started having issues unexpectedly a few days ago.
This error originated from a custom integration.
Logger: custom_components.remote_homeassistant
Source: custom_components/remote_homeassistant/__init__.py:376
Integration: Remote Home-Assistant (documentation, issues)
First occurred: 07:15:07 (3 occurrences)
Last logged: 07:19:49
failed to connect
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1085, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
sock = await self._connect_sock(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 668, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('192.168.20.13', 8123)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/remote_homeassistant/__init__.py", line 376, in _async_instance_get_info
return await async_get_discovery_info(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/remote_homeassistant/rest_api.py", line 47, in async_get_discovery_info
async with session.get(url, headers=headers) as resp:
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1141, in __aenter__
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 536, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1209, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1178, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host home-assistant.iot.goofy-goober.us:8123 ssl:default [Connect call failed ('192.168.20.13', 8123)]
This error originated from a custom integration.
Logger: custom_components.remote_homeassistant
Source: custom_components/remote_homeassistant/__init__.py:463
Integration: Remote Home-Assistant (documentation, issues)
First occurred: 07:13:07 (15 occurrences)
Last logged: 07:22:12
heartbeat failed
What is the timing for the heartbeat, and could that be made configurable? In the meantime I will try to set up a different machine than the pi zero W to see if that fixes it.
from remote_homeassistant.
Looks like that was a "me" problem. I moved my Pi Zero W to an area of my house with less WiFi 2.4 GHz and ZigBee traffic, and after a few minutes it seems more responsive and stable. Moral of the story is, if you area fool like me and want to use WiFi for any kind of home services, be flexible with where you are planning to place it!
from remote_homeassistant.
Related Issues (20)
- Main system has an IP change - How do I change on remote HOT 3
- 800+ exceptions in 2 hours while remote instance is not reachable HOT 1
- Expose remote entities to Google Assistant on main instance HOT 1
- Configuration stuck with button.press in remote services HOT 2
- Newly created entities not migrating/populating.
- I have an error "Unknown error occurred"
- "Invalid credentials"
- Remote Home Assistant
- How to remove entities is integration is removed or entities are un-synched
- Button from remote HA not visible in main HA
- dataplicity remote home assistant
- Still in development? Or is this dead? HOT 1
- Warning message "remote counter is unavailable". HOT 2
- Cloudflare access HOT 3
- Update HA-Core from 2024.3.1 to 2024.4.3 causes issues with REMOTE home assistant instance when calling remote scripts from the master HOT 12
- Remove messages in the logs about the connection HOT 1
- Remote Home Assistant over VPN HOT 4
- HomeAssistantType will be deprecated in 2025.5 release of HA HOT 6
- weather forecasts are not fully forwarded to main instance.
- Services on remote instance have timeout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remote_homeassistant.