{"action":"created","issue":{"url":"https://api.github.com/repos/pramsey/pgsql-http/issues/23","repository_url":"https://api.github.com/repos/pramsey/pgsql-http","labels_url":"https://api.github.com/repos/pramsey/pgsql-http/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/pramsey/pgsql-http/issues/23/comments","events_url":"https://api.github.com/repos/pramsey/pgsql-http/issues/23/events","html_url":"https://github.com/pramsey/pgsql-http/issues/23","id":144193282,"number":23,"title":"ERROR:  Operation timed out after 0 milliseconds with 0 out of 0 bytes received WHEN doing post request","user":{"login":"mamayoleksandr","id":930971,"avatar_url":"https://avatars.githubusercontent.com/u/930971?v=3","gravatar_id":"","url":"https://api.github.com/users/mamayoleksandr","html_url":"https://github.com/mamayoleksandr","followers_url":"https://api.github.com/users/mamayoleksandr/followers","following_url":"https://api.github.com/users/mamayoleksandr/following{/other_user}","gists_url":"https://api.github.com/users/mamayoleksandr/gists{/gist_id}","starred_url":"https://api.github.com/users/mamayoleksandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamayoleksandr/subscriptions","organizations_url":"https://api.github.com/users/mamayoleksandr/orgs","repos_url":"https://api.github.com/users/mamayoleksandr/repos","events_url":"https://api.github.com/users/mamayoleksandr/events{/privacy}","received_events_url":"https://api.github.com/users/mamayoleksandr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-29T08:28:41Z","updated_at":"2016-05-02T19:21:15Z","closed_at":null,"body":"am trying to post request like following:\r\n\r\n```\r\nSELECT status, \"content\" INTO v_response_code, v_response_content\r\n      FROM http_post(v_redmine_url||'/issues.json'||urlencode('?key='||v_redmine_api_key),\r\n                     format('{\"issue\": {\"project_id\": %s, \"subject\": \"%s\", \"status_id\": %s, \"description\": %s, \"tracker_id\": }}', v_redmine_project, NEW.id, v_new_status_id, v_subject||' '||v_description, v_crossings_tracker_id),\r\n                     'application/json');\r\n```\r\n\r\nand getting error:\r\n_ERROR:  Operation timed out after 0 milliseconds with 0 out of 0 bytes received\r\nCONTEXT:  SQL statement \"SELECT status, \"content\"                                                FROM http_post(v_redmine_url||'/issues.json'||urlencode('?key='||v_redmine_api_key),\r\n                     format('{\"issue\": {\"project_id\": %s, \"subject\": \"%s\", \"status_id\": %s, \"description\": %s, \"tracker_id\": }}', v_redmine_project, NEW.id, v_new_status_id, v_subject||' '||v_description, v_crossings_tracker_id),\r\n                     'application/json')\"_"},"comment":{"url":"https://api.github.com/repos/pramsey/pgsql-http/issues/comments/216334879","html_url":"https://github.com/pramsey/pgsql-http/issues/23#issuecomment-216334879","issue_url":"https://api.github.com/repos/pramsey/pgsql-http/issues/23","id":216334879,"user":{"login":"pramsey","id":113883,"avatar_url":"https://avatars.githubusercontent.com/u/113883?v=3","gravatar_id":"","url":"https://api.github.com/users/pramsey","html_url":"https://github.com/pramsey","followers_url":"https://api.github.com/users/pramsey/followers","following_url":"https://api.github.com/users/pramsey/following{/other_user}","gists_url":"https://api.github.com/users/pramsey/gists{/gist_id}","starred_url":"https://api.github.com/users/pramsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pramsey/subscriptions","organizations_url":"https://api.github.com/users/pramsey/orgs","repos_url":"https://api.github.com/users/pramsey/repos","events_url":"https://api.github.com/users/pramsey/events{/privacy}","received_events_url":"https://api.github.com/users/pramsey/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T19:21:15Z","updated_at":"2016-05-02T19:21:15Z","body":"I would expect it to work transparently as long as Curl has SSL compiled. Try hitting a known working SSL URL and see."}}