{"action":"created","issue":{"url":"https://api.github.com/repos/flynn/flynn/issues/615","labels_url":"https://api.github.com/repos/flynn/flynn/issues/615/labels{/name}","comments_url":"https://api.github.com/repos/flynn/flynn/issues/615/comments","events_url":"https://api.github.com/repos/flynn/flynn/issues/615/events","html_url":"https://github.com/flynn/flynn/issues/615","id":52172980,"number":615,"title":"pg_basebackup expects wrong port","user":{"login":"siminm","id":3210918,"avatar_url":"https://avatars.githubusercontent.com/u/3210918?v=3","gravatar_id":"","url":"https://api.github.com/users/siminm","html_url":"https://github.com/siminm","followers_url":"https://api.github.com/users/siminm/followers","following_url":"https://api.github.com/users/siminm/following{/other_user}","gists_url":"https://api.github.com/users/siminm/gists{/gist_id}","starred_url":"https://api.github.com/users/siminm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siminm/subscriptions","organizations_url":"https://api.github.com/users/siminm/orgs","repos_url":"https://api.github.com/users/siminm/repos","events_url":"https://api.github.com/users/siminm/events{/privacy}","received_events_url":"https://api.github.com/users/siminm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flynn/flynn/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-16T21:59:15Z","updated_at":"2015-01-20T15:47:23Z","closed_at":"2014-12-16T23:12:02Z","body":"Running `flynn-host bootstrap` with default json file and a custom `CLUSTER_DOMAIN` I get this:\r\n\r\n```\r\n21:51:17.986412 check online-hosts\r\n21:51:18.032884 require-env require-env\r\n21:51:18.034460 run-app postgres\r\n21:51:19.470678 gen-random controller-key\r\n21:51:19.470880 gen-random controller-key 4cb58a4aa4043715988bef5eea57d3aa\r\n21:51:19.470916 gen-random dashboard-session-secret\r\n21:51:19.470960 gen-random dashboard-session-secret c6727988a01e906d91ad567a4538684b\r\n21:51:19.470969 gen-random dashboard-login-token\r\n21:51:19.471066 gen-random dashboard-login-token 69ddfb3cc48a9c10636866e7bffe04b2\r\n21:51:19.471078 gen-random name-seed\r\n21:51:19.471293 gen-random name-seed 07890b703b8f979a4d02\r\n21:51:19.471469 wait postgres-wait\r\n21:52:19.761871 wait postgres-wait error: bootstrap: timed out waiting for discoverd+http://pg-api/ping, last response \"Get http://pg-api/ping: dial tcp 10.143.186.31:55001: connection refused\"\r\n```\r\nMaybe it's due to this --\r\nRelevant gist: https://gist.github.com/anonymous/71f2b596d31709654833#file-postgres-postgres-69a90516e9ea4a13b3921fd32aa416b0-log \r\n\r\nWhile the ENV port is 55001 pg_basebackup is trying to leverage 55000\r\n"},"comment":{"url":"https://api.github.com/repos/flynn/flynn/issues/comments/70674916","html_url":"https://github.com/flynn/flynn/issues/615#issuecomment-70674916","issue_url":"https://api.github.com/repos/flynn/flynn/issues/615","id":70674916,"user":{"login":"jnettome","id":502637,"avatar_url":"https://avatars.githubusercontent.com/u/502637?v=3","gravatar_id":"","url":"https://api.github.com/users/jnettome","html_url":"https://github.com/jnettome","followers_url":"https://api.github.com/users/jnettome/followers","following_url":"https://api.github.com/users/jnettome/following{/other_user}","gists_url":"https://api.github.com/users/jnettome/gists{/gist_id}","starred_url":"https://api.github.com/users/jnettome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnettome/subscriptions","organizations_url":"https://api.github.com/users/jnettome/orgs","repos_url":"https://api.github.com/users/jnettome/repos","events_url":"https://api.github.com/users/jnettome/events{/privacy}","received_events_url":"https://api.github.com/users/jnettome/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T15:47:23Z","updated_at":"2015-01-20T15:47:23Z","body":"This just happened to me because my ufw wasn't configured correctly."}}