ksya / ha-nefiteasy

Nefit Easy connection for Home Assistant
74 stars 31 forks source link

Error from HA after update from HA i think #63

Closed Willy3D closed 3 years ago

Willy3D commented 3 years ago

This error originated from a custom integration.

Logger: homeassistant.config_entries Source: custom_components/nefiteasy/init.py:169 Integration: Nefit Easy Bosch Thermostat (documentation, issues) First occurred: 20:09:03 (1 occurrences) Last logged: 20:09:03

Error setting up entry 519 911 274 for nefiteasy Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/slixmpp/stringprep.py", line 55, in nodeprep return _nodeprep(node) File "/usr/local/lib/python3.8/site-packages/slixmpp/util/stringprep_profiles.py", line 145, in profile prohibit_output(data, prohibited) File "/usr/local/lib/python3.8/site-packages/slixmpp/util/stringprep_profiles.py", line 78, in prohibit_output raise StringPrepError("Prohibited code point: %s" % char) slixmpp.util.stringprep_profiles.StringPrepError: Prohibited code point:

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/slixmpp/jid.py", line 86, in _validate_node node = nodeprep(node) File "/usr/local/lib/python3.8/site-packages/slixmpp/stringprep.py", line 57, in nodeprep raise StringprepError slixmpp.stringprep.StringprepError

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 269, in async_setup result = await component.async_setup_entry(hass, self) # type: ignore File "/config/custom_components/nefiteasy/init.py", line 106, in async_setup_entry client = NefitEasy(hass, credentials) File "/config/custom_components/nefiteasy/init.py", line 169, in init self.nefit = NefitCore( File "/usr/local/lib/python3.8/site-packages/aionefit/init.py", line 45, in init self.xmppclient = NefitXmppClient(jid=self.jid, File "/usr/local/lib/python3.8/site-packages/aionefit/provider/slixmpp_impl.py", line 15, in init slixmpp.ClientXMPP.init(self, jid, password, File "/usr/local/lib/python3.8/site-packages/slixmpp/clientxmpp.py", line 70, in init BaseXMPP.init(self, jid, 'jabber:client', **kwargs) File "/usr/local/lib/python3.8/site-packages/slixmpp/basexmpp.py", line 58, in init self.requested_jid = JID(jid) File "/usr/local/lib/python3.8/site-packages/slixmpp/jid.py", line 323, in init self._node, self._domain, self._resource = _parse_jid(jid) File "/usr/local/lib/python3.8/site-packages/slixmpp/jid.py", line 68, in _parse_jid node = _validate_node(node) File "/usr/local/lib/python3.8/site-packages/slixmpp/jid.py", line 88, in _validate_node raise InvalidJID('Nodeprep failed') slixmpp.jid.InvalidJID: Nodeprep failed

grmblmmmbl commented 3 years ago

I have this exact same issue (new to HA so I was wondering if it's me!). I'm really interested in debussing / resolving this.

RobBie1221 commented 3 years ago

Could this be the same as #57

grmblmmmbl commented 3 years ago

@RobBie1221 thank you! Following the instructions there (basically, check that your config is entered without spaces) certainly did the trick for me! @Willy3D FYI

WillyWemos commented 3 years ago

That thit the trick thanx !!!