You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There seems to be a version mismatch between the golang version used for building krakend in the Docker 2.7.0 release (devopsfaith/krakend:2.7.0) and the Go version used in krakend/builder version 2.7.0.
The krakend Docker release is built with Go version 1.22.2:
docker run -ti devopsfaith/krakend:2.7.0 version
KrakenD Version: 2.7.0
Go Version: 1.22.2
Glibc Version: MUSL-1.2.4_(alpine-3.18.6)
While the builder is using Go version 1.22.5:
docker run -it -v "$PWD:/app" -w /app krakend/builder:2.7.0 go version
go version go1.22.5 linux/amd64
Commands used
How did you start the software?
docker run -it -v "$PWD:/app" -w /app \
krakend/builder:2.7.0 \
go build -buildmode=plugin -o my-plugin.so .
And running krakend:
docker run -p "8080:8080" -v $PWD:/etc/krakend/ devopsfaith/krakend:2.7.0 run -c krakend.json run
Expected behavior
Succesful loading of the plugin
Logs
2024/07/20 14:32:42 KRAKEND DEBUG: [SERVICE: Executor Plugin] plugin #0 (/etc/krakend/my-plugin.so): plugin.Open("/etc/krakend/my-plugin.so"): plugin was built with a different version of package internal/godebugs
2024/07/20 14:32:42 KRAKEND DEBUG: [SERVICE: Handler Plugin] plugin #0 (/etc/krakend/my-plugin.so): plugin.Open("/etc/krakend/my-plugin.so"): plugin was built with a different version of package internal/godebugs (previous failure)
2024/07/20 14:32:42 KRAKEND DEBUG: [SERVICE: Modifier Plugin] plugin #0 (/etc/krakend/my-plugin.so): plugin.Open("/etc/krakend/my-plugin.so"): plugin was built with a different version of package internal/godebugs (previous failure)
2024/07/20 14:32:42 KRAKEND DEBUG: [SERVICE: Plugin Loader] Loading process completed
The text was updated successfully, but these errors were encountered:
Yes, this is a major issue, as I can’t upgrade to version 2.7.0 of Krankend because the plugins generated with the 2.7.0 version of the builder won’t load.
Environment info:
Describe the bug
There seems to be a version mismatch between the golang version used for building krakend in the Docker 2.7.0 release (devopsfaith/krakend:2.7.0) and the Go version used in krakend/builder version 2.7.0.
The krakend Docker release is built with Go version 1.22.2:
While the builder is using Go version 1.22.5:
Commands used
How did you start the software?
And running krakend:
Expected behavior
Succesful loading of the plugin
Logs
The text was updated successfully, but these errors were encountered: