SimonC6
(Simon Craddock)
June 2, 2022, 7:37pm
1
Since updating to 22.6.0 I’ve notice the Hive Addon fails to authenticate.
Is anyone else experiencing the same issue?
I removed the Addon, reinstalled, authenticated fine pulls in all the devices but within an hour it fails to connect again.
chris6
(Chris)
June 2, 2022, 7:48pm
2
Yes I’ve got the same. I’ve seen a pull request for a fix. I think it will be out in 2022.6.1
SimonC6
(Simon Craddock)
June 2, 2022, 7:50pm
3
Cheers at least I know its not something I’ve done. Guess I’ll just have to wait for the fix.
chris6
(Chris)
June 2, 2022, 8:21pm
4
I’m hoping just a couple of days.
opened 05:41AM - 23 Apr 22 UTC
integration: hive
### The problem
After restarting Home Assistant the Hive integration works for … a while, from a few minutes to maybe 30 minutes, and then stops with an authentication error in the core logs.
This happens with and without 2FA enabled.
I'm UK based so Hive is still available to me.
### What version of Home Assistant Core has the issue?
core-2022.4.6
### What was the last working version of Home Assistant Core?
core-2022.4.4
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
Hive
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/hive/
### Diagnostics information
_No response_
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
```txt
Log data:
Logger: homeassistant.config_entries
Source: config_entries.py:349
First occurred: April 22, 2022, 8:46:51 PM (1 occurrences)
Last logged: April 22, 2022, 8:46:51 PM
Config entry '[email protected] ' for hive integration could not authenticate
Core log data:
2022-04-23 06:36:35.748 | ERROR | apyhiveapi.api.hive_async_api:request:74 - Hive token has expired when calling https://beekeeper.hivehome.com/1.0/nodes/all?products=true&devices=true&actions=true - HTTP status is - 401
2022-04-23 06:36:35.886 | ERROR | apyhiveapi.api.hive_async_api:request:74 - Hive token has expired when calling https://beekeeper.hivehome.com/1.0/nodes/all?products=true&devices=true&actions=true - HTTP status is - 401
2022-04-23 06:36:35.986 | ERROR | apyhiveapi.api.hive_async_api:request:74 - Hive token has expired when calling https://beekeeper.hivehome.com/1.0/nodes/all?products=true&devices=true&actions=true - HTTP status is - 401
2022-04-23 06:36:36.075 | ERROR | apyhiveapi.api.hive_async_api:request:74 - Hive token has expired when calling https://beekeeper.hivehome.com/1.0/nodes/all?products=true&devices=true&actions=true - HTTP status is - 401
```
### Additional information
_No response_
SimonC6
(Simon Craddock)
June 2, 2022, 8:27pm
5
It’s been working fine until 22.6.0 so could it really be the same bug as that’s dated April.
Very odd.
chris6
(Chris)
June 3, 2022, 8:36am
6
2022.06.1 came out today with pull Fix Hive authentication by KJonline · Pull Request #72929 · home-assistant/core · GitHub
I tried upgrading .0 to .1 but it didn’t work. On .1 I tried removing and adding hive. Still failed. I then tried rolling back to 2022.05 and upgrade straight to 2202.06.1 which failed as well. I do all my scheduling for heating locally so I’ve rolled back to 2022.05 for now.
chris6
(Chris)
June 3, 2022, 10:18am
7
That comments say it’s the same issue induced by separate scenarios. I recent issue is Hive stops working with 2022.6 · Issue #72839 · home-assistant/core · GitHub but that’s been merged into the earlier one I posted. The logs posted on the issue are identical to mine. It’s a bit out my depth so I’m holding fire on 2022.05 for now.