Skip to content

Starting gateway failed: Bridge failed to start: unsupported mattermost version #29

@mstyp

Description

@mstyp

Describe the bug

I can not bridge to a mattermost 6.* instance, getting a "Unsupported mattermost version" error, which looks like it should have been fixed upstream but maybe has not been fixed here: 42wim/matterbridge#1606

Context

  • Hardware: *VPS bought online / Old laptop or computer / Raspberry Pi at home" (all of these fail)
  • YunoHost version: stable and beta.
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen | ...
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Steps to reproduce

config matterbridge .toml with the following:

#[mattermost]
[mattermost.BLANK]
    Server="BLA-NK.BLANK.BLANK" 
#this server uses sub-domain with a dash in it, EG one-two.three.com or sub-domain.website.net)
    Team="BLANK"
    Login="BLANK"
    Password="BLANK"
    PrefixMessagesWithNick=true
#    RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
    RemoteNickFormat="{NICK}   "

[matrix.mymatrix]
(matrix gateway configs, etc etc)

[[gateway]]
name="BLANK off topic"
enable=true
    [[gateway.inout]]
    account="matrix.mymatrix"
    channel="!gibberish:mylocalmatrix.local"

    [[gateway.inout]]
    account="mattermost.BLANK"
    channel="off-topic"

Expected behavior

Should connect to mattermost.

Logs

level=info msg="Starting bridge: mattermost.BLANK " prefix=router
level=info msg="Connecting using login/password (sending and receiving)" prefix=mattermost
level=info msg="Using mattermost v6 methods: false" prefix=mattermost
level=info msg="Connecting BLANK (team: BLANK) on BLANK" prefix=mattermost
level=fatal msg="Starting gateway failed: Bridge BLANK failed to start: unsupported mattermost version: " prefix=main

The mattermost server version is 6+,.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions