You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By trying yo ad a s19 pro+ hydro with latest Brains OS it displays unknown error.
(Logs show it's a authentication problem, but user and password are correct)
Strangely, the device was displaying correctly when I added it with antminer software and changing it to Baraiins OS after. (I removed the device because of duplicated entities of the the miner and after I couldn't add it again)
Debug log
Registrador: aiohttp.server
Fuente: /usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py:421
Ocurrió por primera vez: 15:52:58 (2 ocurrencias)
Último inicio de sesión: 15:53:17
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 77, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 222, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
return await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 122, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 368, in async_configure
result = await self._async_configure(flow_id, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 415, in _async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 518, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/miner/config_flow.py", line 165, in async_step_login
return await self.async_step_title()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/miner/config_flow.py", line 169, in async_step_title
title = await self._miner.get_hostname()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyasic/miners/base.py", line 239, in get_hostname
return await self._get_hostname()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyasic/miners/backends/braiins_os.py", line 873, in _get_hostname
grpc_miner_details = await self.web.get_miner_details()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyasic/web/braiins_os/boser.py", line 440, in get_miner_details
return await self.send_command(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyasic/web/braiins_os/boser.py", line 105, in send_command
metadata.append(("authorization", await self.auth()))
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyasic/web/braiins_os/boser.py", line 129, in auth
await self._get_auth()
File "/usr/local/lib/python3.12/site-packages/pyasic/web/braiins_os/boser.py", line 142, in _get_auth
await stream.recv_initial_metadata()
File "/usr/local/lib/python3.12/site-packages/grpclib/client.py", line 393, in recv_initial_metadata
self._raise_for_grpc_status(status, message, details)
File "/usr/local/lib/python3.12/site-packages/grpclib/client.py", line 345, in _raise_for_grpc_status
raise GRPCError(status, message, details)
grpclib.exceptions.GRPCError: (<Status.UNAUTHENTICATED: 16>, 'Ubus error: Command failed: Permission denied\n', None)
The text was updated successfully, but these errors were encountered:
Try with v1.1.17. Have been waiting to fix some install issues, but this should have the latest gRPC files compiled in, so if you update your miner to latest this issue should go away.
Version of the custom_component
Configuration
Nothing to add
Describe the bug
By trying yo ad a s19 pro+ hydro with latest Brains OS it displays unknown error.
(Logs show it's a authentication problem, but user and password are correct)
Strangely, the device was displaying correctly when I added it with antminer software and changing it to Baraiins OS after. (I removed the device because of duplicated entities of the the miner and after I couldn't add it again)
Debug log
The text was updated successfully, but these errors were encountered: