I’m new on metabase and I’m trying to add brazilian map on Settings -> Admin -> Maps -> using the geoJSON link https://github.com/codeforamerica/click_that_hood/blob/master/public/data/brazil-states.geojson, but when I click the button “add map” it returns the error message Connexion refused by the host for URL https://github.com/codeforamerica/click_that_hood/blob/master/public/data/brazil-states.geojson.
Post “Diagnostic Info” from Admin > Troubleshooting.
And check the log for more details on error - Admin > Troubleshooting > Logs.
The error seems to indicate that Metabase cannot connect to the website, which could mean that you have a firewall blocking somewhere.
That link is not a GeoJSON file - that’s a website. The link to the GeoJSON file is: https://raw.githubusercontent.com/codeforamerica/click_that_hood/master/public/data/brazil-states.geojson
Thanks flamber!
My firewall is blocking the link, so I cloned the geoJSON file to gitlab of my intranet and now I catch another error message: "Could not parse resource at URL"
Looking on the log I get the message:
:cause "Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: (BufferedReader); line: 1, column: 2]",
:message "Não foi possível parsear recurso na URL [internal address]/geodata-br/blob/master/geojson/geojs-100-mun.jsoncomo ]([internal address]/geodata-br/blob/master/geojson/geojs-100-mun.json%60como) JSON",
Hi @flamber, I'm using that, but got the same error message:
Where you read "Não foi possível parsear recurso na URL" = "Could not parser resource at URL"