-
Notifications
You must be signed in to change notification settings - Fork 357
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
jwt.Parse Crashes Under Load in Custom Tyk Plugin #423
Comments
We cannot really help you without you sharing a code example. I am not familiar with this framework. Maybe this issue is more likely to be handled by them? |
Thanks oxisto for replay func checkToken(tokenString string, key *rsa.PublicKey) bool {
} |
If you have panic recovery and logging, do you have a stack trace showing which line is causing a panic? Do you have any profiling or basic metrics, such as memory usage, goroutine counts, CPU utilization, etc.? I'm afraid this is a bit of a goose chase without additional information. The most we can do (and probably should at some point) is benchmark and optimize a parts of the codebase. |
The crash is in the attached log file in the first post
For me this looks like a bug in Go / |
Ah gotcha, I didn't open the attached .txt file so missed this 😅 |
Hi Team,
I am using the jwt.Parse function to validate tokens in a custom Tyk plugin. Under high load, the code frequently crashes, causing the gateway to fail. This issue occurs when multiple requests are sent concurrently, and the plugin tries to validate tokens. It seems related to unhandled panics or resource management problems.
Thanks
GP
log-error.txt
The text was updated successfully, but these errors were encountered: