-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[APM] : Unhandled rejection detected- Error: rison decoder error: unable to parse string as rison: - this error is shown in the console as soon as you click on APM UI when the storeinsession is turned on in adv settings. #25165
Comments
kibbana.yml |
This happens only when in Advanced settings > state:storeInSessionStorage > is turned on. |
Hi @Rasroh, thanks for making us aware of this issue. The error seems to be caused by this line:
Currently we blindly decode the querystring arg @w33ble what is your suggested approach? Should we wrap rison.decode like: function safeRisonDecode(data) {
try {
return rison.decode(data);
} catch (e) {
return null;
}
} |
Something to note: this doesn't appear to be a valid value for |
Almost none of the rest of the codebase uses that check. There's no harm in adding a Seems like perhaps some other part of the code is setting an invalid global state value. Knowing where and why would be useful. |
Agree! It seems to be caused by an error somewhere else in the system. And it would be better if we could fix it at the at the root. |
So this is just a bug in our 6.5 code, we are using |
@w33ble turns out the value was ok, but we were trying to |
Kibana version: 6.5.0 BC2 / ( BC3 as well. )
Elasticsearch version: 6.5.0 BC2
Server OS version: CentOS 7
Browser version: Chrome
Original install method (e.g. download page, yum, from source, etc.): 6.5.0 BC2
Describe the bug: Bring up 6.5.0 BC2 and open up Kibana. Navigate to APM and see that its blank and in the console the following error is shown .
cc / @elastic/apm-ui @elastic/kibana-qa
The text was updated successfully, but these errors were encountered: