Skip to content

WebackApi : Bad server response (status code=403) #46

@DEDEit

Description

@DEDEit

Device brand

Abir

Device model

X6

Smartphone application

Weback

Component version

Latest

HA core version

2026.2.3

Describe the problem

Hi!
It seems the server changed something; I've tried some tests, but it didn't work.
I also tried deleting wb_creds to see if a fresh login would fix it, but nothing.
From the Android app, everything works.

Home Assistant Logs

Questo errore ha avuto origine da un'integrazione personalizzata.

Registratore: custom_components.weback_vacuum.webackapi
Fonte: custom_components/weback_vacuum/webackapi.py:290
Integrazione: weback_vacuum (documentazione, problemi)
Prima occorrenza: 11:36:11 (8 occorrenze)
Ultimo accesso: 11:36:22

WebackApi : Bad server response (status code=403) retry... (3/8)
WebackApi : Bad server response (status code=403) retry... (4/8)
WebackApi : Bad server response (status code=403) retry... (5/8)
WebackApi : Bad server response (status code=403) retry... (6/8)
WebackApi : Bad server response (status code=403) retry... (7/8)

Registratore: homeassistant.util.loop
Fonte: util/loop.py:137
Prima occorrenza: 11:36:05 (3 occorrenze)
Ultimo accesso: 11:36:07

Detected blocking call to open with args ('/config/custom_components/weback_vacuum/wb_creds',) inside the event loop by custom integration 'weback_vacuum' at custom_components/weback_vacuum/webackapi.py, line 179: config.read(os.path.join(COMPONENT_DIR, CREDS_FILE)) (offender: /usr/local/lib/python3.13/configparser.py, line 736: with open(filename, encoding=encoding) as fp:), please create a bug report at https://github.com/Jezza34000/homeassistant_weback_component/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 229, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 215, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 289, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete self.run_forever() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever self._run_once() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, in _run_once handle._run() File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/setup.py", line 170, in async_setup_component result = await _async_setup_component(hass, domain, config) File "/usr/src/homeassistant/homeassistant/setup.py", line 425, in _async_setup_component result = await task File "/config/custom_components/weback_vacuum/init.py", line 66, in async_setup log_res = await weback_api.login() File "/config/custom_components/weback_vacuum/webackapi.py", line 96, in login if self.verify_cached_creds(): File "/config/custom_components/weback_vacuum/webackapi.py", line 154, in verify_cached_creds creds_data = self.get_token_file() File "/config/custom_components/weback_vacuum/webackapi.py", line 179, in get_token_file config.read(os.path.join(COMPONENT_DIR, CREDS_FILE))
Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x7f7518d130>, '/usr/local/lib/python3.13/site-packages/certifi/cacert.pem', None, None) inside the event loop by custom integration 'weback_vacuum' at custom_components/weback_vacuum/webackapi.py, line 282: async with httpx.AsyncClient(timeout=timeout) as client: (offender: /usr/local/lib/python3.13/ssl.py, line 717: context.load_verify_locations(cafile, capath, cadata)), please create a bug report at https://github.com/Jezza34000/homeassistant_weback_component/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_verify_locations Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 229, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 215, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 289, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete self.run_forever() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever self._run_once() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, in _run_once handle._run() File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/setup.py", line 170, in async_setup_component result = await _async_setup_component(hass, domain, config) File "/usr/src/homeassistant/homeassistant/setup.py", line 425, in _async_setup_component result = await task File "/config/custom_components/weback_vacuum/init.py", line 66, in async_setup log_res = await weback_api.login() File "/config/custom_components/weback_vacuum/webackapi.py", line 105, in login resp = await self.send_http(auth_url_selected, **params) File "/config/custom_components/weback_vacuum/webackapi.py", line 282, in send_http async with httpx.AsyncClient(timeout=timeout) as client:
Detected blocking call to open with args ('/config/custom_components/weback_vacuum/wb_creds', 'w') inside the event loop by custom integration 'weback_vacuum' at custom_components/weback_vacuum/webackapi.py, line 201: with open( (offender: /config/custom_components/weback_vacuum/webackapi.py, line 201: with open(), please create a bug report at https://github.com/Jezza34000/homeassistant_weback_component/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 229, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 215, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 289, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete self.run_forever() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever self._run_once() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, in _run_once handle._run() File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/setup.py", line 170, in async_setup_component result = await _async_setup_component(hass, domain, config) File "/usr/src/homeassistant/homeassistant/setup.py", line 425, in _async_setup_component result = await task File "/config/custom_components/weback_vacuum/init.py", line 66, in async_setup log_res = await weback_api.login() File "/config/custom_components/weback_vacuum/webackapi.py", line 128, in login self.save_token_file() File "/config/custom_components/weback_vacuum/webackapi.py", line 201, in save_token_file with open(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions