This repository has been archived by the owner on Mar 2, 2024. It is now read-only.
"Mismatched SHA-256 digest" when bridging attachments to Facebook #305
Labels
bug
Something isn't working
I recently started getting these errors quite a lot. The scenario is quite simple:
Note that it happens only sometimes. I've sent tens of files in order to try to debug this issue and so far I have not seen any patterns in the behavior - seems to be quite random. Even sending the same file multiple times may sometimes fail and sometimes succeed.
So far I was able to reproduce it with multiple different JPEGs, PNGs, WAVs, OGGs and MP3s, so it seems that it doesn't depend on the type of the attachment. However, sending smaller files (under about 250 KiB or so) seems to work fine, but maybe I was just lucky.
I had this happen when sending attachments from both the desktop and mobile versions of Element. I'm running version 1.82.0 of Synapse and version 0.4.1 of the bridge (from the dock.mau.dev/mautrix/facebook:v0.4.1 Docker image).
Whenever it happens, the logs of the bridge show this:
I assume that the two last three lines are just the bridge sending the "Your message may not have been bridged" notice, so those are probably not that important.
So, any ideas what could be wrong? Is there anything that I can do to debug this further?
The text was updated successfully, but these errors were encountered: