Skip to content
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

[BUG] Zone_rules_exception “Unknown time-zone ID: Browser” on Kibana #15

Open
GezimSejdiu opened this issue Apr 23, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@GezimSejdiu
Copy link

Hi team,

we did experience a strange behavior of Kibana when upgrading it to the latest version of ODFE 1.13.2.
Describe the bug

Zone_rules_exception “Unknown time-zone ID: Browser”

This doesn't happen when using Browser as a default time zone but rather when changing it to e.g. "UTC" and upgrading the ODFE version. It may be related to the cache and it gets resolved by doing "force refresh" e.g. on Chome via Ctrl + R. I just wanted to report it in case the ODFE team wants to debug a bit further on the issue.

Here is the error user gets on Kibana:

zone_rules_exception
Unknown time-zone ID: Browser
Error: Bad Request
    at Fetch._callee3$ (https://<host>/36136/bundles/core/core.entry.js:6:59535)
    at tryCatch (https://<host>/36136/bundles/plugin/opendistroQueryWorkbenchKibana/opendistroQueryWorkbenchKibana.plugin.js:1:32004)
    at Generator.invoke [as _invoke] (https://<host>/36136/bundles/plugin/opendistroQueryWorkbenchKibana/opendistroQueryWorkbenchKibana.plugin.js:1:35968)
    at Generator.forEach.prototype.<computed> [as next] (https://<host>/36136/bundles/plugin/opendistroQueryWorkbenchKibana/opendistroQueryWorkbenchKibana.plugin.js:1:33129)
    at fetch_asyncGeneratorStep (https://<host>/36136/bundles/core/core.entry.js:6:52652)
    at _next (https://<host>/36136/bundles/core/core.entry.js:6:52968)

and it seems to be coming mostly from opendistroQueryWorkbenchKibana.

To Reproduce

  • Install the previous version of ODFE using Debian Package.
  • Set time-zone to UTC on Stack Managment --> Advanced Settings -- Kibana
  • Upgrade it to the latest via Rolling Upgrade.
  • Upgrade Kibana as well :
    sudo apt install -y opendistroforelasticsearch-kibana
    sudo /bin/systemctl start kibana.service
    

After these steps are done, open Kibana URL, and you will see an Error message (as above) complaining that Zone_rules_exception “Unknown time-zone ID: Browser”

Expected behavior
Should be able to pick up the time-zone setup in Kibana.

Plugins
Default pluginns shiped with ODFE.

Host/Environment (please complete the following information):

  • OS: ubuntu
  • Version 1804-bionic
@GezimSejdiu GezimSejdiu added the bug Something isn't working label Apr 23, 2021
@int-rnd
Copy link

int-rnd commented Jun 8, 2021

This may not be time zone. I had pretty much the same error when doing any search. Just tried messing with the timezone as suggested above. The error persisted. Then I just decided to clear cookies from OpenSearch Dashboards / Kibana. The error went away. I can no longer reproduce it. Running a OpenSearch RC1 in docker with a minimal config.

Error
    at Fetch._callee3$ (https://[hostname]/36385/bundles/core/core.entry.js:6:59575)
    at tryCatch (https://[hostname]/36385/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1:33172)
    at Generator.invoke [as _invoke] (https://[hostname]/36385/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1:37136)
    at Generator.forEach.prototype.<computed> [as next] (https://[hostname]/36385/bundles/plugin/queryWorkbenchDashboards/queryWorkbenchDashboards.plugin.js:1:34297)
    at fetch_asyncGeneratorStep (https://[hostname]/36385/bundles/core/core.entry.js:6:52678)
    at _next (https://[hostname]/36385/bundles/core/core.entry.js:6:52994)

@vzhgit
Copy link

vzhgit commented Dec 1, 2021

Maybe it's nor related but in a browser's console I saw the same error lines.
Firstly we had installed OpenSearch and OpenSearch Dashboard v1.0.0 in a k8s cluster and after a while we upgrade both of them to v 1.1.0.
And since that moment I had the same issue when I tried to open the Discover page in a Chrome browser on my computer with Windows.
Issue was fixed really easy.
On Stack Managment\Advanced Settings page I reset "Timezone for date formatting" setting to default value and saved the page. The Discover page has started opening without errors, so I switched the setting to UTC back without any consciences.

@dai-chen dai-chen transferred this issue from opensearch-project/sql Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: No status
Development

No branches or pull requests

4 participants