Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown error occurred when configuring first time Home assistant OS #262

Open
StijnMut opened this issue Jun 14, 2023 · 0 comments
Open

Comments

@StijnMut
Copy link

This error originated from a custom integration.

Logger: aiohttp.server
Source: custom_components/nefiteasy/config_flow.py:36
Integration: Nefit Easy Bosch Thermostat (documentation, issues)
First occurred: 23:15:28 (1 occurrences)
Last logged: 23:15:28

Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/slixmpp/stringprep.py", line 49, in nodeprep
return _nodeprep(node)
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/slixmpp/util/stringprep_profiles.py", line 139, in profile
prohibit_output(data, prohibited)
File "/usr/local/lib/python3.11/site-packages/slixmpp/util/stringprep_profiles.py", line 72, 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.11/site-packages/slixmpp/jid.py", line 84, in _validate_node
node = nodeprep(node)
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/slixmpp/stringprep.py", line 51, in nodeprep
raise StringprepError
slixmpp.stringprep.StringprepError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 181, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 271, in async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/nefiteasy/config_flow.py", line 133, in async_step_user
await _validate_nefiteasy_connection(self.hass, user_input)
File "/config/custom_components/nefiteasy/config_flow.py", line 103, in _validate_nefiteasy_connection
conn = NefitConnection(
^^^^^^^^^^^^^^^^
File "/config/custom_components/nefiteasy/config_flow.py", line 36, in init
self.nefit = NefitCore(
^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aionefit/init.py", line 45, in init
self.xmppclient = NefitXmppClient(jid=self.jid,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aionefit/provider/slixmpp_impl.py", line 15, in init
slixmpp.ClientXMPP.init(self, jid, password,
File "/usr/local/lib/python3.11/site-packages/slixmpp/clientxmpp.py", line 59, in init
BaseXMPP.init(self, jid, 'jabber:client', **kwargs)
File "/usr/local/lib/python3.11/site-packages/slixmpp/basexmpp.py", line 86, in init
self.requested_jid = JID(jid)
^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/slixmpp/jid.py", line 321, in init
self._node, self._domain, self._resource = _parse_jid(jid)
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/slixmpp/jid.py", line 66, in _parse_jid
node = _validate_node(node)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/slixmpp/jid.py", line 86, in _validate_node
raise InvalidJID('Nodeprep failed')
slixmpp.jid.InvalidJID: Nodeprep failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant