-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
binascii.Error: Invalid base64-encoded string: number of data characters (157) cannot be 1 more than a multiple of 4
when using FluffyChat
#325
Comments
@reivilibre responded in the Sygnal room.
|
binascii.Error: Invalid base64-encoded string: number of data characters (157) cannot be 1 more than a multiple of 4
It’s during push
…Sent from my iPhone
On 4 Oct 2022, at 12:42, David Robertson ***@***.***> wrote:
@reivilibre responded in the Sygnal room.
sounds like https://github.com/matrix-org/sygnal/blob/main/docs/troubleshooting.md#common-cause-1-hex-rather-than-base64-encoding — you need to base64 encode your token rather than hex encode
is this on startup or when sending a push?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Can you please post the full stack trace and explain your setup? |
fluffychat Oct 05 19:03:39 fluffychat matrix-sygnal[754590]: File "/usr/local/lib/python3.7/site-packages/sygnal/http.py", line 275, in _handle_dispatch |
binascii.Error: Invalid base64-encoded string: number of data characters (157) cannot be 1 more than a multiple of 4
binascii.Error: Invalid base64-encoded string: number of data characters (157) cannot be 1 more than a multiple of 4
when using FluffyChat
Thanks. As @reivilibre has previously mentioned, https://github.com/matrix-org/sygnal/blob/main/docs/troubleshooting.md#common-cause-1-hex-rather-than-base64-encoding is the issue. There is an implicit coupling between clients and the push gateway. FluffyChat was built to work with https://gitlab.com/famedly/services/famedly-push-gateway, not Sygnal. |
@squahtx FluffyChat was built to work with krille-chan/fluffygate to be exact, and it's the Push Gateway running on https://push.fluffychat.im/ which is the default gateway FluffyChat uses. However, the incompatibility point still stands. There's also #319 which was refused to be addressed by both parties: famedly/matrix-dart-sdk#1947, famedly/matrix-dart-sdk#1948 |
Hi , can anyone help be solve this error ?
matrix-sygnal[116160]: binascii.Error: Invalid base64-encoded string: number of data characters (157) cannot be 1 more than a multiple of 4
The text was updated successfully, but these errors were encountered: