{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/Portus/issues/503","labels_url":"https://api.github.com/repos/SUSE/Portus/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/Portus/issues/503/comments","events_url":"https://api.github.com/repos/SUSE/Portus/issues/503/events","html_url":"https://github.com/SUSE/Portus/issues/503","id":113710909,"number":503,"title":"Error: registry does not implement v2 of the API.","user":{"login":"JonathonReinhart","id":1916566,"avatar_url":"https://avatars.githubusercontent.com/u/1916566?v=3","gravatar_id":"","url":"https://api.github.com/users/JonathonReinhart","html_url":"https://github.com/JonathonReinhart","followers_url":"https://api.github.com/users/JonathonReinhart/followers","following_url":"https://api.github.com/users/JonathonReinhart/following{/other_user}","gists_url":"https://api.github.com/users/JonathonReinhart/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathonReinhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathonReinhart/subscriptions","organizations_url":"https://api.github.com/users/JonathonReinhart/orgs","repos_url":"https://api.github.com/users/JonathonReinhart/repos","events_url":"https://api.github.com/users/JonathonReinhart/events{/privacy}","received_events_url":"https://api.github.com/users/JonathonReinhart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-27T23:26:47Z","updated_at":"2015-10-28T06:29:19Z","closed_at":"2015-10-28T06:29:19Z","body":"I decided to shelve my docker-compose setup and instead try to set up two VMs:\r\n- `docker-reg.example.com` - Registry (via Docker)\r\n- `portus.example.com` - Portus (installed RPM on OpenSuSE 13.2)\r\n\r\nI'm trying to do everything *correct*, using my own certificates where necessary.\r\n\r\nFrom `portus.example.com`, I verify that the certificates are set up correctly:\r\n```\r\ncurl https://docker-reg.example.com/v2/\r\n{}\r\n```\r\n\r\nHowever, when I try to add the registry to Portus, it says:\r\n\r\n> Error: registry does not implement v2 of the API.\r\n\r\nI can see in my docker logs from the registry (and nginx proxy) that Portus is incorrect, because an HTTP 200 is being returned to him:\r\n\r\n```\r\nregistry_1 | time=\"2015-10-27T23:13:55Z\" level=info msg=\"response completed\" http.request.host=docker-reg.example.com http.request.id=xxx http.request.method=GET http.request.remoteaddr=192.168.1.35 http.request.uri=\"/v2/\" http.request.useragent=Ruby http.response.contenttype=\"application/json; charset=utf-8\" http.response.duration=4.288973ms http.response.status=200 http.response.written=2 instance.id=xxx version=v2.1.1 \r\nnginx_1    | nginx.1    | docker-reg.example.com 192.168.1.35 - - [27/Oct/2015:23:13:55 +0000] \"GET /v2/ HTTP/1.1\" 200 2 \"-\" \"Ruby\"\r\nregistry_1 | 172.17.0.121 - - [27/Oct/2015:23:13:55 +0000] \"GET /v2/ HTTP/1.1\" 200 2 \"\" \"Ruby\"\r\n```\r\n\r\nI don't know how to debug this any further."},"comment":{"url":"https://api.github.com/repos/SUSE/Portus/issues/comments/151739061","html_url":"https://github.com/SUSE/Portus/issues/503#issuecomment-151739061","issue_url":"https://api.github.com/repos/SUSE/Portus/issues/503","id":151739061,"user":{"login":"flavio","id":22728,"avatar_url":"https://avatars.githubusercontent.com/u/22728?v=3","gravatar_id":"","url":"https://api.github.com/users/flavio","html_url":"https://github.com/flavio","followers_url":"https://api.github.com/users/flavio/followers","following_url":"https://api.github.com/users/flavio/following{/other_user}","gists_url":"https://api.github.com/users/flavio/gists{/gist_id}","starred_url":"https://api.github.com/users/flavio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavio/subscriptions","organizations_url":"https://api.github.com/users/flavio/orgs","repos_url":"https://api.github.com/users/flavio/repos","events_url":"https://api.github.com/users/flavio/events{/privacy}","received_events_url":"https://api.github.com/users/flavio/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T06:29:19Z","updated_at":"2015-10-28T06:29:19Z","body":"You are using the old version of the registry, the one using API V1.\r\n\r\nPlease use the right version of the registry. "}}