-
-
Notifications
You must be signed in to change notification settings - Fork 485
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
request.cookies: Discarded invalid value #900
Comments
We just run over that issue. I advise you to read https://docs.sentry.io/clients/ruby/processors/ In fact the default processor of
|
I also saw this on passenger 5. From the stack trace, it looks like something is trying to parse the cookie value after the processor has masked it out. This causes an exception since the masked value no longer has a valid format. If you don't want to disable the cookie sanitizer, a quick workaround might be to monkeypatch |
Similar to @FlorianDoublet's solution above, this removes the cookie processor instead of redefining the list:
|
Thanks @josh-m-sharpe, I just added your changes to my app in a custom processor, and it works great!
|
great! |
Hi everybody,
I have setup sentry for a ruby/rails application.
And everything is working fine except none of the context data is working.
I tried with
Raven.user_context
,Raven.tags_context
and alsoRaven.extra_context
.For every event I got the following error
I googled this but I didn't get any relevant information about this error even on the Sentry website.
Does anyone be able to explain me what I'm doing wrong or if there is a bug somewhere?
I'm using ruby 2.6.1, rails 5.2.0 and sentry-raven 2.9.0.
The text was updated successfully, but these errors were encountered: