diff --git a/discord-bot/cmd/bot/main.go b/discord-bot/cmd/bot/main.go index c328ed4..16dc22b 100644 --- a/discord-bot/cmd/bot/main.go +++ b/discord-bot/cmd/bot/main.go @@ -88,7 +88,11 @@ func main() { } }() - ttsClient, err := ttsgateway.New(ctx, cfg.TTSGatewayAddr, cfg.TLSDir, log) + // TODO: pass cfg.TLSDir here once tts-gateway's own mTLS is re-enabled (currently + // deliberately disabled there for plaintext testing - see tts-gateway.yaml's commented-out + // TLS_DIR). Until then, dialing it with mTLS fails with "tls: first record does not look + // like a TLS handshake" since the server isn't speaking TLS at all yet. + ttsClient, err := ttsgateway.New(ctx, cfg.TTSGatewayAddr, "", log) if err != nil { log.Error("tts-gateway client setup failed", "err", err) os.Exit(1)