generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What is the bug?
This command to download a report as a CSV fails after about a minute despite the timeout being set to 5 minutes. Subsequent attempts from the UI fail immediately with Download error: There was an error generating this report.
$ npx -y @opensearch-project/reporting-cli --url "https://opensearch.vpn.address.com/_dashboards/goto/4b051e8780007aff9e295ca8dbce8c79?security_tenant=global" --auth basic --credentials "username:password" --format csv --timeout 300000
✔ Fetched argument values
⠋ Connecting to url https://opensearch.vpn.address.com/_dashboards/goto/4b051e8780007aff9e295ca8dbce8c79?security_tenant=global(node:2624) NOTE: The AWS SDK for JavaScript (v2) is in maintenance mode.
SDK releases are limited to address critical bug fixes and security issues only.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the blog post at https://a.co/cUPnyil
ℹ Credentials are verified
ℹ Connected to url https://opensearch.vpn.address.com/_dashboards/goto/4b051e8780007aff9e295ca8dbce8c79?security_tenant=global
✖ Downloading report failed. TypeError: Cannot read properties of undefined (reading 'toString')
How can one reproduce the bug?
It's a self-hosted instance behind a VPN. What can I do to debug this?
What is the expected behavior?
It downloads the report as a CSV.
What is your host/environment?
OpenSearch v2.5.0
Do you have any screenshots?
Do you have any additional context?
I have another command with a different search that works just fine:
$ npx -y @opensearch-project/reporting-cli --url "https://opensearch.vpn.address.com/_dashboards/goto/7f6a07733e45b3c7b784900d9849f712?security_tenant=global" --auth basic --credentials "username:password" --format csv --timeout 300000
✔ Fetched argument values
⠋ Connecting to url https://opensearch.vpn.address.com/_dashboards/goto/7f6a07733e45b3c7b784900d9849f712?security_tenant=global(node:24436) NOTE: The AWS SDK for JavaScript (v2) is in maintenance mode.
SDK releases are limited to address critical bug fixes and security issues only.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
ℹ Credentials are verified
ℹ Connected to url https://opensearch.vpn.address.com/_dashboards/goto/7f6a07733e45b3c7b784900d9849f712?security_tenant=global
✔ The report is downloaded
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
