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
After upgrading from 1.11.1 to 1.14.0, our pipeline encountered an error when attempting to push synthetics to our self-hosted Elastic cluster.
Here is the CLI command used:
npx @elastic/synthetics push --auth [REDACTED] --url https://kibana.our.happy.little.cluster/ --pattern ".titansandbox." --id observability-titan-sandbox --yes
Here is the error I encountered: TypeError: Cannot read properties of undefined (reading 'length') at validateSettings (C:\Git\observability-synthetics\node_modules\@elastic\synthetics\src\push\index.ts:230:20) at validatePush (C:\Git\observability-synthetics\node_modules\@elastic\synthetics\src\push\index.ts:205:3) at Command.<anonymous> (C:\Git\observability-synthetics\node_modules\@elastic\synthetics\src\cli.ts:216:25) at processTicksAndRejections (node:internal/process/task_queues:95:5)
Additional info:
For the 'locations' property, it is enforcing ("japan" | "india" | "singapore" | "australia_east" | "united_kingdom" | "germany" | "canada_east" | "brazil" | "us_east" | "us_west")[] | undefined, however, our locations names are customized and do not match with this enforcement.
I'll try downgrading to v1.12.1 as a workaround.
Please let me know if you need any additional information.
Thank you!
The text was updated successfully, but these errors were encountered:
Thanks for the quick response, @vigneshshanmugam. We're running on Private Locations. Please let me know if you still need me to share the synthetics.config.ts file.
Hello,
After upgrading from 1.11.1 to 1.14.0, our pipeline encountered an error when attempting to push synthetics to our self-hosted Elastic cluster.
Here is the CLI command used:
npx @elastic/synthetics push --auth [REDACTED] --url https://kibana.our.happy.little.cluster/ --pattern ".titansandbox." --id observability-titan-sandbox --yes
Here is the error I encountered:
TypeError: Cannot read properties of undefined (reading 'length') at validateSettings (C:\Git\observability-synthetics\node_modules\@elastic\synthetics\src\push\index.ts:230:20) at validatePush (C:\Git\observability-synthetics\node_modules\@elastic\synthetics\src\push\index.ts:205:3) at Command.<anonymous> (C:\Git\observability-synthetics\node_modules\@elastic\synthetics\src\cli.ts:216:25) at processTicksAndRejections (node:internal/process/task_queues:95:5)
Here is the suspected breaking change (v1.13.0):
cce2844#diff-b688b09742f54428b94db9d34df92d1190d19c7c153b44c70bcdde60e2a1f1fbR230
src/push/index.ts line 230
Additional info:
For the 'locations' property, it is enforcing ("japan" | "india" | "singapore" | "australia_east" | "united_kingdom" | "germany" | "canada_east" | "brazil" | "us_east" | "us_west")[] | undefined, however, our locations names are customized and do not match with this enforcement.
I'll try downgrading to v1.12.1 as a workaround.
Please let me know if you need any additional information.
Thank you!
The text was updated successfully, but these errors were encountered: