{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-studio/issues/1238","labels_url":"https://api.github.com/repos/mapbox/mapbox-studio/issues/1238/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-studio/issues/1238/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-studio/issues/1238/events","html_url":"https://github.com/mapbox/mapbox-studio/issues/1238","id":60033477,"number":1238,"title":"Windows + PostGIS: Bad connection","user":{"login":"leffjesh","id":3837528,"avatar_url":"https://avatars.githubusercontent.com/u/3837528?v=3","gravatar_id":"","url":"https://api.github.com/users/leffjesh","html_url":"https://github.com/leffjesh","followers_url":"https://api.github.com/users/leffjesh/followers","following_url":"https://api.github.com/users/leffjesh/following{/other_user}","gists_url":"https://api.github.com/users/leffjesh/gists{/gist_id}","starred_url":"https://api.github.com/users/leffjesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leffjesh/subscriptions","organizations_url":"https://api.github.com/users/leffjesh/orgs","repos_url":"https://api.github.com/users/leffjesh/repos","events_url":"https://api.github.com/users/leffjesh/events{/privacy}","received_events_url":"https://api.github.com/users/leffjesh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-05T23:22:09Z","updated_at":"2015-03-06T22:03:52Z","closed_at":"2015-03-06T22:03:52Z","body":"I'm having trouble adding PostGIS data to MapBox Studio 2.5 on Windows 7.   I'm using all the same settings from my TileMill project which was working fine.  See attached image.  Error message is \r\n\r\n\"Postgis Plugin: Bad connection\r\nConnection string: 'host=localhost port=5432 dbname=postgis20 user=postgres connect_timeout=4'\".  \r\nAs you can see in the image I can connect just fine to the postgis database from the command line.\r\n\r\n![bug](https://cloud.githubusercontent.com/assets/3837528/6516877/9a9c12c2-c34a-11e4-8e6c-4cc6142dd0ce.png)\r\n\r\nI have added you lib.sql functionality to my PostGIS database already.  My app.log has the following relevant message:\r\n\r\n<Thu, 05 Mar 2015 23:15:05 GMT> error 500 { [Error: Postgis Plugin: Bad connection\r\nConnection string: 'host=localhost port=5432 dbname=postgis20 user=postgres connect_timeout=4'\r\n]\r\n  method: 'PUT',\r\n  url: '/source.json?id=tmsource://c:/MapBox_Studio/WeedWise_Sites/WW_Sites.tm2source&refresh=1' }\r\n\r\n"}}