Connection avec l'intégration Freebox

Bonjour,

je n’arrive plus a me connecter sur l’intégration freebox je ne peut plus "autoriser l’application sur l’écran fe la freebox révolution, j’avais deja une config qui fonctionnait avant

sur des anciennes discussions j’ai vu qu’il fallait vider le fichier .storage seulement impossible est ce que vous en savez + ?

Enregistreur: homeassistant.components.freebox.config_flow
Source: components/freebox/config_flow.py:68
intégration: Freebox (documentation, problèmes)
S'est produit pour la première fois: 22:01:10 (1 occurrences)
Dernier enregistrement: 22:01:10

Unknown error connecting with Freebox router at 192.168.1.254
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1061, in _wrap_create_connection
    sock = await aiohappyeyeballs.start_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 104, in start_connection
    raise first_exception
  File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 82, in start_connection
    sock = await _connect_sock(
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohappyeyeballs/impl.py", line 174, in _connect_sock
    await loop.sock_connect(sock, address)
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 641, in sock_connect
    return await fut
           ^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 681, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.1.254', 37514)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/freebox/config_flow.py", line 68, in async_step_link
    await fbx.open(self._data[CONF_HOST], self._data[CONF_PORT])
  File "/usr/local/lib/python3.12/site-packages/freebox_api/aiofreepybox.py", line 83, in open
    self._access = await self._get_freebox_access(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/freebox_api/aiofreepybox.py", line 162, in _get_freebox_access
    app_token, track_id = await self._get_app_token(base_url, app_desc, timeout)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/freebox_api/aiofreepybox.py", line 226, in _get_app_token
    r = await self._session.post(url, data=data, timeout=timeout)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 659, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 557, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1002, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1336, in _create_direct_connection
    raise last_exc
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1305, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1076, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 192.168.1.254:37514 ssl:default [Connect call failed ('192.168.1.254', 37514)]

System Information

version core-2024.10.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.31-haos-raspi
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 4990
Installed Version 2.0.1
Stage running
Available Repositories 1442
Downloaded Repositories 22
Home Assistant Cloud
logged_in true
subscription_expiration 21 octobre 2024 à 02:00
relayer_connected true
relayer_region eu-central-1
remote_enabled true
remote_connected true
alexa_enabled true
google_enabled false
remote_server eu-central-1-21.ui.nabu.casa
certificate_status ready
instance_id cc8572db40b948d9976039c52cc652aa
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 13.2
update_channel stable
supervisor_version supervisor-2024.10.2
agent_version 1.6.0
docker_version 27.2.0
disk_total 116.6 GB
disk_used 11.0 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi5-64
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (6.4.1), Zigbee2MQTT (1.40.2-1), Bookstack (2.2.0), Spotify Connect (0.13.0), Studio Code Server (5.17.2), Node-RED (18.1.1), Samba share (12.3.2), go2rtc (1.9.4), AdGuard Home (5.1.4), Home Assistant Google Drive Backup (0.112.1), InfluxDB (5.0.1), Grafana (10.1.3), Terminal & SSH (9.15.0), File editor (5.8.0)
Dashboards
dashboards 4
resources 13
views 7
mode storage
Recorder
oldest_recorder_run 11 octobre 2024 à 17:49
current_recorder_run 20 octobre 2024 à 20:40
estimated_db_size 119.57 MiB
database_engine sqlite
database_version 3.45.3
Spotify
api_endpoint_reachable ok

Bonjour, Tu veux dire que tu as supprimé le dossier .storage/freebox ? :thinking:

Salut @Christianb233

non du tout j’ai vu dans des vieux posts qu’ils fallait fouiller la dedans pour résoudre le problème mais je n’ai jamais réussi a trouver ce dossier :sweat_smile:

tu as une idée?

Sous home assistant, il faut aller dans le Terminal & SSH, il faut taper

cd config
cd .storage et là tu trouveras le dossier freebox