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] Download error on windows #575

Closed
rupal-bq opened this issue Dec 12, 2022 · 2 comments
Closed

[BUG] Download error on windows #575

rupal-bq opened this issue Dec 12, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@rupal-bq
Copy link
Contributor

What is the bug?
If server.host is set to 0.0.0.0 in opensearch_dashboards.yml, downloading pdf/png failed with below error.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Go to 'Dashboards'
  2. Click on 'Download PDF/PNG'

What is the expected behavior?
Report should be downloaded.

What is your host/environment?

  • OS: Windows

Do you have any additional context?

log   [02:20:47.260] [error][plugins][reportsDashboards] Error: net::ERR_ADDRESS_INVALID at http://0.0.0.0:5601/app/dashboards?security_tenant=global#/view/722b74f0-b882-11e8-a6d9-e546fe2bba5f?_g=(filters:!(),refreshInterval:(pause:!f,value:900000),time:(from:'2022-12-03T02:20:43.997Z',to:'2022-12-10T02:20:43.997Z'))&_a=(description:'Analyze%20mock%20eCommerce%20orders%20and%20revenue',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),timeRestore:!t,title:'%5BeCommerce%5D%20Revenue%20Dashboard',viewMode:view)
    at navigate (C:\Users\Administrator\opensearch-dashboards-integ-test\opensearch-dashboards-1.3.7\plugins\reportsDashboards\node_modules\puppeteer-core\src\common\FrameManager.ts:218:13)
@rupal-bq rupal-bq added bug Something isn't working untriaged labels Dec 12, 2022
@rupal-bq
Copy link
Contributor Author

Downloading pdf/png worked after adding opensearch_reporting.osd_server.hostname: '127.0.0.1' in opensearch_dashboards.yml

@rupal-bq
Copy link
Contributor Author

This issue is resolved with #577

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
None yet
Development

No branches or pull requests

1 participant