Advertisement
kokop

freeathome log

Jan 31st, 2025
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 11.27 KB | Source Code | 0 0
  1. 2025-01-31 20:24:05.615 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_default_certs with args (<ssl.SSLContext object at 0x7f81b26d9370>, <Purpose.SERVER_AUTH: _ASN1Object(nid=129, shortname='serverAuth', longname='TLS Web Server Authentication', oid='1.3.6.1.5.5.7.3.1')>) inside the event loop by custom integration 'freeathome' at custom_components/freeathome/fah/pfreeathome.py, line 220: slixmpp.ClientXMPP.__init__(self, jid, password, sasl_mech='SCRAM-SHA-1') (offender: /usr/local/lib/python3.13/ssl.py, line 722: context.load_default_certs(purpose)), please report it to the author of the 'freeathome' custom integration
  2. For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs
  3. Traceback (most recent call last):
  4.   File "<frozen runpy>", line 198, in _run_module_as_main
  5.   File "<frozen runpy>", line 88, in _run_code
  6.   File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module>
  7.     sys.exit(main())
  8.   File "/usr/src/homeassistant/homeassistant/__main__.py", line 213, in main
  9.     exit_code = runner.run(runtime_conf)
  10.   File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run
  11.     return loop.run_until_complete(setup_and_run_hass(runtime_config))
  12.   File "/usr/local/lib/python3.13/asyncio/base_events.py", line 707, in run_until_complete
  13.     self.run_forever()
  14.   File "/usr/local/lib/python3.13/asyncio/base_events.py", line 678, in run_forever
  15.     self._run_once()
  16.   File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2033, in _run_once
  17.     handle._run()
  18.   File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
  19.     self._context.run(self._callback, *self._args)
  20.   File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 480, in _handle_request
  21.     resp = await request_handler(request)
  22.   File "/usr/local/lib/python3.13/site-packages/aiohttp/web_app.py", line 569, in _handle
  23.     return await handler(request)
  24.   File "/usr/local/lib/python3.13/site-packages/aiohttp/web_middlewares.py", line 117, in impl
  25.     return await handler(request)
  26.   File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
  27.     return await handler(request)
  28.   File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
  29.     return await handler(request)
  30.   File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
  31.     return await handler(request)
  32.   File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 86, in ban_middleware
  33.     return await handler(request)
  34.   File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
  35.     return await handler(request)
  36.   File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
  37.     response = await handler(request)
  38.   File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
  39.     result = await handler(request, **request.match_info)
  40.   File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
  41.     return await func(self, request, *args, **kwargs)
  42.   File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 222, in post
  43.     return await super().post(request, flow_id)
  44.   File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
  45.     return await method(view, request, data, *args, **kwargs)
  46.   File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 122, in post
  47.     result = await self._flow_mgr.async_configure(flow_id, data)
  48.   File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 341, in async_configure
  49.     result = await self._async_configure(flow_id, user_input)
  50.   File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 388, in _async_configure
  51.     result = await self._async_handle_step(
  52.   File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 491, in _async_handle_step
  53.     result: _FlowResultT = await getattr(flow, method)(user_input)
  54.   File "/config/custom_components/freeathome/config_flow.py", line 165, in async_step_link
  55.     return await self.async_step_user(user_input)
  56.   File "/config/custom_components/freeathome/config_flow.py", line 134, in async_step_user
  57.     info = await validate_input(self.hass, user_input)
  58.   File "/config/custom_components/freeathome/config_flow.py", line 41, in validate_input
  59.     await sysap.connect()
  60.   File "/config/custom_components/freeathome/fah/pfreeathome.py", line 906, in connect
  61.     self.xmpp = Client(self._jid, self._password, self._host, self._port, fahversion, iterations, salt, self.reconnect)
  62.   File "/config/custom_components/freeathome/fah/pfreeathome.py", line 220, in __init__
  63.     slixmpp.ClientXMPP.__init__(self, jid, password, sasl_mech='SCRAM-SHA-1')
  64.  
  65. 2025-01-31 20:24:06.654 WARNING (MainThread) [custom_components.freeathome.fah.pfreeathome] Connection with SysAP lost
  66. 2025-01-31 20:25:02.335 ERROR (MainThread) [homeassistant] Error doing job: Task was destroyed but it is pending! (<Task pending name='Task-1035' coro=<XMLStream.run_filters() running at /usr/local/lib/python3.13/site-packages/slixmpp/xmlstream/xmlstream.py:1262> wait_for=<Future pending cb=[Task.task_wakeup()]>>)
  67. 2025-01-31 20:27:03.510 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/config/freeathome_monitor_192.168.1.2_2025_01_31_20_27_03.xml', 'wt') inside the event loop by custom integration 'freeathome' at custom_components/freeathome/__init__.py, line 114: f = open(hass.config.path(filename), "wt") (offender: /config/custom_components/freeathome/__init__.py, line 114: f = open(hass.config.path(filename), "wt")), please report it to the author of the 'freeathome' custom integration
  68. For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
  69. Traceback (most recent call last):
  70.   File "<frozen runpy>", line 198, in _run_module_as_main
  71.   File "<frozen runpy>", line 88, in _run_code
  72.   File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module>
  73.     sys.exit(main())
  74.   File "/usr/src/homeassistant/homeassistant/__main__.py", line 213, in main
  75.     exit_code = runner.run(runtime_conf)
  76.   File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run
  77.     return loop.run_until_complete(setup_and_run_hass(runtime_config))
  78.   File "/usr/local/lib/python3.13/asyncio/base_events.py", line 707, in run_until_complete
  79.     self.run_forever()
  80.   File "/usr/local/lib/python3.13/asyncio/base_events.py", line 678, in run_forever
  81.     self._run_once()
  82.   File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2033, in _run_once
  83.     handle._run()
  84.   File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
  85.     self._context.run(self._callback, *self._args)
  86.   File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 480, in _handle_request
  87.     resp = await request_handler(request)
  88.   File "/usr/local/lib/python3.13/site-packages/aiohttp/web_app.py", line 569, in _handle
  89.     return await handler(request)
  90.   File "/usr/local/lib/python3.13/site-packages/aiohttp/web_middlewares.py", line 117, in impl
  91.     return await handler(request)
  92.   File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
  93.     return await handler(request)
  94.   File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
  95.     return await handler(request)
  96.   File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
  97.     return await handler(request)
  98.   File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 86, in ban_middleware
  99.     return await handler(request)
  100.   File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
  101.     return await handler(request)
  102.   File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
  103.     response = await handler(request)
  104.   File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
  105.     result = await handler(request, **request.match_info)
  106.   File "/usr/src/homeassistant/homeassistant/components/websocket_api/http.py", line 57, in get
  107.     return await WebSocketHandler(request.app[KEY_HASS], request).async_handle()
  108.   File "/usr/src/homeassistant/homeassistant/components/websocket_api/http.py", line 343, in async_handle
  109.     await self._async_websocket_command_phase(connection)
  110.   File "/usr/src/homeassistant/homeassistant/components/websocket_api/http.py", line 494, in _async_websocket_command_phase
  111.     async_handle_str(command_msg_data)
  112.   File "/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py", line 237, in async_handle
  113.     handler(self.hass, self, schema(msg))
  114.   File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 69, in with_admin
  115.     func(hass, connection, msg)
  116.   File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 47, in schedule_handler
  117.     hass.async_create_background_task(
  118.   File "/usr/src/homeassistant/homeassistant/core.py", line 864, in async_create_background_task
  119.     task = create_eager_task(target, name=name, loop=self.loop)
  120.   File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
  121.     return Task(coro, loop=loop, name=name, eager_start=True)
  122.   File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
  123.     await func(hass, connection, msg)
  124.   File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 816, in handle_execute_script
  125.     script_result = await script_obj.async_run(
  126.   File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1810, in async_run
  127.     return await asyncio.shield(create_eager_task(run.async_run()))
  128.   File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
  129.     return Task(coro, loop=loop, name=name, eager_start=True)
  130.   File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 464, in async_run
  131.     await self._async_step(log_exceptions=False)
  132.   File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 526, in _async_step
  133.     await getattr(self, handler)()
  134.   File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 765, in _async_call_service_step
  135.     self._hass.async_create_task_internal(
  136.   File "/usr/src/homeassistant/homeassistant/core.py", line 832, in async_create_task_internal
  137.     task = create_eager_task(target, name=name, loop=self.loop)
  138.   File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
  139.     return Task(coro, loop=loop, name=name, eager_start=True)
  140.   File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
  141.     response_data = await coro
  142.   File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
  143.     return await target(service_call)
  144.   File "/config/custom_components/freeathome/__init__.py", line 114, in async_monitor_service
  145.     f = open(hass.config.path(filename), "wt")
  146.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement