Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

feat: matterbridge → MM webhook 전환 (websocket 불안정 해결) #569

@dalsoop

Description

@dalsoop

Problem

matterbridge 1.26.0의 MM websocket 연결이 간헐적으로 끊김. 3년간 릴리스 없고 reconnect 버그 다수 OPEN (#1419, #1839, #2170). MM 10.6과 3개 메이저 버전 차이.

Proposal

matterbridge의 Mattermost websocket 모드 대신 webhook 모드로 전환.

현재 (websocket)

dal 컨테이너 → bridge API → matterbridge → MM websocket → MM
                                            ↑ 여기가 끊김
MM → websocket → matterbridge → bridge stream → dal 컨테이너

변경 후 (webhook)

dal 컨테이너 → bridge API → matterbridge → MM incoming webhook → MM (HTTP, 연결 유지 불필요)
MM → outgoing webhook → matterbridge webhook endpoint → bridge stream → dal 컨테이너

설정 변경

[mattermost.mm]
# 기존 Token 기반 대신 webhook 사용
WebhookURL = "http://10.50.0.202:8065/hooks/{incoming_webhook_id}"
WebhookBindAddress = "0.0.0.0:4280"
# SkipVersionCheck = true  # 혹시 Token 병행 시

필요 작업

  1. MM에서 incoming webhook + outgoing webhook 생성 (팀별 채널)
  2. matterbridge toml을 webhook 모드로 변경
  3. 테스트: tell → MM → leader 수신 안정적으로 동작 확인
  4. 모든 팀(5개) toml 업데이트

대안 (장기)

matterbridge 의존성 완전 제거 — dalcenter daemon에서 MM Go SDK + webhook 직접 처리.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions