Skip to content

Consistent Validation Error #122

@Midnight1938

Description

@Midnight1938

Keep getting the following error:

level=INFO msg="starting tsbridge" version=0.12.0 provider=file
level=ERROR msg=error error="failed to create application: configuration error: failed to load config from provider: configuration error: : file provider: validating config: validation error: service \"jellyfin\": validation error: service must have at least one tag when using OAuth authentication"

With a configuration that looks like this

[tailscale]
oauth_client_id_env = "id"
oauth_client_secret_env = "secret"
default_tags = ["tag:server"]
tls_mode = "auto"

[[services]]
name = "books"
backend_addr = "localhost:8070"

[[services]]
name = "jfin"
backend_addr = "localhost:9000"

[[services]]
name = "ppod"
backend_addr = "localhost:9050"

And is being run in a container this way:

sudo docker run -v /DATA/tailscaleSet/:/config   -e TS_OAUTH_CLIENT_ID=id   -e TS_OAUTH_CLIENT_SECRET=key   ghcr.io/jtdowney/tsbridge:latest -config /config/tsbridge.toml

Reading instructions i cannot find any issues, even if i remove jfin, it does nothing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions