{"action":"created","issue":{"url":"https://api.github.com/repos/prisma/prisma/issues/2481","repository_url":"https://api.github.com/repos/prisma/prisma","labels_url":"https://api.github.com/repos/prisma/prisma/issues/2481/labels{/name}","comments_url":"https://api.github.com/repos/prisma/prisma/issues/2481/comments","events_url":"https://api.github.com/repos/prisma/prisma/issues/2481/events","html_url":"https://github.com/prisma/prisma/issues/2481","id":324834669,"node_id":"MDU6SXNzdWUzMjQ4MzQ2Njk=","number":2481,"title":"Connect to an existing database PostgreSQL","user":{"login":"riccardomerolla","id":2291742,"node_id":"MDQ6VXNlcjIyOTE3NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/2291742?v=4","gravatar_id":"","url":"https://api.github.com/users/riccardomerolla","html_url":"https://github.com/riccardomerolla","followers_url":"https://api.github.com/users/riccardomerolla/followers","following_url":"https://api.github.com/users/riccardomerolla/following{/other_user}","gists_url":"https://api.github.com/users/riccardomerolla/gists{/gist_id}","starred_url":"https://api.github.com/users/riccardomerolla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riccardomerolla/subscriptions","organizations_url":"https://api.github.com/users/riccardomerolla/orgs","repos_url":"https://api.github.com/users/riccardomerolla/repos","events_url":"https://api.github.com/users/riccardomerolla/events{/privacy}","received_events_url":"https://api.github.com/users/riccardomerolla/received_events","type":"User","site_admin":false},"labels":[{"id":927538179,"node_id":"MDU6TGFiZWw5Mjc1MzgxNzk=","url":"https://api.github.com/repos/prisma/prisma/labels/area/introspection","name":"area/introspection","color":"fbca04","default":false},{"id":914001573,"node_id":"MDU6TGFiZWw5MTQwMDE1NzM=","url":"https://api.github.com/repos/prisma/prisma/labels/connectors/postgres","name":"connectors/postgres","color":"e99695","default":false},{"id":824910327,"node_id":"MDU6TGFiZWw4MjQ5MTAzMjc=","url":"https://api.github.com/repos/prisma/prisma/labels/status/needs-info","name":"status/needs-info","color":"a9c1e8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-05-21T08:42:47Z","updated_at":"2018-11-18T15:00:07Z","closed_at":null,"author_association":"NONE","body":"# Bug Report\r\n\r\n? Set up a new Prisma server or deploy to an existing server? Use existing database\r\n? What kind of database do you want to deploy to? PostgreSQL\r\n? Does your database contain existing data? Yes\r\n? Enter database host localhost\r\n? Enter database port 5432\r\n? Enter database user postgres\r\n? Enter database password postgres\r\n? Enter name of existing database six\r\n? Enter name of existing schema public\r\n\r\n\r\nIntrospecting database... !\r\nError: Connection terminated by user\r\n    at Client.end (/usr/local/lib/node_modules/prisma/node_modules/pg/lib/client.js:402:36)\r\n    at Timeout._onTimeout (/usr/local/lib/node_modules/prisma/node_modules/prisma-db-introspection/src/connectors/PostgresConnector.ts:19:19)\r\n    at ontimeout (timers.js:482:11)\r\n    at tryOnTimeout (timers.js:317:5)\r\n    at Timer.listOnTimeout (timers.js:277:5)\r\n  util timed out +0ms\r\nExiting with code: 0\r\n\r\nprisma/1.8.3 (darwin-x64) node-v8.11.1\r\n\r\n**Reproduction**\r\n\r\nI have tried with different existing PostgreSQL databases, local or remote, but I always get this error. \r\n\r\n**Expected behavior?**\r\n"},"comment":{"url":"https://api.github.com/repos/prisma/prisma/issues/comments/439699190","html_url":"https://github.com/prisma/prisma/issues/2481#issuecomment-439699190","issue_url":"https://api.github.com/repos/prisma/prisma/issues/2481","id":439699190,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTY5OTE5MA==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-18T15:00:06Z","updated_at":"2018-11-18T15:00:06Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"}}
{"actor":{"display_login":"stale"}}