Skip to content

FCM-Fehler bei der Verwendung mit Ring Integration #179149

Description

@hhschu01

The problem

Auf meiner Home-Assistant Installation werden die Events "klingeln" und "Bewegung" nicht mehr aktualisiert weil der FCMPUSHCLIENT stirbt

Daher habe ich eine komplett frische Home-Assistant-Installation auf einem Rasberry PI 4 durchgeführt um das Problem nachzuvollziehen.

Es tritt immer wieder derselbe FCM-Fehler auf:

2026-08-14 13:20:50.121 ERROR (MainThread) [firebase_messaging.fcmpushclient] Unknown error: Incorrect padding, shutting down FcmPushClient.
Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/firebase_messaging/fcmpushclient.py", line 688, in _listen
await self._handle_message(msg)
File "/usr/local/lib/python3.14/site-packages/firebase_messaging/fcmpushclient.py", line 605, in _handle_message
self._handle_data_message(msg)

File "/usr/local/lib/python3.14/site-packages/firebase_messaging/fcmpushclient.py", line 439, in _handle_data_message
decrypted = self._decrypt_raw_data(
self.credentials, crypto_key, salt, msg.raw_data
)
File "/usr/local/lib/python3.14/site-packages/firebase_messaging/fcmpushclient.py", line 378, in _decrypt_raw_data
crypto_key = urlsafe_b64decode(crypto_key_str.encode("ascii"))
File "/usr/local/lib/python3.14/base64.py", line 131, in urlsafe_b64decode
return b64decode(s)
File "/usr/local/lib/python3.14/base64.py", line 85, in b64decode
return binascii.a2b_base64(s, strict_mode=validate)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
binascii.Error: Incorrect padding

Gibt es dafür einen Workaround oder eine Lösung?

Danke

### What version of Home Assistant Core has the issue?

2026.8.1 

### What was the last working version of Home Assistant Core?

_No response_

### What type of installation are you running?

Home Assistant Core

### Integration causing the issue

RING

### Link to integration documentation on our website

https://www.home-assistant.io/integrations/ring

### Diagnostics information

Debug output:

2026-08-14 13:20:50.121 ERROR (MainThread) [firebase_messaging.fcmpushclient] Unknown error: Incorrect padding, shutting down FcmPushClient.
Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/firebase_messaging/fcmpushclient.py", line 688, in _listen
await self._handle_message(msg)
File "/usr/local/lib/python3.14/site-packages/firebase_messaging/fcmpushclient.py", line 605, in _handle_message
self._handle_data_message(msg)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.14/site-packages/firebase_messaging/fcmpushclient.py", line 439, in _handle_data_message
decrypted = self._decrypt_raw_data(
self.credentials, crypto_key, salt, msg.raw_data
)
File "/usr/local/lib/python3.14/site-packages/firebase_messaging/fcmpushclient.py", line 378, in _decrypt_raw_data
crypto_key = urlsafe_b64decode(crypto_key_str.encode("ascii"))
File "/usr/local/lib/python3.14/base64.py", line 131, in urlsafe_b64decode
return b64decode(s)
File "/usr/local/lib/python3.14/base64.py", line 85, in b64decode
return binascii.a2b_base64(s, strict_mode=validate)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
binascii.Error: Incorrect padding

### Example YAML snippet

```yaml

```

### Anything in the logs that might be useful for us?

```txt
see above
```

### Additional information

Sometimes it works for 1 event or even for hours but never for more than 1 Day

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions