-
Notifications
You must be signed in to change notification settings - Fork 39
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
Unable to create report definition when using IPv6 network #490
Comments
[Catch All Triage - 1, 2] |
Catch All Triage - 1, 2, 3 |
I am actually looking to provide a fix for this issue. I think I have found the area that needs to be fixed, but I am having a hard time testing this as it does not seem like the Reporting plugin can generate defintions when I run things locally in a "development" environment. I have a local Opensearch cluster running with the Reporting plugin added to Dashboards and when I attempt to create a new report definition, I consistently get an error stating that the URI that the request is trying to reach is not available "“no handler found for uri [/_plugins/_reports/defintions”. Unfortunately I dont have the full error as I can no longer get my Dashboard instance to run as it instantly says "OpenSearch Dashboards did not load properly. Check the server output for more information." And there is nothing in the server logs. This error is also happening even when I define server.host as "0.0.0.0", which I know works in production environment. Are there addtional plugins/APIs I need to have present? I assume this error means whatever is responsible for handling the request just simply isnt there. Any guideance would be great. |
@jpelletier412 you need the reporting backend plugin https://github.com/opensearch-project/reporting. Also, please feel free to raise PR, even a draft works in things are WIP. |
What is the bug?
Error is thrown when attempting to create report definition in Opensearch-Dashboards GUI when on IPv6 network. We see this in the logs:
I am not sure what this error is refering to as when I investigate the request in the browser, I dont see an "report_params.core_params.origin" field
The response in the logs seems to have correct formatted IPv6 addresses:
Generating report definition works fine in IPv4 network and defining server.host in opensearch-dashboards.yml as "0.0.0.0".
How can one reproduce the bug?
What is the expected behavior?
No error is occurrs when attempting to create a report definition when server.host is defined as "::"
What is your host/environment?
Opensearch and Dashboards v2.14.0
Running using Docker images in Kuberntes environment
Environment is running on IPv6 network
opensearch-dashbaords.yml:
The text was updated successfully, but these errors were encountered: