{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/8361","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/8361/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/8361/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/8361/events","html_url":"https://github.com/openshift/origin/issues/8361","id":146052000,"number":8361,"title":"Insecure/default non-tls docker registry results in oversized TLS record","user":{"login":"paralin","id":534887,"avatar_url":"https://avatars.githubusercontent.com/u/534887?v=3","gravatar_id":"","url":"https://api.github.com/users/paralin","html_url":"https://github.com/paralin","followers_url":"https://api.github.com/users/paralin/followers","following_url":"https://api.github.com/users/paralin/following{/other_user}","gists_url":"https://api.github.com/users/paralin/gists{/gist_id}","starred_url":"https://api.github.com/users/paralin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paralin/subscriptions","organizations_url":"https://api.github.com/users/paralin/orgs","repos_url":"https://api.github.com/users/paralin/repos","events_url":"https://api.github.com/users/paralin/events{/privacy}","received_events_url":"https://api.github.com/users/paralin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-05T17:12:22Z","updated_at":"2016-04-05T17:39:01Z","closed_at":null,"body":"With the default documentation for deploying a registry, a non-tls registry is deployed.\r\n\r\nThis results in:\r\n\r\n```\r\nI0405 17:06:16.662680       1 docker.go:118] Pushing image 10.0.68.200:5000/dev-1/api-gateway:latest ...\r\nE0405 17:06:16.669145       1 dockerutil.go:85] push for image 10.0.68.200:5000/dev-1/api-gateway:latest failed, will retry in 5s ...\r\nE0405 17:06:21.676013       1 dockerutil.go:85] push for image 10.0.68.200:5000/dev-1/api-gateway:latest failed, will retry in 5s ...\r\nE0405 17:06:26.683121       1 dockerutil.go:85] push for image 10.0.68.200:5000/dev-1/api-gateway:latest failed, will retry in 5s ...\r\nE0405 17:06:31.690050       1 dockerutil.go:85] push for image 10.0.68.200:5000/dev-1/api-gateway:latest failed, will retry in 5s ...\r\nE0405 17:06:36.697222       1 dockerutil.go:85] push for image 10.0.68.200:5000/dev-1/api-gateway:latest failed, will retry in 5s ...\r\nE0405 17:06:41.704412       1 dockerutil.go:85] push for image 10.0.68.200:5000/dev-1/api-gateway:latest failed, will retry in 5s ...\r\nE0405 17:06:46.711562       1 dockerutil.go:85] push for image 10.0.68.200:5000/dev-1/api-gateway:latest failed, will retry in 5s ...\r\nF0405 17:06:51.711774       1 builder.go:204] Error: build error: Failed to push image: unable to ping registry endpoint https://10.0.68.200:5000/v0/\r\nv2 ping attempt failed with error: Get https://10.0.68.200:5000/v2/: tls: oversized record received with length 20527\r\n v1 ping attempt failed with error: Get https://10.0.68.200:5000/v1/_ping: tls: oversized record received with length 20527\r\n```\r\n\r\nIt's attempting to use https for the registry when the registry is configured without https. Is there a way to force the builder to use http rather than https?"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/205913084","html_url":"https://github.com/openshift/origin/issues/8361#issuecomment-205913084","issue_url":"https://api.github.com/repos/openshift/origin/issues/8361","id":205913084,"user":{"login":"paralin","id":534887,"avatar_url":"https://avatars.githubusercontent.com/u/534887?v=3","gravatar_id":"","url":"https://api.github.com/users/paralin","html_url":"https://github.com/paralin","followers_url":"https://api.github.com/users/paralin/followers","following_url":"https://api.github.com/users/paralin/following{/other_user}","gists_url":"https://api.github.com/users/paralin/gists{/gist_id}","starred_url":"https://api.github.com/users/paralin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paralin/subscriptions","organizations_url":"https://api.github.com/users/paralin/orgs","repos_url":"https://api.github.com/users/paralin/repos","events_url":"https://api.github.com/users/paralin/events{/privacy}","received_events_url":"https://api.github.com/users/paralin/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T17:39:00Z","updated_at":"2016-04-05T17:39:00Z","body":"Odd, I have insecure enabled and somehow that never got persisted into my docker options..."}}