Skip to content

panic: unknown encoder level when opening web UI #1546

@Maypul

Description

@Maypul

Describe the bug

Hi there, gatus is throwing the following error when I access its web ui:
panic: unknown encoder level

goroutine 104 [running]:

github.com/valyala/fasthttp.acquireRealZstdWriter({0x1934be0, 0xc0005281b0}, 0x6)

/go/pkg/mod/github.com/valyala/fasthttp@v1.69.0/zstd.go:72 +0xee

github.com/valyala/fasthttp.acquireStacklessZstdWriter.func1(...)

/go/pkg/mod/github.com/valyala/fasthttp@v1.69.0/zstd.go:50

github.com/valyala/fasthttp/stackless.NewWriter(...)

/go/pkg/mod/github.com/valyala/fasthttp@v1.69.0/stackless/writer.go:37

github.com/valyala/fasthttp.acquireStacklessZstdWriter({0x19336a0, 0xc000058300}, 0x6)

/go/pkg/mod/github.com/valyala/fasthttp@v1.69.0/zstd.go:49 +0xd4

github.com/valyala/fasthttp.(*Response).zstdBody.func1(0xc000058300)

/go/pkg/mod/github.com/valyala/fasthttp@v1.69.0/http.go:1938 +0x45

github.com/valyala/fasthttp.NewStreamReader.func1()

/go/pkg/mod/github.com/valyala/fasthttp@v1.69.0/stream.go:44 +0x39

created by github.com/valyala/fasthttp.NewStreamReader in goroutine 31

/go/pkg/mod/github.com/valyala/fasthttp@v1.69.0/stream.go:43 +0x285

Not sure from which version it started happening, as I did not updated it for some time and few newest still does not work, reverting to v5.0.0 makes the web ui work again.

Of course, the monitoring still works, it is just the UI.

What do you see?

No response

What do you expect to see?

No response

List the steps that must be taken to reproduce this issue

No response

Version

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions