Sync vault notes: April-November 2026 sessions, projects, and architecture
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fe4fe656be
commit
994c7ae577
379 files changed
+55216
-107
No files matched your search
@@ -0,0 +1,70 @@
|
||||
# obsidian.fetcherpay.com 502 fix
|
||||
|
||||
**Date:** 2026-06-17
|
||||
**Status:** Resolved
|
||||
**Healthy ratio before:** 0.944 (17/18)
|
||||
**Healthy ratio after:** 1.000 (18/18)
|
||||
|
||||
## Symptom
|
||||
|
||||
Prometheus Blackbox Exporter showed only **0.944** of monitored websites as healthy. Probe identified one failing target:
|
||||
|
||||
```
|
||||
❌ FAIL 502 https://obsidian.fetcherpay.com
|
||||
```
|
||||
|
||||
## Root cause
|
||||
|
||||
`obsidian.fetcherpay.com` routes through the Docker **Traefik** edge proxy (which owns public ports 80/443) to the `obsidian` container on host port `8082`. The container was stopped, so Traefik returned `502 Bad Gateway`.
|
||||
|
||||
Relevant config:
|
||||
|
||||
- `/home/garfield/obsidian/docker-compose.yml` — Obsidian Remote container, port `8082:8080`
|
||||
- `/home/garfield/obsidian-k8s.yaml` — K8s mirror (currently bypassed by Traefik)
|
||||
- `/home/garfield/letsencrypt/manual/tls.yml` — Traefik dynamic routing for other domains; Obsidian router comes from Docker labels
|
||||
|
||||
## Fix
|
||||
|
||||
Started the Obsidian container:
|
||||
|
||||
```bash
|
||||
cd /home/garfield/obsidian
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
The container needed ~30–45 seconds to initialize (xrdp, timezone, etc.). After that, the backend began responding on `localhost:8082` and public HTTPS returned `200 OK`.
|
||||
|
||||
## Verification
|
||||
|
||||
```bash
|
||||
# Direct backend
|
||||
curl -I http://localhost:8082/
|
||||
# HTTP/1.1 200 OK
|
||||
|
||||
# Public edge
|
||||
curl -I https://obsidian.fetcherpay.com/
|
||||
# HTTP/2 200
|
||||
```
|
||||
|
||||
Full site probe after fix:
|
||||
|
||||
```
|
||||
Total: 18 pass, 0 fail
|
||||
Healthy ratio: 1.000
|
||||
```
|
||||
|
||||
Prometheus `avg(probe_success{job="blackbox-http"})` returned to **1.0** on the next scrape.
|
||||
|
||||
## Notes
|
||||
|
||||
- Port 8082 was free before starting the container; no port conflicts.
|
||||
- Blackbox Exporter was working correctly — it accurately detected the one down target.
|
||||
- K8s nginx-ingress is still bypassed for public traffic; the Docker/Traefik path is what matters for this domain.
|
||||
|
||||
## Related files
|
||||
|
||||
- `/home/garfield/obsidian/docker-compose.yml`
|
||||
- `/home/garfield/obsidian-k8s.yaml`
|
||||
- `/home/garfield/traefik-compose.yml`
|
||||
- `/home/garfield/hermes-mcp/monitoring/prometheus-config.yaml`
|
||||
|
||||
Reference in new issue
Block a user