Describe the bug
After failing to enable bitmagnet with nix, I am trying to run the docker compose with podman compose.
Both the postgresql container and the bitmagnet container seem to be fine and the status says they are up, but after a few seconds, repeatedly, DHT is shown as "Down".
There arent any console errors related to DHT.
To Reproduce
Run the compose.yml with podman compose. All changes I made were adding a TMDB api key and specifying docker.io as source of the postgres image.
Expected behavior
It should at least output the reason why DHT is down.
Environment Information (Required)
- Bitmagnet version: 0.10.0
- OS and version: NixOS unstable, podman version 5.8.2, podman-compose version 1.5.0
Additional context
I opened the bittorrent port in the firewall, no change.
[postgres] |
[postgres] | PostgreSQL Database directory appears to contain a database; Skipping initialization
[postgres] |
[postgres] | 2026-06-07 17:10:02.090 UTC [1] LOG: starting PostgreSQL 16.14 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
[postgres] | 2026-06-07 17:10:02.090 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
[postgres] | 2026-06-07 17:10:02.090 UTC [1] LOG: listening on IPv6 address "::", port 5432
[postgres] | 2026-06-07 17:10:02.092 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
[postgres] | 2026-06-07 17:10:02.096 UTC [25] LOG: database system was shut down at 2026-06-07 17:09:49 UTC
[postgres] | 2026-06-07 17:10:02.102 UTC [1] LOG: database system is ready to accept connections
[bitmagnet] | INFO migrator migrations/migrator.go:68 checking and applying migrations...
[bitmagnet] | INFO migrator migrations/logger.go:33 goose: no migrations to run. current version: 19
[bitmagnet] | INFO worker/worker.go:201 started worker {"key": "queue_server"}
[bitmagnet] | INFO worker/worker.go:201 started worker {"key": "http_server"}
[bitmagnet] | INFO worker/worker.go:201 started worker {"key": "dht_crawler"}
[postgres] | 2026-06-07 17:15:02.160 UTC [23] LOG: checkpoint starting: time
[postgres] | 2026-06-07 17:15:02.176 UTC [23] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.003 s, total=0.016 s; sync files=2, longest=0.002 s, average=0.002 s; distance=0 kB, estimate=0 kB; lsn=0/1B4C3F8, redo lsn=0/1B4C3C0
[bitmagnet] | ERROR tmdb/requester_logger.go:24 request failed {"path": "/authentication", "queryParams": null, "status": "502 Bad Gateway", "trace": {"DNSLookup":156853645,"ConnTime":265129349,"TCPConnTime":51448521,"TLSHandshake":56690181,"ServerTime":156748297,"ResponseTime":41686,"TotalTime":421884506,"IsConnReused":false,"IsConnWasIdle":false,"ConnIdleTime":0,"RequestAttempt":1,"RemoteAddr":{"IP":"xxxxxxxxx,"Port":443,"Zone":""}}, "error": "TMDB request failed: 502 Bad Gateway"}
[bitmagnet] | github.com/bitmagnet-io/bitmagnet/internal/tmdb.requesterLogger.Request
[bitmagnet] | /src/internal/tmdb/requester_logger.go:24
[bitmagnet] | github.com/bitmagnet-io/bitmagnet/internal/tmdb.(*requesterLazy).Request
[bitmagnet] | /src/internal/tmdb/requester_lazy.go:32
[bitmagnet] | github.com/bitmagnet-io/bitmagnet/internal/tmdb.client.ValidateApiKey
[bitmagnet] | /src/internal/tmdb/client.go:22
[bitmagnet] | github.com/bitmagnet-io/bitmagnet/internal/tmdb/tmdb_health.New.NewCheck.func2
[bitmagnet] | /src/internal/tmdb/tmdb_health/check.go:26
[bitmagnet] | github.com/bitmagnet-io/bitmagnet/internal/health.executeCheckFunc.func1
[bitmagnet] | /src/internal/health/check.go:518
this did not change anything
environment:
- ...
- log.level debug
Describe the bug
After failing to enable bitmagnet with nix, I am trying to run the docker compose with podman compose.
Both the postgresql container and the bitmagnet container seem to be fine and the status says they are up, but after a few seconds, repeatedly, DHT is shown as "Down".
There arent any console errors related to DHT.
To Reproduce
Run the compose.yml with podman compose. All changes I made were adding a TMDB api key and specifying docker.io as source of the postgres image.
Expected behavior
It should at least output the reason why DHT is down.
Environment Information (Required)
Additional context
I opened the bittorrent port in the firewall, no change.
this did not change anything