{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/2236","labels_url":"https://api.github.com/repos/openshift/origin/issues/2236/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/2236/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/2236/events","html_url":"https://github.com/openshift/origin/issues/2236","id":76294948,"number":2236,"title":"Can't stream build logs back","user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars.githubusercontent.com/u/3900799?v=3","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/component/build","name":"component/build","color":"0052cc"},{"url":"https://api.github.com/repos/openshift/origin/labels/component/logging","name":"component/logging","color":"0052cc"},{"url":"https://api.github.com/repos/openshift/origin/labels/kind/bug","name":"kind/bug","color":"fc2929"},{"url":"https://api.github.com/repos/openshift/origin/labels/priority/P0","name":"priority/P0","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"csrwng","id":5834976,"avatar_url":"https://avatars.githubusercontent.com/u/5834976?v=3","gravatar_id":"","url":"https://api.github.com/users/csrwng","html_url":"https://github.com/csrwng","followers_url":"https://api.github.com/users/csrwng/followers","following_url":"https://api.github.com/users/csrwng/following{/other_user}","gists_url":"https://api.github.com/users/csrwng/gists{/gist_id}","starred_url":"https://api.github.com/users/csrwng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csrwng/subscriptions","organizations_url":"https://api.github.com/users/csrwng/orgs","repos_url":"https://api.github.com/users/csrwng/repos","events_url":"https://api.github.com/users/csrwng/events{/privacy}","received_events_url":"https://api.github.com/users/csrwng/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-05-14T09:18:38Z","updated_at":"2015-05-21T10:52:50Z","closed_at":"2015-05-18T13:19:44Z","body":"Both `start build --follow` and `build-logs` will just exit and I 'll get the following error on the server:\r\n```\r\n2015/05/14 09:15:48 http: WriteHeader called with both Transfer-Encoding of \"chunked\" and a Content-Length of 0\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/104224820","html_url":"https://github.com/openshift/origin/issues/2236#issuecomment-104224820","issue_url":"https://api.github.com/repos/openshift/origin/issues/2236","id":104224820,"user":{"login":"wzheng1","id":6478799,"avatar_url":"https://avatars.githubusercontent.com/u/6478799?v=3","gravatar_id":"","url":"https://api.github.com/users/wzheng1","html_url":"https://github.com/wzheng1","followers_url":"https://api.github.com/users/wzheng1/followers","following_url":"https://api.github.com/users/wzheng1/following{/other_user}","gists_url":"https://api.github.com/users/wzheng1/gists{/gist_id}","starred_url":"https://api.github.com/users/wzheng1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzheng1/subscriptions","organizations_url":"https://api.github.com/users/wzheng1/orgs","repos_url":"https://api.github.com/users/wzheng1/repos","events_url":"https://api.github.com/users/wzheng1/events{/privacy}","received_events_url":"https://api.github.com/users/wzheng1/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T10:52:50Z","updated_at":"2015-05-21T10:52:50Z","body":"@csrwng I tried to curl container log by following  \"curl --cacert ${CERT_DIR}/ca.crt --cert ${CERT_DIR}/master.kubelet-client.crt --key ${CERT_DIR}/master.kubelet-client.key https://openshiftdev.local:10250/containerLogs/[namespace]/[podName]/[containerName]\", and it returns \"curl: (58) unable to load client key: -8178 (SEC_ERROR_BAD_KEY)\". Could you please help on how to get the container log via RESTAPI? Thanks in advance!"}}