fix: update tts-gateway client initialization to disable mTLS temporarily
All checks were successful
CI / changes (push) Successful in 19s
CI / test (push) Successful in 22s
CI / build-ai-gateway (push) Has been skipped
CI / build-ha-gateway (push) Has been skipped
CI / build-discord-bot (push) Successful in 54s
CI / build-tts-gateway (push) Successful in 54s
CI / build-tts-sidecar (push) Has been skipped
CI / build-tts-model (push) Has been skipped
All checks were successful
CI / changes (push) Successful in 19s
CI / test (push) Successful in 22s
CI / build-ai-gateway (push) Has been skipped
CI / build-ha-gateway (push) Has been skipped
CI / build-discord-bot (push) Successful in 54s
CI / build-tts-gateway (push) Successful in 54s
CI / build-tts-sidecar (push) Has been skipped
CI / build-tts-model (push) Has been skipped
This commit is contained in:
parent
7d9a75a3e7
commit
a7730772c2
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user