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

World map is no longer displayed properly #218

Closed
bontchev opened this issue Sep 8, 2019 · 2 comments
Closed

World map is no longer displayed properly #218

bontchev opened this issue Sep 8, 2019 · 2 comments

Comments

@bontchev
Copy link

bontchev commented Sep 8, 2019

My version of Grafana recently updated to 6.3.5 (67bad72) and all sorts of problems started to appear. It is very incompatible with Internet Explorer (time range selector doesn't work, the list of installed plug-ins is not scrollable). One of the plug-ins (Pie Chart) stopped working completely and was showing some garbage. I noticed that there were newer versions of several of the plug-ins I was using, so I made the bad mistake of updating them all (instead of just the one that wasn't working). The World Map plug-in was one of them.

As a result, the Pie Chart now works correctly, but the World Map looks like garbage - the panes of the map are shifted around and no data is displayed on them:

Clipboard01

It looks like this both in Firefox and in Chrome, so I guess it isn't a browser issue; it's something related either to the new Grafana or to the plug-in itself.

Is there an easy way to fix the problem or, if not, how can I install an older version of the plug-in (which used to work just fine)?

@bontchev
Copy link
Author

Ah, folks? Any feedback? Is the problem in Grafana? Is the problem in the WorldMap plug-in? How to switch to a working version? The issue is kinda urgent for is, it basically breaks an important dashboard...

@bontchev
Copy link
Author

OK, apparently the problem was in the site's content security policy. The style-src element of it only allowed 'self' 'unsafe-inline' but the plug-in also requires blob:. Adding it made the map work again.

Closing the issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant