New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Traefik plugin] panic after deploy (docker service update) and when doing Apache AB test #387
Comments
Hello @frobert How do you run the container ? What's your config ? |
Hey, I'm running a Django app in docker swarm mode...
Otherwise, the cacheing works as expected, we just need to make sure we have zero downtime on deploy... |
Does it happens only on the service update ? |
yes... I'm running docker service update in Drone CI... and it fails when updating |
I will try to reproduce on my swarm cluster |
Perfect, thanks... |
Hey 👋 |
Here is the panic I reached but unfortunately that's not a Souin issue.
|
With the given config using
|
Hey, im using "image: traefik:v2.10.5" with "souin v1.6.41" plugin. |
Okay I'll retry with this version. |
Hello (back) :p Traefik 3 beta 4 + Souin plugin v1.6.43 middleware
Short log
Long log
And still no store
Anything I can add for you to review ? |
Thanks! One more finding, kind of strange but may be it would help.... If I use "whoami" docker image for backend app, then it seem to be working ok.... But as soon as I switch to my backend app (build in Django with unicorn), traefik with souin cache brakes... There are no errors on Django BE app and if I disable souin cache, app works as expected.... Is there any other way to debug or is souin plugin just not up to expectations for a production app... |
After running docker service update I would expect zero down time but getting a panic error from souin/trafeik and Traefik container crashes...
Error:
time="2023-10-16T11:12:56Z" level=error msg="plugins-storage/sources/gop-1954682551/src/github.com/darkweak/souin/plugins/traefik/vendor/github.com/darkweak/souin/pkg/middleware/middleware.go:533:19: panic" module=github.com/darkweak/souin plugin=plugin-souin
time="2023-10-16T11:12:56Z" level=error msg="plugins-storage/sources/gop-1954682551/src/github.com/darkweak/souin/plugins/traefik/vendor/github.com/darkweak/souin/pkg/middleware/middleware.go:250:12: panic" plugin=plugin-souin module=github.com/darkweak/souin
Anyone had the same issue?
The text was updated successfully, but these errors were encountered: