caddyserver / cache-handler

Distributed HTTP caching module for Caddy
Apache License 2.0
273 stars 23 forks source link

Impossible to open the Nuts DB.db.buildIndexes error: crc error #80

Closed Zerorigin closed 6 months ago

Zerorigin commented 7 months ago
# error detail
# caddy validate Caddyfile
2024/04/20 09:20:20.648 INFO    using adjacent Caddyfile
2024/04/20 09:20:20.648 INFO    using provided configuration    {"config_file": "Caddyfile", "config_adapter": ""}
2024/04/20 09:20:21.245 ERROR   http.handlers.cache     Impossible to open the Nuts DB.db.buildIndexes error: crc error
panic: db.buildIndexes error: crc error

goroutine 1 [running]:
github.com/darkweak/souin/pkg/middleware.NewHTTPCacheHandler({0x2b26a80, 0xc000d92130})
        github.com/darkweak/souin@v1.6.47/pkg/middleware/middleware.go:65 +0x8bf
github.com/caddyserver/cache-handler.(*SouinCaddyMiddleware).Provision(0xc000d92108, {{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc0004a18c0, 0x3, ...}})
        github.com/caddyserver/cache-handler@v0.12.0/httpcache.go:241 +0x16e
github.com/caddyserver/caddy/v2.Context.LoadModuleByID({{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc0004a18c0, 0x3, 0x4}}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/context.go:347 +0x682
github.com/caddyserver/caddy/v2.Context.loadModuleInline({{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc0004451c0, 0x2, 0x2}}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/context.go:397 +0xda
github.com/caddyserver/caddy/v2.Context.LoadModule({{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc0004451c0, 0x2, 0x2}}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/context.go:176 +0x706
github.com/caddyserver/caddy/v2/modules/caddyhttp.(*Route).ProvisionHandlers(0xc000640248, {{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc0004451c0, 0x2, ...}}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/modules/caddyhttp/routes.go:154 +0x71
github.com/caddyserver/caddy/v2/modules/caddyhttp.RouteList.ProvisionHandlers({0xc000640008, 0xe, 0x1ec57fe?}, {{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, ...}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/modules/caddyhttp/routes.go:209 +0xa9
github.com/caddyserver/caddy/v2/modules/caddyhttp.RouteList.Provision({0xc000640008, 0xe, 0x12}, {{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, ...})
        github.com/caddyserver/caddy/v2@v2.7.6/modules/caddyhttp/routes.go:186 +0xb2
github.com/caddyserver/caddy/v2/modules/caddyhttp.(*Subroute).Provision(0xc000445180, {{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc0004451c0, 0x2, ...}})
        github.com/caddyserver/caddy/v2@v2.7.6/modules/caddyhttp/subroute.go:58 +0x5b
github.com/caddyserver/caddy/v2.Context.LoadModuleByID({{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc0004451c0, 0x2, 0x2}}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/context.go:347 +0x682
github.com/caddyserver/caddy/v2.Context.loadModuleInline({{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc00058d340, 0x1, 0x1}}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/context.go:397 +0xda
github.com/caddyserver/caddy/v2.Context.LoadModule({{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc00058d340, 0x1, 0x1}}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/context.go:176 +0x706
github.com/caddyserver/caddy/v2/modules/caddyhttp.(*Route).ProvisionHandlers(0xc00053e510, {{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc00058d340, 0x1, ...}}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/modules/caddyhttp/routes.go:154 +0x71
github.com/caddyserver/caddy/v2/modules/caddyhttp.RouteList.ProvisionHandlers({0xc00053e510, 0x1, 0x476a52?}, {{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, ...}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/modules/caddyhttp/routes.go:209 +0xa9
github.com/caddyserver/caddy/v2/modules/caddyhttp.(*App).Provision(0xc0006f6c80, {{0x2b185b8, 0xc00054fef0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc00058d340, 0x1, ...}})
        github.com/caddyserver/caddy/v2@v2.7.6/modules/caddyhttp/app.go:287 +0xc45
github.com/caddyserver/caddy/v2.Context.LoadModuleByID({{0x2b185f0, 0xc000140fa0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0xc00058d340, 0x1, 0x1}}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/context.go:347 +0x682
github.com/caddyserver/caddy/v2.Context.App({{0x2b185f0, 0xc000140fa0}, 0xc000561350, 0xc000140f00, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}}, ...)
        github.com/caddyserver/caddy/v2@v2.7.6/context.go:423 +0xee
github.com/caddyserver/caddy/v2.run.func3(...)
        github.com/caddyserver/caddy/v2@v2.7.6/caddy.go:480
github.com/caddyserver/caddy/v2.run(0x0?, 0x0)
        github.com/caddyserver/caddy/v2@v2.7.6/caddy.go:485 +0x4dc
github.com/caddyserver/caddy/v2.Validate(0xc000140f00)
        github.com/caddyserver/caddy/v2@v2.7.6/caddy.go:682 +0x45
github.com/caddyserver/caddy/v2/cmd.cmdValidateConfig({0x0?})
        github.com/caddyserver/caddy/v2@v2.7.6/cmd/commandfuncs.go:547 +0x155
github.com/caddyserver/caddy/v2/cmd.init.1.func8.WrapCommandFuncForCobra.1(0xc000571208, {0x24acbc4?, 0x4?, 0x24acb90?})
        github.com/caddyserver/caddy/v2@v2.7.6/cmd/cobra.go:137 +0x2f
github.com/spf13/cobra.(*Command).execute(0xc000571208, {0xc000116bb0, 0x1, 0x1})
        github.com/spf13/cobra@v1.7.0/command.go:940 +0x882
github.com/spf13/cobra.(*Command).ExecuteC(0x3ec79e0)
        github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.7.0/command.go:992
github.com/caddyserver/caddy/v2/cmd.Main()
        github.com/caddyserver/caddy/v2@v2.7.6/cmd/main.go:66 +0x5b
main.main()
        caddy/main.go:19 +0xf
# caddy build-info
go      go1.22.2
path    caddy
mod     caddy   (devel)
dep     filippo.io/edwards25519 v1.0.0  h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek=
dep     github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96      h1:cTp8I5+VIoKjsnZuH8vjyaysT/ses3EvZeaV/1UkF2M=
dep     github.com/BurntSushi/toml      v1.3.2  h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8=
dep     github.com/Masterminds/goutils  v1.1.1  h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI=
dep     github.com/Masterminds/semver/v3        v3.2.0  h1:3MEsd0SM6jqZojhjLWWeBY+Kcjy9i6MQAeY7YgDP83g=
dep     github.com/Masterminds/sprig/v3 v3.2.3  h1:eL2fZNezLomi0uOLqjQoN6BfsDD+fyLtgbJMAj9n6YA=
dep     github.com/RoaringBitmap/roaring        v1.2.3  h1:yqreLINqIrX22ErkKI0vY47/ivtJr6n+kMhVOVmhWBY=
dep     github.com/alecthomas/chroma/v2 v2.9.1  h1:0O3lTQh9FxazJ4BYE/MOi/vDGuHn7B+6Bu902N2UZvU=
dep     github.com/andybalholm/brotli   v1.0.5  h1:8uQZIdzKmjc/iuPu7O2ioW48L81FgatrcpfFmiq/cCs=
dep     github.com/antlabs/stl  v0.0.1  h1:TRD3csCrjREeLhLoQ/supaoCvFhNLBTNIwuRGrDIs6Q=
dep     github.com/antlabs/timer        v0.0.11 h1:z75oGFLeTqJHMOcWzUPBKsBbQAz4Ske3AfqJ7bsdcwU=
dep     github.com/antlr/antlr4/runtime/Go/antlr/v4     v4.0.0-20230305170008-8188dc5388df      h1:7RFfzj4SSt6nnvCPbCqijJi1nWCd+TqAT3bYCStRC18=
dep     github.com/armon/go-metrics     v0.4.1  h1:hR91U9KYmb6bLBYLQjyM+3j+rcd/UhE+G78SFnF8gJA=
dep     github.com/aryann/difflib       v0.0.0-20210328193216-ff5ff6dc229b      h1:uUXgbcPDK3KpW29o4iy7GtuappbWT0l5NaMo9H9pJDw=
dep     github.com/beorn7/perks v1.0.1  h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
dep     github.com/buger/jsonparser     v1.1.1  h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs=
dep     github.com/buraksezer/consistent        v0.10.0 h1:hqBgz1PvNLC5rkWcEBVAL9dFMBWz6I0VgUCW25rrZlU=
dep     github.com/buraksezer/olric     v0.5.4  h1:LDgLIfVoyol4qzdNirrrDUKqzFw0yDsa7ukvLrpP4cU=
dep     github.com/bwmarrin/snowflake   v0.3.0  h1:xm67bEhkKh6ij1790JB83OujPR5CzNe8QuQqAgISZN0=
dep     github.com/caddy-dns/cloudflare v0.0.0-20240321183041-e52afcd970f5      h1:6nwQbu4E2v72QjCKyaCYmZB+bZ8hr2SCsuxNDGkXohI=
dep     github.com/caddyserver/cache-handler    v0.12.0 h1:8NQffE5jm0ta8dHz3DGt1BGGwZh1qsmfBze8mj1N9EQ=
dep     github.com/caddyserver/caddy/v2 v2.7.6  h1:w0NymbG2m9PcvKWsrXO6EEkY9Ru4FJK8uQbYcev1p3A=
dep     github.com/caddyserver/certmagic        v0.20.0 h1:bTw7LcEZAh9ucYCRXyCpIrSAGplplI0vGYJ4BpCQ/Fc=
dep     github.com/caddyserver/jsonc-adapter    v0.0.0-20200325004025-825ee096306c
=>      github.com/IceCodeNew/jsonc-adapter     v0.0.0-20240223101055-68e1734195e4      h1:4awbBWzoyPbpD2ixAFDiC2nsh11CKtrbHVq8OA427Jw=

dep     github.com/caddyserver/ntlm-transport   v0.1.2  h1:no1+MveY7d0qrI03olC9sy6ddmPyOpZb1J1iB6ELrzI=
dep     github.com/caddyserver/replace-response v0.0.0-20231221003037-a85d4ddc11d6      h1:b8BbCrkEqqfj6aJr5JCZceYmnfIHy7sfyGQ1BFrJwR4=
dep     github.com/caddyserver/transform-encoder        v0.0.0-20240312163748-f627fc4f7633      h1:RDs0Ef8EI4+NnQMlIrQNM38u7+6n3M3VOnamC2vZG0k=
dep     github.com/cenkalti/backoff/v4  v4.2.1  h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM=
dep     github.com/cespare/xxhash       v1.1.0  h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
dep     github.com/cespare/xxhash/v2    v2.2.0  h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
dep     github.com/chzyer/readline      v1.5.1  h1:upd/6fQk4src78LMRzh5vItIt361/o4uq553V8B5sGI=
dep     github.com/corazawaf/coraza-caddy/v2    v2.0.0-rc.3.0.20240402102713-0e2f0b90ab54       h1:HyFDEP75YYXpHHNkoKOCDN4WH2x7tDSO745+ZJdVP4U=
dep     github.com/corazawaf/coraza-coreruleset v0.0.0-20230723190514-7bdcbcff3d5a      h1:Lkmz2UckkFg86P65Xzet+bkt8jPMwNbIUtq73Z5Te9w=
dep     github.com/corazawaf/coraza/v3  v3.1.0  h1:CB6YxNXdbZjUJS/0FVFoFvS8eOVFbIvlNuHNC5dh88c=
dep     github.com/corazawaf/libinjection-go    v0.1.3  h1:PUplAYho1BBl0tIVbhDsNRuVGIeUYSiCEc9oQpb2rJU=
dep     github.com/coreos/go-semver     v0.3.1  h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4=
dep     github.com/coreos/go-systemd/v22        v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs=
dep     github.com/cpuguy83/go-md2man/v2        v2.0.2  h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
dep     github.com/darkweak/go-esi      v0.0.5  h1:b9LHI8Tz46R+i6p8avKPHAIBRQUCZDebNmKm5w/Zrns=
dep     github.com/darkweak/souin       v1.6.47 h1:/uPuJyzBgSHFXPJk5+4bquW1IJ3PAoGnAPb+5gr0XxU=
dep     github.com/dgraph-io/badger     v1.6.2  h1:mNw0qs90GVgGGWylh0umH5iag1j6n/PeJtNvL6KY/x8=
dep     github.com/dgraph-io/badger/v2  v2.2007.4       h1:TRWBQg8UrlUhaFdco01nO2uXwzKS7zd+HVdwV/GHc4o=
dep     github.com/dgraph-io/badger/v3  v3.2103.5       h1:ylPa6qzbjYRQMU6jokoj4wzcaweHylt//CH0AKt0akg=
dep     github.com/dgraph-io/ristretto  v0.1.1  h1:6CWw5tJNgpegArSHpNHJKldNeq03FQCwYvfMVWajOK8=
dep     github.com/dgryski/go-farm      v0.0.0-20200201041132-a6ae2369ad13      h1:fAjc9m62+UWV/WAFKLNi6ZS0675eEUC9y3AlwSbQu1Y=
dep     github.com/dgryski/go-rendezvous        v0.0.0-20200823014737-9f7001d12a5f      h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
dep     github.com/dlclark/regexp2      v1.10.0 h1:+/GIL799phkJqYW+3YbOd8LCcbHzT0Pbo8zl70MHsq0=
dep     github.com/dustin/go-humanize   v1.0.1  h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
dep     github.com/felixge/httpsnoop    v1.0.3  h1:s/nj+GCswXYzN5v2DpNMuMQYe+0DDwt5WVCU6CWBdXk=
dep     github.com/fxamacker/cbor/v2    v2.5.0  h1:oHsG0V/Q6E/wqTS2O1Cozzsy69nqCiguo5Q1a1ADivE=
dep     github.com/go-chi/chi/v5        v5.0.10 h1:rLz5avzKpjqxrYwXNfmjkrYYXOyLJd37pz53UFHC6vk=
dep     github.com/go-kit/kit   v0.10.0 h1:dXFJfIHVvUcpSgDOV+Ne6t7jXri8Tfv2uOLHUZ2XNuo=
dep     github.com/go-logfmt/logfmt     v0.5.1  h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA=
dep     github.com/go-logr/logr v1.3.0  h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY=
dep     github.com/go-logr/stdr v1.2.2  h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
dep     github.com/go-redis/redis/v8    v8.11.5 h1:AcZZR7igkdvfVmQTPnu9WE37LRrO/YrBH5zWyjDC0oI=
dep     github.com/go-sql-driver/mysql  v1.7.1  h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
dep     github.com/gofrs/flock  v0.8.1  h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw=
dep     github.com/gogo/protobuf        v1.3.2  h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
dep     github.com/golang/glog  v1.1.2  h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo=
dep     github.com/golang/groupcache    v0.0.0-20210331224755-41bb18bfe9da      h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=
dep     github.com/golang/protobuf      v1.5.3  h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
dep     github.com/golang/snappy        v0.0.4  h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
dep     github.com/google/btree v1.1.2  h1:xf4v41cLI2Z6FxbKm+8Bu+m8ifhj15JuZ9sa0jZCMUU=
dep     github.com/google/cel-go        v0.15.1 h1:iTgVZor2x9okXtmTrqO8cg4uvqIeaBcWhXtruaWFMYQ=
dep     github.com/google/certificate-transparency-go   v1.1.6  h1:SW5K3sr7ptST/pIvNkSVWMiJqemRmkjJPPT0jzXdOOY=
dep     github.com/google/flatbuffers   v23.1.21+incompatible   h1:bUqzx/MXCDxuS0hRJL2EfjyZL3uQrPbMocUa8zGqsTA=
dep     github.com/google/go-tpm        v0.9.0  h1:sQF6YqWMi+SCXpsmS3fd21oPy/vSddwZry4JnmltHVk=
dep     github.com/google/go-tspi       v0.3.0  h1:ADtq8RKfP+jrTyIWIZDIYcKOMecRqNJFOew2IT0Inus=
dep     github.com/google/uuid  v1.6.0  h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
dep     github.com/grpc-ecosystem/grpc-gateway/v2       v2.18.0 h1:RtRsiaGvWxcwd8y3BiRZxsylPT8hLWZ5SPcfI+3IDNk=
dep     github.com/hashicorp/errwrap    v1.1.0  h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I=
dep     github.com/hashicorp/go-immutable-radix v1.3.1  h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc=
dep     github.com/hashicorp/go-msgpack v0.5.5  h1:i9R9JSrqIz0QVLz3sz+i3YJdT7TTSLcfLLzJi9aZTuI=
dep     github.com/hashicorp/go-multierror      v1.1.1  h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
dep     github.com/hashicorp/go-sockaddr        v1.0.2  h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0SyteCQc=
dep     github.com/hashicorp/golang-lru v0.5.5-0.20200511160909-eb529947af53    h1:mcyf48FjrlX8JRXvy5v3LPeXBv+Um6WvoKS+kknfgIk=
dep     github.com/hashicorp/logutils   v1.0.0  h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y=
dep     github.com/hashicorp/memberlist v0.5.0  h1:EtYPN8DpAURiapus508I4n9CzHs2W+8NZGbmmR/prTM=
dep     github.com/huandu/xstrings      v1.3.3  h1:/Gcsuc1x8JVbJ9/rlye4xZnVAbEkGauT8lbebqcQws4=
dep     github.com/icholy/replace       v0.6.0  h1:EBiD2pGqZIOJAbEaf/5GVRaD/Pmbb4n+K3LrBdXd4dw=
dep     github.com/imdario/mergo        v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk=
dep     github.com/jackc/chunkreader/v2 v2.0.1  h1:i+RDz65UE+mmpjTfyz0MoVTnzeYxroil2G82ki7MGG8=
dep     github.com/jackc/pgconn v1.14.3 h1:bVoTr12EGANZz66nZPkMInAV/KHD2TxH9npjXXgiB3w=
dep     github.com/jackc/pgio   v1.0.0  h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE=
dep     github.com/jackc/pgpassfile     v1.0.0  h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM=
dep     github.com/jackc/pgproto3/v2    v2.3.3  h1:1HLSx5H+tXR9pW3in3zaztoEwQYRC9SQaYUHjTSUOag=
dep     github.com/jackc/pgservicefile  v0.0.0-20221227161230-091c0ba34f0a      h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk=
dep     github.com/jackc/pgtype v1.14.0 h1:y+xUdabmyMkJLyApYuPj38mW+aAIqCe5uuBB51rH3Vw=
dep     github.com/jackc/pgx/v4 v4.18.2 h1:xVpYkNR5pk5bMCZGfClbO962UIqVABcAGt7ha1s/FeU=
dep     github.com/jcchavezs/mergefs    v0.0.0-20230503083351-07f27d256761      h1:Wbw8wlehLICFiXFPmQjMnYkcC6qH4a0d1iNbp6md+tk=
dep     github.com/klauspost/compress   v1.17.0 h1:Rnbp4K9EjcDuVuHtd0dgA4qNuv9yKDYKK1ulpJwgrqM=
dep     github.com/klauspost/cpuid/v2   v2.2.7  h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM=
dep     github.com/libdns/cloudflare    v0.1.1  h1:FVPfWwP8zZCqj268LZjmkDleXlHPlFU9KC4OJ3yn054=
dep     github.com/libdns/libdns        v0.2.2  h1:O6ws7bAfRPaBsgAYt8MDe2HcNBGC29hkZ9MX2eUSX3s=
dep     github.com/manifoldco/promptui  v0.9.0  h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA=
dep     github.com/mastercactapus/proxyprotocol v0.0.4  h1:qSY75IZF30ZqIU9iW1ip3I7gTnm8wRAnGWqPxCBVgq0=
dep     github.com/mattn/go-colorable   v0.1.8  h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8=
dep     github.com/mattn/go-isatty      v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ=
dep     github.com/mgutz/ansi   v0.0.0-20200706080929-d51e80ef957d      h1:5PJl274Y63IEHC+7izoQE9x6ikvDFZS2mDVS3drnohI=
dep     github.com/mholt/acmez  v1.2.0  h1:1hhLxSgY5FvH5HCnGUuwbKY2VQVo8IU7rxXKSnZ7F30=
dep     github.com/micromdm/scep/v2     v2.1.0  h1:2fS9Rla7qRR266hvUoEauBJ7J6FhgssEiq2OkSKXmaU=
dep     github.com/miekg/dns    v1.1.58 h1:ca2Hdkz+cDg/7eNF6V56jjzuZ4aCAE+DbVkILdQWG/4=
dep     github.com/mitchellh/copystructure      v1.2.0  h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=
dep     github.com/mitchellh/go-ps      v1.0.0  h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc=
dep     github.com/mitchellh/reflectwalk        v1.0.2  h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ=
dep     github.com/muhammadmuzzammil1998/jsonc  v1.0.0  h1:8o5gBQn4ZA3NBA9DlTujCj2a4w0tqWrPVjDwhzkgTIs=
dep     github.com/nutsdb/nutsdb        v0.14.3 h1:IcHyiAtVXgaYvqnjugiVl2+9tjhK5ElBI+KtaXwKdwY=
dep     github.com/petar-dambovaliev/aho-corasick       v0.0.0-20230725210150-fb29fc3c913e      h1:POJco99aNgosh92lGqmx7L1ei+kCymivB/419SD15PQ=
dep     github.com/pkg/errors   v0.9.1  h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
dep     github.com/pquerna/cachecontrol v0.2.0  h1:vBXSNuE5MYP9IJ5kjsdo8uq+w41jSPgvba2DEnkRx9k=
dep     github.com/prometheus/client_golang     v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk=
dep     github.com/prometheus/client_model      v0.6.0  h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
dep     github.com/prometheus/common    v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
dep     github.com/prometheus/procfs    v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
dep     github.com/quic-go/qpack        v0.4.0  h1:Cr9BXA1sQS2SmDUWjSofMPNKmvF6IiIfDRmgU0w1ZCo=
dep     github.com/quic-go/quic-go      v0.41.0 h1:aD8MmHfgqTURWNJy48IYFg2OnxwHT3JL7ahGs73lb4k=
dep     github.com/redis/rueidis        v1.0.31 h1:S2NlrMB1N+yB+QEKD4o0lV+5GNIeLo/ZMpN42ONcwg0=
dep     github.com/rs/xid       v1.5.0  h1:mKX4bl4iPYJtEIxp6CYiUuLQ/8DYMoz0PUdtGgMFRVc=
dep     github.com/russross/blackfriday/v2      v2.1.0  h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
dep     github.com/sean-/seed   v0.0.0-20170313163322-e2103e2c3529      h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I=
dep     github.com/shopspring/decimal   v1.2.0  h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ=
dep     github.com/shurcooL/sanitized_anchor_name       v1.0.0  h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
dep     github.com/sirupsen/logrus      v1.9.3  h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
dep     github.com/slackhq/nebula       v1.6.1  h1:/OCTR3abj0Sbf2nGoLUrdDXImrCv0ZVFpVPP5qa0DsM=
dep     github.com/smallstep/certificates       v0.25.0 h1:WWihtjQ7SprnRxDV44mBp8t5SMsNO5EWsQaEwy1rgFg=
dep     github.com/smallstep/go-attestation     v0.4.4-0.20230627102604-cf579e53cbd2    h1:UIAS8DTWkeclraEGH2aiJPyNPu16VbT41w4JoBlyFfU=
dep     github.com/smallstep/nosql      v0.6.0  h1:ur7ysI8s9st0cMXnTvB8tA3+x5Eifmkb6hl4uqNV5jc=
dep     github.com/smallstep/truststore v0.12.1 h1:guLUKkc1UlsXeS3t6BuVMa4leOOpdiv02PCRTiy1WdY=
dep     github.com/spf13/cast   v1.4.1  h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA=
dep     github.com/spf13/cobra  v1.7.0  h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
dep     github.com/spf13/pflag  v1.0.5  h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
dep     github.com/stoewer/go-strcase   v1.2.0  h1:Z2iHWqGXH00XYgqDmNgQbIBxf3wrNq0F3feEy0ainaU=
dep     github.com/tailscale/tscert     v0.0.0-20230806124524-28a91b69a046      h1:8rUlviSVOEe7TMk7W0gIPrW8MqEzYfZHpsNWSf8s2vg=
dep     github.com/tidwall/btree        v1.6.0  h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg=
dep     github.com/tidwall/gjson        v1.17.0 h1:/Jocvlh98kcTfpN2+JzGQWQcqrPQwDrVEMApx/M5ZwM=
dep     github.com/tidwall/match        v1.1.1  h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
dep     github.com/tidwall/pretty       v1.2.1  h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4=
dep     github.com/tidwall/redcon       v1.6.2  h1:5qfvrrybgtO85jnhSravmkZyC0D+7WstbfCs3MmPhow=
dep     github.com/ueffel/caddy-brotli  v1.3.0  h1:c2EgDCrwb4B7BsiHKRMsXA+tXNihs/IG59qiQu/Ducw=
dep     github.com/urfave/cli   v1.22.14        h1:ebbhrRiGK2i4naQJr+1Xj92HXZCrK7MsyTS/ob3HnAk=
dep     github.com/vmihailenco/msgpack/v5       v5.3.5  h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU=
dep     github.com/vmihailenco/tagparser/v2     v2.0.0  h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
dep     github.com/x448/float16 v0.8.4  h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
dep     github.com/xujiajun/mmap-go     v1.0.1  h1:7Se7ss1fLPPRW+ePgqGpCkfGIZzJV6JPq9Wq9iv/WHc=
dep     github.com/xujiajun/utils       v0.0.0-20220904132955-5f7c5b914235      h1:w0si+uee0iAaCJO9q86T6yrhdadgcsoNuh47LrUykzg=
dep     github.com/yuin/goldmark        v1.5.6  h1:COmQAWTCcGetChm3Ig7G/t8AFAN00t+o8Mt4cf7JpwA=
dep     github.com/yuin/goldmark-highlighting/v2        v2.0.0-20230729083705-37449abec8cc      h1:+IAOyRda+RLrxa1WC7umKOZRsGq4QrFFMYApOeHzQwQ=
dep     github.com/zeebo/blake3 v0.2.3  h1:TFoLXsjeXqRNFxSbk35Dk4YtszE/MQQGK10BH4ptoTg=
dep     go.etcd.io/bbolt        v1.3.7  h1:j+zJOnnEjF/kyHlDDgGnVL/AIqIJPq8UoB2GSNfkUfQ=
dep     go.etcd.io/etcd/api/v3  v3.5.12 h1:W4sw5ZoU2Juc9gBWuLk5U6fHfNVyY1WC5g9uiXZio/c=
dep     go.etcd.io/etcd/client/pkg/v3   v3.5.12 h1:EYDL6pWwyOsylrQyLp2w+HkQ46ATiOvoEdMarindU2A=
dep     go.etcd.io/etcd/client/v3       v3.5.12 h1:v5lCPXn1pf1Uu3M4laUE2hp/geOTc5uPcYYsNe1lDxg=
dep     go.mozilla.org/pkcs7    v0.0.0-20210826202110-33d05740a352      h1:CCriYyAfq1Br1aIYettdHZTy8mBTIPo7We18TuO/bak=
dep     go.opencensus.io        v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
dep     go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp   v0.45.0 h1:x8Z78aZx8cOF0+Kkazoc7lwUNMGy0LrzEMxTm4BbTxg=
dep     go.opentelemetry.io/contrib/propagators/autoprop        v0.42.0 h1:s2RzYOAqHVgG23q8fPWYChobUoZM6rJZ98EnylJr66w=
dep     go.opentelemetry.io/contrib/propagators/aws     v1.17.0 h1:IX8d7l2uRw61BlmZBOTQFaK+y22j6vytMVTs9wFrO+c=
dep     go.opentelemetry.io/contrib/propagators/b3      v1.17.0 h1:ImOVvHnku8jijXqkwCSyYKRDt2YrnGXD4BbhcpfbfJo=
dep     go.opentelemetry.io/contrib/propagators/jaeger  v1.17.0 h1:Zbpbmwav32Ea5jSotpmkWEl3a6Xvd4tw/3xxGO1i05Y=
dep     go.opentelemetry.io/contrib/propagators/ot      v1.17.0 h1:ufo2Vsz8l76eI47jFjuVyjyB3Ae2DmfiCV/o6Vc8ii0=
dep     go.opentelemetry.io/otel        v1.21.0 h1:hzLeKBZEL7Okw2mGzZ0cc4k/A7Fta0uoPgaJCr8fsFc=
dep     go.opentelemetry.io/otel/exporters/otlp/otlptrace       v1.21.0 h1:cl5P5/GIfFh4t6xyruOgJP5QiA1pw4fYYdv6nc6CBWw=
dep     go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0 h1:tIqheXEFWAZ7O8A7m+J0aPTmpJN3YQ7qetUAdkkkKpk=
dep     go.opentelemetry.io/otel/metric v1.21.0 h1:tlYWfeo+Bocx5kLEloTjbcDwBuELRrIFxwdQ36PlJu4=
dep     go.opentelemetry.io/otel/sdk    v1.21.0 h1:FTt8qirL1EysG6sTQRZ5TokkU8d0ugCj8htOgThZXQ8=
dep     go.opentelemetry.io/otel/trace  v1.21.0 h1:WD9i5gzvoUPuXIXH24ZNBudiarZDKuekPqi/E8fpfLc=
dep     go.opentelemetry.io/proto/otlp  v1.0.0  h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I=
dep     go.step.sm/cli-utils    v0.8.0  h1:b/Tc1/m3YuQq+u3ghTFP7Dz5zUekZj6GUmd5pCvkEXQ=
dep     go.step.sm/crypto       v0.35.1 h1:QAZZ7Q8xaM4TdungGSAYw/zxpyH4fMYTkfaXVV9H7pY=
dep     go.step.sm/linkedca     v0.20.1 h1:bHDn1+UG1NgRrERkWbbCiAIvv4lD5NOFaswPDTyO5vU=
dep     go.uber.org/multierr    v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
dep     go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8=
dep     golang.org/x/crypto     v0.20.0 h1:jmAMJJZXr5KiCw05dfYK9QnqaqKLYXijU23lsEdcQqg=
dep     golang.org/x/exp        v0.0.0-20240222234643-814bf88cf225      h1:LfspQV/FYTatPTr/3HzIcmiUFH7PGP+OQ6mgDYo3yuQ=
dep     golang.org/x/net        v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4=
dep     golang.org/x/sync       v0.6.0  h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=
dep     golang.org/x/sys        v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y=
dep     golang.org/x/term       v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U=
dep     golang.org/x/text       v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
dep     google.golang.org/genproto/googleapis/api       v0.0.0-20231016165738-49dd2c1f3d0b      h1:CIC2YMXmIhYw6evmhPxBKJ4fmLbOFtXQN/GV3XOZR8k=
dep     google.golang.org/genproto/googleapis/rpc       v0.0.0-20231016165738-49dd2c1f3d0b      h1:ZlWIi1wSK56/8hn4QcBp/j9M7Gt3U/3hZw3mC7vDICo=
dep     google.golang.org/grpc  v1.59.0 h1:Z5Iec2pjwb+LEOqzpB2MR12/eKFhDPhuqW91O+4bwUk=
dep     google.golang.org/protobuf      v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
dep     gopkg.in/natefinch/lumberjack.v2        v2.2.1  h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc=
dep     gopkg.in/square/go-jose.v2      v2.6.0  h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI=
dep     gopkg.in/yaml.v2        v2.4.0  h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
dep     gopkg.in/yaml.v3        v3.0.1  h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
dep     rsc.io/binaryregexp     v0.2.0  h1:HfqmD5MEmC0zvwBuF187nq9mdnXjXsSivRiXN7SmRkE=
build   -buildmode=exe
build   -compiler=gc
build   -trimpath=true
build   CGO_ENABLED=0
build   GOARCH=amd64
build   GOOS=linux
build   GOAMD64=v3
Zerorigin commented 7 months ago

I think this error should be caught. The question now is: 'Should the cache handler help the user clear the entire Nuts cache directory when this error is encountered?'

darkweak commented 7 months ago

Hello @Zerorigin we sould probably do something when that error appear. Clearing the db could be a good quick-win.

darkweak commented 6 months ago

Will be in the next release.

Zerorigin commented 6 months ago

It seems great 👍 thanks for your hard work 😄

Will be in the next release.

darkweak commented 6 months ago

It should work with the latest release of Souin (not yet available in the cache-handler).