Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 1m29s
CI / Tests (Linux, race detector) (push) Failing after 1m48s
CI / Dependency audit (push) Successful in 21s
Release / ci (push) Failing after 1m50s
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
Always-on Go service (stdlib only) that follows the Traefik JSON access log, the sshd log and the fail2ban log of a host, classifies attacks, scores sources, keeps bounded aggregates with snapshots, and serves an embedded dashboard with live updates, offline geolocation (DB-IP Lite), privacy-friendly traffic analytics, an exportable blocklist and token-authenticated federation between instances. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
3.3 KiB
Markdown
47 lines
3.3 KiB
Markdown
<p align="center"><a href="../README.md">◂ Back to README</a></p>
|
|
|
|
# Support
|
|
|
|
**English** · [Português](pt-BR/suporte.md)
|
|
|
|
Urutau is distributed as a single container image. The fastest way to get help is opening an issue in the Gitea repository.
|
|
|
|
## Before opening an issue
|
|
|
|
1. Run `docker exec urutau urutau doctor --json` (or `urutau doctor --json` on the host binary) and attach the output.
|
|
2. Confirm the version with `urutau version`.
|
|
3. Review [`configuration.md`](configuration.md), [`docker.md`](docker.md) and [`architecture.md`](architecture.md), especially the log mounts and the `adm` group.
|
|
|
|
## What to include
|
|
|
|
- Host OS, architecture (`uname -m`) and Urutau version or image tag.
|
|
- The `docker-compose.yml` (or the command line) in use, without tokens.
|
|
- The container logs: `docker compose logs urutau`.
|
|
- The state of each source on the dashboard (`following`, `waiting`, `backfill`, `error`), with the lines and malformed counts.
|
|
- One or two example log lines that are misclassified or rejected, with IPs redacted.
|
|
|
|
Do not attach tokens, real client IPs or logs of systems you are not authorized to handle.
|
|
|
|
## Security issues
|
|
|
|
Do not include exploit details in a public issue. Follow [SECURITY.md](../SECURITY.md) and request a private communication channel.
|
|
|
|
## Common situations
|
|
|
|
| Symptom | What to check |
|
|
|---|---|
|
|
| The container exits at start with `URUTAU_TOKEN is required` | Set `URUTAU_TOKEN` with at least 32 characters and about 128 bits of estimated entropy (length times Shannon entropy; periodic or sequential tokens are refused) (`openssl rand -base64 48`), or point `URUTAU_TOKEN_FILE` at a file that holds it |
|
|
| A source stays at `waiting` | The file does not exist at that path inside the container; check the mount and the `URUTAU_*_LOG` path |
|
|
| A source shows `error` with `permission denied` | Add the host `adm` group with `group_add: ["4"]` (`getent group adm`) and mount the file `:ro` |
|
|
| The Traefik source has many malformed lines | The access log is not JSON; set `accessLog.format: json` in Traefik |
|
|
| Lines count but nothing appears | The origin is in `URUTAU_TRUSTED` or `URUTAU_IGNORE` (private ranges are dropped by default), or the request is a monitoring User-Agent |
|
|
| All hits come from one internal address | The proxy hides the real client; pass the client address through to Traefik |
|
|
| fail2ban times are off by hours | `fail2ban.log` has no time zone; set `TZ` to the host's zone |
|
|
| Counts look duplicated after a restart | The snapshot was not saved or was lost; mount `/data` on a volume |
|
|
| The dashboard is unreachable from another host | It binds to `127.0.0.1` through `URUTAU_PUBLISH`; check the reverse proxy |
|
|
| A hub refuses to start with `has no token` | Every peer needs a token: set `URUTAU_PEER_TOKEN` or `URUTAU_PEER_TOKEN_<NAME>` (the peer name uppercased, other characters as `_`) |
|
|
| The login answers 429 | Too many failures from that address; wait for the window (10 minutes) or retry later, the correct token still gets in after a 1 second delay |
|
|
| The Traefik source stays at `waiting` on Coolify | Traefik is not writing `/traefik/logs/access.log`; see the Coolify section of [docker.md](docker.md) |
|
|
| A peer shows offline | Wrong URL or `URUTAU_PEER_TOKEN`, or the peer is not reachable from the hub; the error is shown on the host card |
|
|
| `--insecure-no-auth` is refused | It only works on a loopback bind; use a token |
|