-
Notifications
You must be signed in to change notification settings - Fork 24
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
modsecurity.go:56:5: panic #5
Comments
Can you share your traefik configuration with the version? |
From what I see with the log, its related to traefik-modsecurity-plugin/modsecurity.go Lines 56 to 59 in 19cdb47
traefik-modsecurity-plugin/modsecurity.go Lines 107 to 114 in 19cdb47
Which tries to determines if the incoming connection is a WebSocket init request. |
I'm on traefik v2.8.1 (latest I believe) and here is my config:
|
Sorry I forgot to mention that this error is coming sporadically |
It is related to a request, if you could correlate the incoming request to the panic that would help a lot. |
I'm gonna enable full logs again and see what I can find when this happens. |
Ok so I could reproduce it (by reloading my page over and over).
And traefik logs were:
I was not able to see if that request failed on my browser though, I will try again to catch that. |
do you see maybe any debug logs I could add somewhere to try to identify the issue? |
Thanks for the info, I'll look into it :) |
Just FYI, I wanted to be sure it was not coming from the version of kubernetes I was using, so I created a new cluster, with a more stable version (1.23.6-gke.2200) but I still have the same issue |
FYI, since I still have this issue frequently, I created a fork with a new option (to If this is a feature you would like to have, I can create a PR if you want, otherwise I will keep using my fork. EDIT:
seems pretty normal to me, weird that |
I also added another config to ignore 500errors from the owasp container igoooor@8808205 |
Hello,
traefik threw this error:
Unfortunately I don't have much more information as I don't have any traefik logs enabled at the moment..
The text was updated successfully, but these errors were encountered: