Skip to content

Write down how a source entry reaches an authority that speaks TLS - #34

Merged
bitcoinuniverseadmin merged 1 commit into
developfrom
docs/overlay-reaches-doge-tap-over-tls
Aug 30, 2026
Merged

Write down how a source entry reaches an authority that speaks TLS#34
bitcoinuniverseadmin merged 1 commit into
developfrom
docs/overlay-reaches-doge-tap-over-tls

Conversation

@bitcoinuniverseadmin

Copy link
Copy Markdown

Follow-up to the two host-side corrections made while clearing the production smoke. Full diagnosis in index-doge-tap#24.

DEPLOYMENT.md describes UNIVERSE_EXPLORER_SOURCES_JSON but not the two things about a source entry that are easy to get wrong, both of which had already produced an authority the overlay reported as unreachable while it was running and ready:

  • The scheme has to be the one the authority speaks. Most authorities here are plain HTTP on loopback; index-doge-tap is an HTTPS listener. Its entry was http://, so every probe got an empty reply. It now names the certificate's own SAN host, resolved to 127.0.0.1 through /etc/hosts so verification passes and the traffic stays on lo, with the certificate trusted through NODE_EXTRA_CA_CERTS rather than verification being turned off.
  • The token has to be the one the endpoint checks. A service can carry more than one. index-doge-tap authenticates its reader API with TOKEN_EXPLORER_BEARER_TOKEN and its marketplace endpoints per authority. The readiness probe passing proved nothing, because readiness is unauthenticated and the checkpoint request was returning 401.

The configuration table also gains doge-tap-ca.pem, which the overlay now reads.

Documentation only. No code, no configuration in this repository.

🤖 Generated with Claude Code

The overlay published index-doge-tap as unreachable from the day it was
configured, and the hourly production smoke failed on it for a day, for two
reasons this file did not warn about.

The entry named http://127.0.0.1:3013 against a service that has served TLS
since its certificate was issued. Every probe got an empty reply, which the
overlay can only report as unreachable, and the service was running and ready
the whole time. The entry now names the certificate's own SAN host over
loopback, and the certificate is trusted rather than verification being
switched off.

The entry also carried the reader's token. The marketplace endpoints check a
per-authority token instead, so every checkpoint request was a 401 while the
unauthenticated readiness probe passed. A green readiness probe says nothing
about the request that actually matters.

Both are properties of the deployment rather than of the repository, which is
why they were invisible here. The configuration table also gains the
certificate file the overlay now reads.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@bitcoinuniverseadmin
bitcoinuniverseadmin merged commit 48f4fd7 into develop Aug 30, 2026
11 of 14 checks passed
@bitcoinuniverseadmin
bitcoinuniverseadmin deleted the docs/overlay-reaches-doge-tap-over-tls branch August 30, 2026 12:01
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