mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-15 17:11:30 +00:00
604693ea0c
siv-8.5 migrated daemon + awsgw but missed the sidecar services and the spx CLI. vpcd and viperblockd read cfg.NatsHost / cfg.S3Host raw from spinifex.toml; when BindIP=0.0.0.0 the TLS handshake fails SAN verification because 0.0.0.0 is not a cert SAN. Same for the spx get CLI path. Call sites: spinifex/services/viperblockd/viperblockd.go:173 (NATS) spinifex/services/viperblockd/viperblockd.go:407 (S3 s3.S3Config) spinifex/services/viperblockd/viperblockd.go:533 (S3 nbd.NBDKitConfig) spinifex/services/vpcd/vpcd.go:277 (NATS) cmd/spinifex/cmd/get.go:93 (CLI NATS) admin.DialTarget rewrites 0.0.0.0:N to 127.0.0.1:N — loopback is always a SAN and in-process sidecars share the host with NATS/predastore.