Skip to content

Update FAQ with Claude.ai connection troubleshooting - #2066

Open
DrHauss wants to merge 1 commit into
homeassistant-ai:masterfrom
DrHauss:patch-1
Open

Update FAQ with Claude.ai connection troubleshooting#2066
DrHauss wants to merge 1 commit into
homeassistant-ai:masterfrom
DrHauss:patch-1

Conversation

@DrHauss

@DrHauss DrHauss commented Jul 28, 2026

Copy link
Copy Markdown

What does this PR do?

Added troubleshooting information for Claude.ai connection issues related to wildcard certificates.

Type of change

  • 🐛 Bug fix
  • ✨ New feature
  • 📚 Documentation
  • 🔧 Maintenance/refactor
  • 🧪 Tests only
  • 💥 Breaking change

Testing

  • I have tested these changes with a LLM agent
  • All automated tests pass (uv run pytest)
  • Code follows style guidelines (uv run ruff check)

Checklist

  • I have updated documentation if needed

Added troubleshooting information for Claude.ai connection issues related to wildcard certificates.
@DrHauss
DrHauss requested review from a team and Patch76 July 28, 2026 12:43
@ghhamcp

ghhamcp commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@codex review — apply the review criteria in .gemini/styleguide.md in addition to AGENTS.md guidance

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c606883cd9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/FAQ.md
Comment on lines +79 to +81
If your Home Assistant (or reverse proxy) is served over HTTPS with a
**wildcard certificate** (`*.example.com`), Claude may fail to connect even
though the same URL loads fine in a browser and works with `curl`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Do not blame valid wildcard certificates

When the certificate is publicly trusted, has a complete chain, and its wildcard matches the connector hostname, standard TLS verification accepts it; wildcard issuance by itself does not explain a Claude connection failure. This section therefore sends affected users to reissue a certificate even though the likely causes are an incomplete chain, hostname mismatch, or proxy/network filtering, and the new certificate will only appear to help if it incidentally changes one of those conditions. Please document the specific certificate/chain condition that Claude rejects, or remove the wildcard-specific diagnosis.

Useful? React with 👍 / 👎.

Comment thread docs/FAQ.md

**Check for a port in the URL.** Your connector URL is built on your Home Assistant's own public address, which must **not** contain a port such as `:8123` (or any other port). To check, open just that base address (e.g. `https://ha.example.com`, without the `/api/webhook/...` secret path) in a browser — it should bring up your HA login page. Remote clients cannot reach a URL that carries a port, even though it loads fine in your own browser. Home Assistant can still listen on 8123 internally, as long as a reverse proxy, tunnel, or 443 port-forward serves that hostname — just don't put the port in the URL you paste.

### Claude can't connect to hosts using a wildcard certificate

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Publish the troubleshooting entry on the rendered FAQ

The public FAQ linked from README.md and the setup guides is independently implemented in site/src/pages/faq.astro; it does not consume docs/FAQ.md, and its existing claude-ai-connection section remains unchanged. As a result, this new troubleshooting advice will be absent from the project's primary user-facing FAQ, so mirror the entry there (and add it to that page's table of contents if it remains a separate item).

AGENTS.md reference: site/AGENTS.md:L29-L35

Useful? React with 👍 / 👎.

@kingpanther13

Copy link
Copy Markdown
Member

Please address the codex feedback. Claude.ai can be flaky with connection so we cannot definitely blame one thing, but I think the advice doesn't hurt. Either way please update the astro site FAQ as well as codex suggested.

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.

3 participants