souin: Traefik plug-in errors

Hello,

I’m trying to set up souin in Traefik and added the following to my static config and restarted Traefik, but I’m getting this error:

experimental:
    plugins:
        souin:
            moduleName: "github.com/darkweak/souin"
            version: "v1.5.10"

2021/10/21 11:18:06 traefik.go:81: command traefik error: github.com/darkweak/souin: failed to import plugin code "github.com/darkweak/souin/plugins/traefik": 1:21: import "github.com/darkweak/souin/plugins/traefik" error: plugins-storage/sources/gop-3549315478/src/github.com/darkweak/souin/plugins/traefik/base.go:13:2: import "github.com/darkweak/souin/api" error: plugins-storage/sources/gop-3549315478/src/github.com/darkweak/souin/plugins/traefik/vendor/github.com/darkweak/souin/api/main.go:6:2: import "github.com/darkweak/souin/api/auth" error: plugins-storage/sources/gop-3549315478/src/github.com/darkweak/souin/plugins/traefik/vendor/github.com/darkweak/souin/api/auth/security.go:8:2: import "github.com/darkweak/souin/configurationtypes" error: plugins-storage/sources/gop-3549315478/src/github.com/darkweak/souin/plugins/traefik/vendor/github.com/darkweak/souin/configurationtypes/types.go:8:2: import "gopkg.in/yaml.v3" error: plugins-storage/sources/gop-3549315478/src/github.com/darkweak/souin/plugins/traefik/vendor/gopkg.in/yaml.v3/decode.go:195:42: cannot use type *yaml.Node as type *unsafe2.dummy

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (19 by maintainers)

Most upvoted comments

Otherwise add my username on telegram to discuss about your setup deeper and we’ll post the solution when we would be able to resolve this.

I’m on it, the next release will fix this.

It seems that the v2.5.5 resolves that @agneevX.

I’ll link this issue in their discord channel then.