Map and proxy


I’m trying to use maps but I can’t load the open street map url.
I am using a proxy and the jar file and here is how I’ve tried to launch metabase :
java –Dhttp.proxyHost=MyUrlProxy -Dhttp.proxyPort=8095 -jar metabase.jar

Thanks in advance

Hi @Livier
You need to set the https proxy:

java –Dhttps.proxyHost=MyUrlProxy -Dhttps.proxyPort=8095 -jar metabase.jar

Thanks for your answer.
now when I try to load/add a map, I get this message :

Unable to parse resource at URL as JSON

Post “Diagnostic Info” from Admin > Troubleshooting.
And then provide more context of what you’re doing to end up with that error - steps-to-reproduce.

Here is the diagnostic info from Admin > Troubleshooting

“browser-info”: {
“language”: “fr”,
“platform”: “Win32”,
“userAgent”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0”,
“vendor”: “”
“system-info”: {
“file.encoding”: “UTF-8”,
“”: “OpenJDK Runtime Environment”,
“java.runtime.version”: “1.8.0_181-b13”,
“java.vendor”: “Oracle Corporation”,
“java.vendor.url”: “”,
“java.version”: “1.8.0_181”,
“”: “OpenJDK 64-Bit Server VM”,
“java.vm.version”: “25.181-b13”,
“”: “Linux”,
“os.version”: “3.10.0-957.el7.x86_64”,
“user.language”: “fr”,
“user.timezone”: “Indian/Reunion”
“metabase-info”: {
“databases”: [
“hosting-env”: “unknown”,
“application-database”: “mysql”,
“application-database-details”: {
“database”: {
“name”: “MariaDB”,
“version”: “10.3.13-MariaDB”
“jdbc-driver”: {
“name”: “MariaDB Connector/J”,
“version”: “2.5.1”
“run-mode”: “prod”,
“version”: {
“tag”: “v0.36.4”,
“date”: “2020-08-17”,
“branch”: “release-0.36.x”,
“hash”: “196c1f6”
“settings”: {
“report-timezone”: “Asia/Baku”

To get this error :

  1. Admin > Maps
  2. Add a map
  3. Custom Maps --> Add a map
  4. URL for the GeoJSON file you want to use :
  5. Load

I’d like to use the map of La Reunion. I may be wrong in the way I try to do it

@Livier But that isn’t a GeoJSON file.
I would recommend that you read this:

I thought that I could use maps on OpenStreetMap to visualize my data.
Could you please tell me how can I get a GeoJSON file to add a custom map ?

@Livier Please read the article. There’s two types of maps - there’s Pin maps, which uses OSM already by default, and Region maps, which uses GeoJSON.

Thank you.