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.59k stars 614 forks source link

Gitter bridge broken? #2031

Open taoeffect opened 1 year ago

taoeffect commented 1 year ago

Describe the bug

time="2023-03-30T13:30:45-07:00" level=fatal msg="Starting gateway failed: Bridge gitter.groupincome failed to start: Get "https://api.gitter.im/v1/user": dial tcp: lookup api.gitter.im on 127.0.0.11:53: no such host" prefix=main

It appears to fail to lookup api.gitter.im. I tried on my local machine and this domain appears to be down/not registered. Confirmed here: https://mxtoolbox.com/SuperTool.aspx?action=a%3aapi.gitter.im&run=toolpage

What to do?

To Reproduce

Here's our config:

[gitter]
[gitter.groupincome]
Token="xxx"
RemoteNickFormat="<{NICK}> "

[slack]
[slack.groupincome]
Token="xxx"
PrefixMessagesWithNick=true
RemoteNickFormat="<{NICK}> "
NickFormatter="plain"
NicksPerRow=4
EditSuffix=" (edited)"

[[gateway]]
name="gateway1"
enable=true

    [[gateway.inout]]
    account="slack.groupincome"
    channel="groupincome"

    [[gateway.inout]]
    account="gitter.groupincome"
    channel="okTurtles/group-income"

Expected behavior For the bridge to work

Screenshots/debug logs

[0000]  INFO main:         [setupLogger:matterbridge.go:104] Enabling debug logging.
[0000]  INFO main:         [main:matterbridge.go:44] Running version 1.26.0 6dafebc7
[0000]  INFO router:       [Start:gateway/router.go:66] Parsing gateway gateway1
[0000]  INFO router:       [Start:gateway/router.go:75] Starting bridge: gitter.groupincome 
[0000]  INFO gitter:       [Connect:bridge/gitter/gitter.go:27] Connecting
[0000] FATAL main:         [main:matterbridge.go:66] Starting gateway failed: Bridge gitter.groupincome failed to start: Get "https://api.gitter.im/v1/user": dial tcp: lookup api.gitter.im on 127.0.0.11:53: no such host

Environment (please complete the following information):

Additional context

See above for config.

Mikaela commented 1 year ago

Gitter no longer exists, it's Matrix now. For instructions, see https://github.com/42wim/matterbridge/issues/1969 which this is a duplicate of.

taoeffect commented 1 year ago

Thanks, then maybe this issue can just exist as a request to update the documentation to reflect that.