Skip to content

Reverse Proxy Issues #18

@zQueal

Description

@zQueal

I have caddy running as a reverse proxy on a VPS. Running kvass without issue on 0.0.0.0:2222.

Caddyfile as follows;

@kvass host kvass.domain.com kvass.domain2.com
        handle @kvass {
                reverse_proxy 0.0.0.0:2222
        }

Everything works as expected, however, when running kvass ls on a client, I get an error;

❯ kvass ls
2025/05/18 23:37:04 /tmp/kvass/src/cli.go:49: Couldn't get updates from server.  Data too short!
ip
meme

Everything generally seems to run fine, with the exception of non-breaking errors (Data too short!) with most commands and kvass url {item} doesn't work correctly. It routes to https://kvass.domain.com/get?q=XKgKYPLk_ltjL7GUZp23Q as expected, but there are "502: Bad Gateway" errors. Doing direct IP in kvass config remote works as intended.

Any ideas?

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