Skip to content

docs(kubo): flag server-profile reverse-proxy gotcha#2275

Open
lidel wants to merge 1 commit intomainfrom
docs/server-profile-foot-gun
Open

docs(kubo): flag server-profile reverse-proxy gotcha#2275
lidel wants to merge 1 commit intomainfrom
docs/server-profile-foot-gun

Conversation

@lidel
Copy link
Copy Markdown
Member

@lidel lidel commented Apr 27, 2026

Kubo's server profile filters loopback in Swarm.AddrFilters, which silently breaks any setup that fronts a 127.0.0.1 listener with a local reverse proxy (a common pattern for /ws bootstrappers). Kubo 0.42 will log an explicit ERROR at startup:

but ipfs-docs had no on-ramp pointing readers at the override they need to apply, and the existing server-profile mention in the quickstart understated what the profile actually does.

This PR adds minimal pointers so users and LLMs can avoid footgun of blocking themselves.

This is a second-order effect of libp2p changes described in

Kubo's `server` profile filters loopback in `Swarm.AddrFilters`, which
silently breaks any setup that fronts a `127.0.0.1` listener with a
local reverse proxy (a common pattern for `/ws` bootstrappers). Kubo
0.42 will log an explicit ERROR at startup, but ipfs-docs had no
on-ramp pointing readers at the override they need to apply, and the
existing `server`-profile mention in the quickstart understated what
the profile actually does.

- `command-line-quick-start.md`: replace the data-center one-liner
  with a more accurate description (local discovery off, non-globally-
  routable connections refused) and link to the kubo `server` profile
  reference, including the reverse-proxy override row.
- `troubleshooting-kubo.md`: add a short "A configured Swarm listener
  appears unreachable" section that quotes the kubo 0.42 ERROR line
  verbatim and links to the override table.
- `nat-configuration.md`: add a tip clarifying that
  `Addresses.NoAnnounce` (publish-side) and `Swarm.AddrFilters`
  (connection gate) are different, since the existing example shows
  both as empty arrays without context.
@github-actions
Copy link
Copy Markdown
Contributor

🚀 Build Preview on IPFS ready

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