Closed
Fix MCP Gateway health check to use localhost instead of host.docker.internal#9499
Conversation
…internal Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
…setup-mcp-failure
Contributor
|
💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges... |
Contributor
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
Contributor
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
Copilot
AI
changed the title
[WIP] Investigate Setup MCP step failure
Fix MCP Gateway health check to use localhost instead of host.docker.internal
Jan 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Setup MCPs" step times out because the health check uses
host.docker.internalwhich doesn't resolve from the GitHub Actions host—it only resolves from inside Docker containers.Changes
http://${MCP_GATEWAY_DOMAIN}:${MCP_GATEWAY_PORT}/healthtohttp://localhost:${MCP_GATEWAY_PORT}/health0.0.0.0:8080, solocalhostworks from the hostMCP_GATEWAY_DOMAINremains correct for container-to-host communication in MCP configOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.