tickets #97673
closeddiscord matrix bridge is only working in one direction
0%
Description
The discord matrix bridge is only working in one direction.
While the service is running the status ended with:
Aug 27 10:58:17 matrix node[25190]: body: { errcode: 'M_UNKNOWN', error: 'Internal server error' },
Aug 27 10:58:17 matrix node[25190]: [Symbol(kCapture)]: false,
Aug 27 10:58:17 matrix node[25190]: [Symbol(RequestTimeout)]: undefined
Aug 27 10:58:17 matrix node[25190]: }
Next steps: check which git commit is checked out and get the full error message.
Updated by jzerebecki about 3 years ago
According to tux93 in the openSUSE Rust channel the bridge is mostly one way since the big opensuse matrix outage that happened due to the postgre issue.
Updated by jzerebecki about 3 years ago
The current version running is https://github.com/cernodile/matrix-appservice-discord/commit/fc850ba2473973e28858449ec4020380470d78b2 with some local modification that changes package.json to have "better-sqlite3": "7.4.1".
Updated by jzerebecki about 3 years ago
The project has some longer pending PRs and is looking for a maintainer https://github.com/Half-Shot/matrix-appservice-discord/issues/443 . The commit linked above is https://github.com/Half-Shot/matrix-appservice-discord/pull/704 .
Updated by jzerebecki about 3 years ago
The start of that error message:
Sep 15 06:44:22 matrix node[698]: 127.0.0.1 - - [15/Sep/2021:06:44:22 +0000] "PUT /transactions/409382?access_token=REDACTED HTTP/1.1" 200 2 "-" "Synapse/>
Sep 15 06:44:27 matrix node[698]: Sep-15 06:44:27.880 [bot-sdkMatrixHttpClient (REQ-38577)] error: [ { errcode: 'M_UNKNOWN', error: 'Internal server error' } ]
Sep 15 06:44:27 matrix node[698]: Sep-15 06:44:27.886 [DiscordBot] error: Failed to send message into room. <ref *2> IncomingMessage {
Then a big data dump follows, ending what was already pasted.