Closed bkeys closed 7 years ago
I can join the same IRC channel and see that the bot pops in and out as well
try lowercase IRC and mattermost channel names
I changed it to lower case and it still fails
2017/06/23 11:37:00 Connected to kappakappa.alpha:6697 (x.y.z.a:6697)
INFO[2017-06-23T11:37:01-04:00] Connection succeeded
connection to irc server gets established perfectly well it fails at this point
FATA[2017-06-23T11:37:01-04:00] Starting gateway failed: Bridge mattermost.work failed to join channel: failed to join
Are you sure the channel exists ? The bot can only join channels that exist, it can not create a new channel on mattermost
Yes because we have IRC users hanging out in the chat; and we can see the bot pop in and out. It disconnects with the message
10:37:01 AM - dbot [dbot@v-64-94-238-142.unman-vds.internap-atlanta.nfoservers.com] entered the room.
10:37:01 AM - dbot has left the room (Quit: The TLS connection was non-properly terminated.).
DEBU[2017-06-22T20:48:52-04:00] Joining module=matterclient
This line means it didn't find the channel id, after Joining it should show a channel id
The channel on mattermost, not irc. If it's a private group, it can not join a private group, it needs to be invited.
By group you mean team right?
Private group is called private channels now. Is the channel you want to join on mattermost a private channel, if so you have to invite the bot user.
Ofcourse the bot has to be in the same team as the channel is.
Yeah it appears to be in the channel, which is public
ok, great, could you show me the url of the channel you took the screenshot from ?
https://yourserver/yourteam/channels/yourchannel
The yourserver part can be redacted :)
ok, so the channel isn't dmux but the channel is "town-square" config should look as below
inout = [
{ account="irc.dmux", channel="#dmux", options={key="channelkey"}},
{ account="mattermost.work", channel="town-square" },
]
Great now it links! Thank you
Which version of matterbridge are you using?
version: 0.15.0 822605c
If you're having problems with mattermost please specify mattermost version.
3.10.0
Please describe the expected behavior.
Bridging the IRC chat
Please describe the actual behavior.
Use logs from running
matterbridge -debug
if possible.Any steps to reproduce the behavior?
I simply run matterbridge
Please add your configuration file
(be sure to exclude or anonymize private data (tokens/passwords))