Closed lorenzodeveloper closed 1 year ago
Does a restart fix the issue?
First issue: habapp wasn't connecting due to missing credentials: I had to change from API token to basic auth. Is the API token auth deprecated for habapp?
Ah - I might have introduced this while checking for username/password. 👎 How have you passed the token before? Just as username or just as password?
What can I do? Is it something wrong with my environment?
Does a restart fix the issue?
Does a restart fix the issue?
Already tried, both habapp service restart and system restart, but still the issue persists :(
How have you passed the token before? Just as username or just as password? Before I was passing the token as username and password was empty.
Example
openhab:
connection:
url: ...
user: oh.<token-name>.<token>
password : ''
Hm - very strange! I can't reproduce the issue and in the 1.0.7 release I haven't changed anything related to asyncio! 😕 I tried something in this branch, could you try it out?
The branch solved the issue on token, but still I have the exceptions. I tried upgrading the asyncio library, but seems to be already up to date, do you have any list of library that may be impacting habapp? I can try upgrade them in case.
I've made another attempt. Could you try again? Sorry for the back and forth, but I can't reproduce the issue (I'm already on python3.10)
No problem! Thanks for your prompt help!
So far it looks good. No exceptions at all. What was the issue? Thank you very much!
Fixed in 1.0.8 - thanks for the report
Hi, Just upgraded to 1.0.7 from 1.0.6 on pipy. First issue: habapp wasn't connecting due to missing credentials: I had to change from API token to basic auth. Is the API token auth deprecated for habapp? Second issue: After I changed the connection credentials from token to basic, it started working again, but now my logs are full of exceptions:
What can I do? Is it something wrong with my environment? Thank you.
Currently using python 3.8.13 on RPI4
Lorenzo