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:
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: