hey mate , here’s a quick update , I did everything you mentioned above and unfortunately I still get the same error , even though the discover integrations found my studio camera which is the E1 pro , when I click configure I get also the same " unexpected error " please find attached photos for the config , port set up and error messages, also the logs .
logs for the discovered camera ( its in the same HA’s network )
This error originated from a custom integration.
Logger: custom_components.reolink_rest.config_flow
Source: custom_components/reolink_rest/config_flow.py:204
Integration: Reolink IP Device (documentation, issues)
First occurred: 1:02:22 PM (2 occurrences)
Last logged: 1:04:59 PM
Unhanled exception occurred
Traceback (most recent call last):
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 986, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File “/usr/local/lib/python3.10/asyncio/base_events.py”, line 1064, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.10/asyncio/base_events.py”, line 1049, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.10/asyncio/base_events.py”, line 960, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.10/asyncio/selector_events.py”, line 500, in sock_connect
return await fut
File “/usr/local/lib/python3.10/asyncio/selector_events.py”, line 535, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
ConnectionRefusedError: [Errno 111] Connect call failed (‘192.168.68.141’, 80)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/config/custom_components/reolink_rest/config_flow.py”, line 204, in async_step_user
if not await client.login(
File “/usr/local/lib/python3.10/site-packages/async_reolink/api/security/init.py”, line 71, in login
async for response in self._execute(
File “/usr/local/lib/python3.10/site-packages/async_reolink/rest/connection.py”, line 252, in __execute
response = await context
File “/usr/local/lib/python3.10/site-packages/aiohttp/client.py”, line 535, in _request
conn = await self._connector.connect(
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 907, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 1206, in _create_direct_connection
raise last_exc
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 992, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 192.168.68.141:80 ssl:default [Connect call failed (‘192.168.68.141’, 80)]
logs for camera from a different network
This error originated from a custom integration.
Logger: custom_components.reolink_dev.config_flow
Source: custom_components/reolink_dev/base.py:220
Integration: Reolink IP camera (documentation, issues)
First occurred: 12:59:19 PM (3 occurrences)
Last logged: 1:18:28 PM
Unexpected exception
Traceback (most recent call last):
File “/config/custom_components/reolink_dev/config_flow.py”, line 70, in async_step_user
self.info = await self.async_validate_input(self.hass, user_input)
File “/config/custom_components/reolink_dev/config_flow.py”, line 138, in async_validate_input
if not await self.base.connect_api():
File “/config/custom_components/reolink_dev/base.py”, line 220, in connect_api
if not await self._api.get_settings():
File “/usr/local/lib/python3.10/site-packages/reolink/camera_api.py”, line 496, in get_settings
response = await self.send(body)
File “/usr/local/lib/python3.10/site-packages/reolink/camera_api.py”, line 1661, in send
if not await self.login():
File “/usr/local/lib/python3.10/site-packages/reolink/camera_api.py”, line 854, in login
response = await self.send(body, param)
File “/usr/local/lib/python3.10/site-packages/reolink/camera_api.py”, line 1723, in send
raise ApiError(
reolink.exceptions.ApiError: API returned HTTP status ERROR code 404/Not Found