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

[Reporting CSV Export] Add details to workarounds for "token expired" issue #200653

Open
tsullivan opened this issue Nov 18, 2024 · 1 comment
Open
Assignees
Labels
docs Feature:Reporting:Framework Reporting issues pertaining to the overall framework Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)

Comments

@tsullivan
Copy link
Member

A relatively common type of error seen for Reporting is: security_exception Root causes: security_exception: token expired.
These happen in deployments that use token-based authentication (SAML tokens) when creating the CSV report takes longer than time allows with the authentication that is cached in report job details.

The thing to note about this type of error is that the deployment is stable, it's just the size of a requested report is too large to complete within the time allowed by the authentication token available to the Reporting task.

Workarounds

  • Users can work around this error by creating smaller reports: instead of one report covering a large time range, they could create multiple reports that cover segmented time ranges.
  • Another workaround would be to increase xpack.security.authc.token.timeout, which is set to 20m by default.

Action item
This issue is to add the above workaround advice for workaround in the user-facing documentation here: https://www.elastic.co/guide/en/kibana/current/reporting-troubleshooting-csv.html#reporting-troubleshooting-csv-token-expired

Related issue: https://github.com/elastic/kibana-team/issues/1331

@tsullivan tsullivan added the Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) label Nov 18, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@Dosant Dosant added the Feature:Reporting:Framework Reporting issues pertaining to the overall framework label Nov 25, 2024
@Dosant Dosant added the docs label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Feature:Reporting:Framework Reporting issues pertaining to the overall framework Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
Development

No branches or pull requests

3 participants