Provides an API that can be used to troubleshoot issues with a host's connectivity. Tests RHP2, RHP3, and RHP4 SiaMux + QUIC.
8080
- API
-api.address string
Explored API address (default "https://api.siascan.com")
-api.password string
Explored API password
-http.addr string
HTTP address to listen on (default ":8080")
-log.level value
Log level (debug, info, warn, error) (default info)
go generate ./...
go build -o bin/ -tags='netgo timetzdata' -trimpath -a -ldflags '-s -w' ./cmd/troubleshootd
troubleshootd
includes a Dockerfile
which can be used for building and running
troubleshootd within a docker container. The image can also be pulled from ghcr.io/siafoundation/troubleshootd:latest
.
Create a new file named docker-compose.yml
. You can use the following as a template.
services:
troubleshootd:
image: ghcr.io/siafoundation/troubleshootd:latest
ports:
- 8080:8080/tcp
restart: unless-stopped