Can’t login to Rituals Perfume integration

Hello,

Since few days my ritual integration stopped working…
I tried to uninstall / reinstall but I cannot login despite i’m 100% sure of my credentials
« Unexpected error »

Anyone is able to help please ?

You can check the logs below :

Enregistreur: homeassistant.components.rituals_perfume_genie.config_flow
Source: components/rituals_perfume_genie/config_flow.py:46
intégration: Rituals Perfume Genie (documentation, problèmes)
S’est produit pour la première fois: 11:14:36 (1 occurrences)
Dernier enregistrement: 11:14:36

Unexpected exception
Traceback (most recent call last):
File “/usr/local/lib/python3.12/site-packages/aiohttp/connector.py”, line 992, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/asyncio/base_events.py”, line 1120, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.12/asyncio/base_events.py”, line 1102, in create_connection
sock = await self._connect_sock(
^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/asyncio/base_events.py”, line 1005, in _connect_sock
await self.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 649, in _sock_connect
sock.connect(address)
OSError: [Errno 101] Network unreachable

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

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/rituals_perfume_genie/config_flow.py”, line 46, in async_step_user
await account.authenticate()
File “/usr/local/lib/python3.12/site-packages/pyrituals/init.py”, line 205, in authenticate
async with session.post(url, data={‘email’: self._email, ‘password’: self._password}) as resp:
File “/usr/local/lib/python3.12/site-packages/aiohttp/client.py”, line 1194, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/client.py”, line 578, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/connector.py”, line 544, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/connector.py”, line 911, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/connector.py”, line 1235, in _create_direct_connection
raise last_exc
File “/usr/local/lib/python3.12/site-packages/aiohttp/connector.py”, line 1204, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/connector.py”, line 1000, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host rituals.sense-company.com:443 ssl:default [Network unreachable]

System Information

version core-2024.4.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.20-haos
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4751
Installed Version 1.34.0
Stage running
Available Repositories 1400
Downloaded Repositories 19
Home Assistant Cloud
logged_in true
subscription_expiration 17 avril 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-12.ui.nabu.casa
certificate_status ready
instance_id 4a71c214125a4030a54f7381e8137246
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.1
update_channel stable
supervisor_version supervisor-2024.03.1
agent_version 1.6.0
docker_version 24.0.7
disk_total 28.0 GB
disk_used 9.0 GB
healthy true
supported true
board green
supervisor_api ok
version_api ok
installed_addons File editor (5.8.0), RPC Shutdown (2.4), Terminal & SSH (9.10.0), Filebrowser (2.23.0_13)
Dashboards
dashboards 2
resources 11
views 5
mode storage
Recorder
oldest_recorder_run 4 avril 2024 à 15:45
current_recorder_run 7 avril 2024 à 11:01
estimated_db_size 156.98 MiB
database_engine sqlite
database_version 3.44.2
Spotify
api_endpoint_reachable ok

Hi I have exactly the same issue. It has worked for months. stopped working a few days ago. Have removed and attempted to re-connect but get the same issue with the login. Credentials are all correct and work with the app and Rituals web site. Pease help someone

Hey!

I opened this topic few months ago already but I can’t remember if the issue fixed itself!

I’m having the issue again as well since yesterday

i’ve posted the issue on the github forum, you should open a topic as well so they can be informed (It will warn the concerned people working on the integration)

it seems like Rituals is blocking something on their end because they are receiving too many requests ??

I can’t understand if they are blocking specific people due to their automations making too many requests per second
or
If they are blocking the integration itself. Is anyone else using it able to tell if it’s working or not ?

Here’s what I found:

Rituals blocked its API service about a week ago (when they launched a new app).
It is no longer possible to retrieve hashes and check the status of the device, nor to control it via URL.

I have contacted Rituals support but they are really unresponsive and not helping.

It seems that the same problem was in Homey, but they solved it somehow (I think Homey has dedicated access to their API):