-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Serverless-observability-CDN-QA] Adding elasticsearch documents on Maps keeps loading layers infinitely #179058
Comments
Pinging @elastic/kibana-core (Team:Core) |
This happens with all vector tile resources. As a temporary workaround, you can finish loading the layer and change the Scaling setting to the third option, |
I can't reproduce this issue in a local development environment on @nickpeihl, do you know why the Since this really does not seem related to the CDN change, we may just try to reproduce it in our regular environments @bhavyarm |
Forgive my ignorance, but do the CDN or CSP changes restrict mimetypes in any way? Vector tiles are returned as |
Hey @nickpeihl ! It restricts what "interfaces" can be used to reach certain domains. For example I think this is the issue: https://stackoverflow.com/a/60842121 |
So indirectly this issue is still related to CDN bc the latest test were done against these changes which puts I think we may need something like this: c3b3121 |
## Summary Fix #179058 Update the `transformRequest` function to create URLs that are callable from inside workers that don't share the same domain. Proposal is to to convert absolute path values to absolute URLs, e.g. `/my/path` => `https://my.origin/my/path`. - [x] Blocked by #178669 ## Test locally with CDN Easiest way to test is via the observability project built on this PR (see buildkite output), otherwise: - Build CDN assets (`node ./scripts/build.js --skip-docker-ubi --skip-docker-ubuntu --skip-docker-fips --skip-os-packages`) - Unpack the CDN assets `target/kibana-8.14.0-SNAPSHOT-cdn-assets.tar.gz` and serve them `npx http-server -p 1772 --cors --gzip --brotli`, remember to change the hash dir name to `XXXXXXXXXXXX` - Serve via different domain eg: ``` ## My test 127.0.0.1 my.cdn.test ``` - Configure Kibana to load assets `server.cdn.url: http://my.cdn.test` --------- Co-authored-by: Eyo Okon Eyo <eyo.eyo@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Kibana version: Kibana version: Serverless observability project testing for CDN readiness
Browser version: chrome latest
Describe the bug: I tried to add Kibana_sample_ecommerce documents to flights map. The layer keeps trying to load and there is failed to parse URL from internal/maps/getTile error in browser console.
Steps to reproduce:
cannot_load_layer.mp4
The text was updated successfully, but these errors were encountered: