{"action":"created","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/1168","labels_url":"https://api.github.com/repos/docker/distribution/issues/1168/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/1168/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/1168/events","html_url":"https://github.com/docker/distribution/issues/1168","id":115939089,"number":1168,"title":"Crash when starting without an auth handler","user":{"login":"ferrix","id":34988,"avatar_url":"https://avatars.githubusercontent.com/u/34988?v=3","gravatar_id":"","url":"https://api.github.com/users/ferrix","html_url":"https://github.com/ferrix","followers_url":"https://api.github.com/users/ferrix/followers","following_url":"https://api.github.com/users/ferrix/following{/other_user}","gists_url":"https://api.github.com/users/ferrix/gists{/gist_id}","starred_url":"https://api.github.com/users/ferrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferrix/subscriptions","organizations_url":"https://api.github.com/users/ferrix/orgs","repos_url":"https://api.github.com/users/ferrix/repos","events_url":"https://api.github.com/users/ferrix/events{/privacy}","received_events_url":"https://api.github.com/users/ferrix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-09T18:45:00Z","updated_at":"2015-11-09T20:22:53Z","closed_at":null,"body":"I am running registry:2 (docker image ddfb3bf27ae2) behind an authorizing proxy. Most of my configuration:\r\n\r\n    version: 0.1\r\n    log:\r\n      level: warn\r\n      formatter: text\r\n      fields:\r\n        service: registry\r\n        environment: garden\r\n      hooks:\r\n        - type: mail\r\n          levels:\r\n          - panic\r\n          options:\r\n             smtp:\r\n              addr: something\r\n              username: foo\r\n              password: bar\r\n            from: docker@yes.no\r\n        to:\r\n          - people@else.where\r\n    storage:\r\n       s3:\r\n    http:\r\n      addr: :5000\r\n\r\nThis results in a whine about realm not being set for htpasswd auth. When I enable silly auth with realm and service, I get a nag about path not being set: \r\n\r\n    auth:\r\n      silly:\r\n        realm: silly-realm\r\n        service: silly-service\r\n\r\nThen when I set the path, I get a nag that service is not set for silly:\r\n\r\n    auth:\r\n      silly:\r\n        realm: silly-realm\r\n        service: silly-service\r\n        path: '/this/is/not/happening'\r\n\r\nAnd finally this works:\r\n\r\n    auth:\r\n      silly:\r\n        realm: silly-realm\r\n        path: '/this/is/not/happening'\r\n        service: silly-service\r\n\r\nHowever then I need to send bogus silly `Authorization` headers. The same configuration worked last week."},"comment":{"url":"https://api.github.com/repos/docker/distribution/issues/comments/155181922","html_url":"https://github.com/docker/distribution/issues/1168#issuecomment-155181922","issue_url":"https://api.github.com/repos/docker/distribution/issues/1168","id":155181922,"user":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T20:22:53Z","updated_at":"2015-11-09T20:22:53Z","body":"@ferrix What error message are you getting which specific configuration?\r\n\r\nIn general, `silly` auth is useful for nothing but testing. Is there something you're trying to test? "}}