Skip to content
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

Tilemap manifest loading in 5.2 blocks loading of Kibana for up to 60s when behind a firewall #10205

Closed
magicmicah opened this issue Feb 6, 2017 · 6 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Coordinate Map Feature:Visualizations Generic visualization features (in case no more specific feature label is available) PR sent v5.4.0 WIP Work in progress

Comments

@magicmicah
Copy link

magicmicah commented Feb 6, 2017

Upon initial loading of Kibana, the page takes approximately one minute to load. Using dev tools, the page hangs due to trying to load this URL:

https://tiles.elastic.co/v2/manifest?my_app_version=5.2.0

We are in a firewalled environment and have no need for tilemaps service. I checked to see if there is a way to disable tilemaps but do not see one. As a workaround we modified this JS script and the initial page loads much quicker:

Modified this file: /usr/share/kibana/src/server/config/schema.js

Changed to below:
manifestServiceUrl: _joi2['default'].string()['default']('http://localhost/'),
From this:
manifestServiceUrl: _joi2['default'].string()['default']('https://tiles.elastic.co/v2/manifest'),
Apologies if there is an answer or it's listed in the documentation but I did not see it unfortunately. Thank you in advance.

@epixa
Copy link
Contributor

epixa commented Feb 6, 2017

@thomasneirynck I thought we were only requesting the manifest when a tilemap is on the screen?

@thomasneirynck
Copy link
Contributor

@epixa, you are correct. That should be the behavior but it isn't.

@magruder85 this is a bug and we need to resolve this. When you are not using the tilemap visualization, Kibana should not phone home to the server. Please stay tuned, I'll update you when a fix is in place.

@thomasneirynck thomasneirynck added Feature:Coordinate Map Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience P1 WIP Work in progress v5.2.1 v5.2.0 labels Feb 6, 2017
@thomasneirynck thomasneirynck self-assigned this Feb 6, 2017
@magicmicah
Copy link
Author

I will stay tuned. :) Thank you.

@epixa
Copy link
Contributor

epixa commented Feb 7, 2017

@magruder85 As an immediate workaround, if you configure any third party tile service, we won't attempt to load the manifest.

@thomasneirynck
Copy link
Contributor

thanks @epixa.

@magruder85: @epixa refers to the tilemap.url parameter in config/kibana.yml. Set it to a 3rd party service. For example:
tilemap.url: http://example.com/service/{z}/{y}/{x}.png

@epixa epixa changed the title Is there a way to disable tilemaps? Tilemap manifest loading in 5.2 blocks loading of Kibana for up to 60s when behind a firewall Feb 7, 2017
@thomasneirynck thomasneirynck mentioned this issue Feb 27, 2017
14 tasks
@thomasneirynck
Copy link
Contributor

Note that when plugging in your own tile-service (as suggested here #10205 (comment) by @landong1973 ), be sure its use is approved by the TMS-provider. (we learned this the hard way when MapQuest shut down its tile-service).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Coordinate Map Feature:Visualizations Generic visualization features (in case no more specific feature label is available) PR sent v5.4.0 WIP Work in progress
Projects
None yet
Development

No branches or pull requests

4 participants