42wim / matterbridge

bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Apache License 2.0
6.57k stars 616 forks source link

Incorrect relay of a message from gitter to mattermost #956

Closed akhmerov closed 4 years ago

akhmerov commented 4 years ago

Describe the bug The following message on gitter:

image

source here

Was relayed to mattermost as:

image

(i.e. the end of the message was truncated)

Trying to send the exact same message again resulted in the correct behavior, and therefore I cannot reproduce the issue, sorry :(

Environment (please complete the following information):

Additional context

Relevant config:

[mattermost]

[mattermost.qt]

Team="chat"
Login="{{ bot_login }}"
IgnoreNicks="relaybot"

Server="{{ bot_server }}"
Password="{{ bot_password }}"
PrefixMessagesWithNick=true
RemoteNickFormat="**{NICK}:** "

[gitter]
[gitter.kwant]
Token="{{ gitter_kwant_bot_token }}"
PrefixMessagesWithNick=true
RemoteNickFormat="*{NICK}:*\n"

[[gateway]]
enable=true
name="adaptive-channel"

[[gateway.inout]]
account="mattermost.qt"
channel="adaptive-evaluation"
[[gateway.inout]]
account="gitter.kwant"
channel="python-adaptive/adaptive"
42wim commented 4 years ago

Kind of hard to debug if not reproducable, my guess is something at the mattermost side. We don't truncate anything send to mattermost, only IRC gets truncated messages at the moment.

akhmerov commented 4 years ago

Yeah, I realize that there isn't anything to go on from, just opened this for a reference if anybody else encounters the problem.

42wim commented 4 years ago

Going to close it, people can still search for it and reopen if it happens reproducable.