Skip to content

fix(qwen-image): allow the Envoy and Service hostnames past sd-server's host check - #3126

Merged
1Solon merged 1 commit into
mainfrom
fix/qwen-image-host-check
Nov 26, 2026
Merged

1Solon merged 1 commit into
mainfrom
fix/qwen-image-host-check

Conversation

@1Solon

@1Solon 1Solon commented Nov 26, 2026

Copy link
Copy Markdown
Owner

The stable-diffusion.cpp update in #3112 pulled in leejet/stable-diffusion.cpp#2367, which adds DNS-rebinding protection. Since then, sd-server returns 403 (Request origin is not allowed) for any Host header that isn't localhost or an IP, unless that origin is listed in --cors-origins.

That broke more than the Gatus check. The web UI at qwen-image.local returns 403, and so do Open WebUI and Hermes, which call qwen-image.ai.svc.cluster.local:8080. Requests to localhost or the pod IP still work, which is why the kubelet probes kept passing.

This adds both hostnames to --cors-origins. Checked before the change: a port-forward with Host: localhost returns 200, and the Service or public hostname returns 403.

@1Solon
1Solon merged commit 3e7c5a9 into main Nov 26, 2026
3 checks passed
@1Solon
1Solon deleted the fix/qwen-image-host-check branch November 26, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant