After upgrading to 0.92 my log.file gets filled up with messages llike this (one each and every 15seconds…):
Unexpected error
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/graphql_subscription_manager/__init__.py", line 102, in running await self._process_msg(msg)
File "/usr/local/lib/python3.7/site-packages/graphql_subscription_manager/__init__.py", line 222, in _process_msg
if msg.get("type") == "init_fail":
AttributeError: 'str' object has no attribute 'get'
Could it be one of of the addons? Like ‘Custom Cards Tracker’ which is the last I installed?
Any clues as to what ‘graphql_subscription_manager’ is used for?
I have the same problem after going from 0.92.1 to 0.92.2. Running regular HA in Docker:
2019-05-05 13:44:25 ERROR (MainThread) [graphql_subscription_manager] Unexpected error,
Traceback (most recent call last):,
File “/usr/local/lib/python3.7/site-packages/graphql_subscription_manager/init.py”, line 102, in running,
await self._process_msg(msg),
File “/usr/local/lib/python3.7/site-packages/graphql_subscription_manager/init.py”, line 222, in _process_msg,
if msg.get(“type”) == “init_fail”:,
AttributeError: ‘str’ object has no attribute ‘get’
@hwestman, ok so Custom Cards Tracker is not to blame, good to know.
I guess this confirmes it as a 0.92.2 introduced bug. Think I’ll just roll back here too, until there is a fix.
Thanks for the heads-up! I am using Tibber as well. This would perhaps explain why my real time electricity consumption sensor would not report data as well. Can I ask how you figured out it was Tibber? I could perhaps have guessed since I know Tibber uses Graphql, but as far as I could see it could have been any component. Any pointers would be appriciated, for next time
I wish I could say it was due to my immense wisdom and intelligence, but sadly no Was more a matter of putting two and two together and let Google give me the answer. My realtime sensor in Tibber was not working, and the only other thing failing (that was new) in the log was the graphql component. Googled these two and found the solution on another forum
3 years later, still an issue. Thankfully i’m going away from the tibber shite as they now “estimate” your usage and then “borrow money” from you literally a month after i joined, then charged me for 1.5 months with full power bill BEFORE the damn state compensation and before my pay 6 days prior. And now the annoying cpu core hog. So fuck them lol.