Troubleshooting
Page not defined
If you visited a URL on pages.subspace.pub and were redirected here, it means that page name is not configured in your subspace config.
To create a page, add a page directive to your config file (~/.config/subspace/config.kdl):
page "example.kdl"Then create the page file (e.g. ~/.config/subspace/example.kdl):
title "My Page"
list "Links" {
link "Example" url="https://example.com"
}The page name is derived from the filename — example.kdl becomes http://pages.subspace.pub/example/. You can override it with name= and add an alias:
page "example.kdl" name="tools" alias="t"See Internal Pages for the full page file format and Configuration for all page directive options.
Subspace is not running
If you tried to visit an internal subspace page and ended up here, it means subspace is not running — the request reached the external redirect server instead of being intercepted by the local daemon.
Check if subspace is running
subspace statusIf you get connection refused or no such file, the server is not running.
Start subspace
If installed via Homebrew:
brew services start subspaceOr start manually:
subspace serveCheck the logs
subspace logs -F -L debugIf the service is running but not proxying, check for errors:
brew services info subspace
cat $(brew --prefix)/var/log/subspace.logCommon issues
Config file not found
loading config: reading ~/.config/subspace/config.kdl: no such file or directoryCreate a config file at ~/.config/subspace/config.kdl:
listen "127.0.0.1:8118"See Configuration for the full reference.
Port already in use
listen on 127.0.0.1:8118: bind: address already in useAnother process is using port 8118. Either stop it, or change the listen address in your config:
listen "127.0.0.1:9118"Remember to update your system proxy settings to match.
Proxy not configured in browser/system
Subspace is running but your browser isn't using it. Configure your system or browser to use http://localhost:8118 as the HTTP proxy.
macOS:
- System Settings → Network → your active network → Proxies
- Enable "Web Proxy (HTTP)" and "Secure Web Proxy (HTTPS)"
- Set both to
127.0.0.1port8118
Or use a PAC file / browser extension for more granular control.
Upstream proxy unreachable
dial failed target=proxy.corp.com:3128 via=corporate error=dial tcp: connection refusedThe configured upstream proxy is down or unreachable. Check:
- Is the upstream proxy running?
- Is the address and port correct in your config?
- Can you reach it directly?
nc -zv proxy.corp.com 3128
Check upstream health:
subspace statusDNS resolution failures
DNS lookup failed host=example.com error=no such hostThe hostname cannot be resolved. This typically means:
- The domain doesn't exist
- Your DNS server is unreachable
- A VPN or network change has affected DNS resolution
Still stuck?
- Check the GitHub issues for known problems
- Search the Q&A discussions to see if your problem is unique, or if someone else already have a solution.
