You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
{
"type":"log",
"@timestamp":"2024-10-01T10:33:12Z",
"tags":[
"error",
"plugins",
"reportsDashboards"
],
"pid":1,
"message":"Failed input validation for create report definition ValidationError: [report_params.core_params.origin]: value must be a valid URI (see RFC 3986)."
}
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
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?
Define server.host in opensearch-dashboards.yaml as "::"
In Dashboards GUI, navigate to Plugins > Reporting
Attempt to create a report defintion. Any settings will generate the error
Notice error is raised and defintion is not created
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:
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.
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: