{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/6703","labels_url":"https://api.github.com/repos/piwik/piwik/issues/6703/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/6703/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/6703/events","html_url":"https://github.com/piwik/piwik/issues/6703","id":49569859,"number":6703,"title":"When Real time map is loaded over https, it does not always load the SVG files over ssl","user":{"login":"mtandersson","id":178440,"avatar_url":"https://avatars.githubusercontent.com/u/178440?v=3","gravatar_id":"","url":"https://api.github.com/users/mtandersson","html_url":"https://github.com/mtandersson","followers_url":"https://api.github.com/users/mtandersson/followers","following_url":"https://api.github.com/users/mtandersson/following{/other_user}","gists_url":"https://api.github.com/users/mtandersson/gists{/gist_id}","starred_url":"https://api.github.com/users/mtandersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtandersson/subscriptions","organizations_url":"https://api.github.com/users/mtandersson/orgs","repos_url":"https://api.github.com/users/mtandersson/repos","events_url":"https://api.github.com/users/mtandersson/events{/privacy}","received_events_url":"https://api.github.com/users/mtandersson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/piwik/piwik/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/piwik/piwik/milestones/20","html_url":"https://github.com/piwik/piwik/milestones/Short%20term","labels_url":"https://api.github.com/repos/piwik/piwik/milestones/20/labels","id":713698,"number":20,"title":"Short term","description":"You may expect these tickets to be worked on in the next 6-12 months.\r\n\r\nOur [roadmap](http://piwik.org/roadmap/) for Piwik project is public. \r\n\r\nMost important tickets are moved from here to the next version's milestone. \r\n","creator":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"open_issues":116,"closed_issues":193,"state":"open","created_at":"2014-06-01T00:00:00Z","updated_at":"2015-08-10T00:06:18Z","due_on":"2016-04-30T12:00:00Z","closed_at":null},"comments":6,"created_at":"2014-11-20T15:45:41Z","updated_at":"2015-08-12T08:43:15Z","closed_at":null,"body":"When piwik is running behind a proxy that terminates ssl (in my case cloudfront (terminates ssl) -> elb -> instance ). I will get the following error trying to load the real time map:\r\n\r\n```\r\n[blocked] The page at 'https://<removed>/piwik/index.php?module=CoreHome&action=index&i…serCountryMap&action=realtimeWorldMap&idSite=1&period=range&date=previous7' was loaded over HTTPS, but ran insecure content from 'http://<removed>/piwik/plugins/UserCountryMap/svg/world.svg': this content should also be loaded over HTTPS.\r\n index.php?module=CoreHome&action=index&idSite=1&period=range&date=previous7:1\r\n```\r\n\r\nIt works if i run the following setup \r\n\r\ncloudfront (terminates ssl) -> instance\r\n\r\nSo I am guessing that it is the extra layer of proxy/lb that triggers the error. I am using 2.9."},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/130219603","html_url":"https://github.com/piwik/piwik/issues/6703#issuecomment-130219603","issue_url":"https://api.github.com/repos/piwik/piwik/issues/6703","id":130219603,"user":{"login":"tsteur","id":273120,"avatar_url":"https://avatars.githubusercontent.com/u/273120?v=3","gravatar_id":"","url":"https://api.github.com/users/tsteur","html_url":"https://github.com/tsteur","followers_url":"https://api.github.com/users/tsteur/followers","following_url":"https://api.github.com/users/tsteur/following{/other_user}","gists_url":"https://api.github.com/users/tsteur/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteur/subscriptions","organizations_url":"https://api.github.com/users/tsteur/orgs","repos_url":"https://api.github.com/users/tsteur/repos","events_url":"https://api.github.com/users/tsteur/events{/privacy}","received_events_url":"https://api.github.com/users/tsteur/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T08:43:15Z","updated_at":"2015-08-12T08:43:15Z","body":"@mtandersson can you let us know the content of PHP `$_SERVER`? We kinda need it in order to fix this issue.\r\n\r\nTo get it, can you create a file like `test.php` in your Piwik directory and paste\r\n\r\n```\r\n<?php\r\n\r\nvar_export($_SERVER);\r\n```\r\n\r\nafterwards you can open this file by opening the URL `https://yourdomain/test.php` in the browser. Please remove this file afterwards again"}}