kvass icon indicating copy to clipboard operation
kvass copied to clipboard

Reverse Proxy Issues

Open zQueal opened this issue 7 months ago • 1 comments

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?

zQueal avatar May 19 '25 03:05 zQueal