{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/opam/issues/2262","labels_url":"https://api.github.com/repos/ocaml/opam/issues/2262/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/opam/issues/2262/comments","events_url":"https://api.github.com/repos/ocaml/opam/issues/2262/events","html_url":"https://github.com/ocaml/opam/issues/2262","id":95876121,"number":2262,"title":"\"Could not fetch repo\" for all git repos","user":{"login":"holocronweaver","id":1024369,"avatar_url":"https://avatars.githubusercontent.com/u/1024369?v=3","gravatar_id":"","url":"https://api.github.com/users/holocronweaver","html_url":"https://github.com/holocronweaver","followers_url":"https://api.github.com/users/holocronweaver/followers","following_url":"https://api.github.com/users/holocronweaver/following{/other_user}","gists_url":"https://api.github.com/users/holocronweaver/gists{/gist_id}","starred_url":"https://api.github.com/users/holocronweaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holocronweaver/subscriptions","organizations_url":"https://api.github.com/users/holocronweaver/orgs","repos_url":"https://api.github.com/users/holocronweaver/repos","events_url":"https://api.github.com/users/holocronweaver/events{/privacy}","received_events_url":"https://api.github.com/users/holocronweaver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-19T02:02:32Z","updated_at":"2015-07-19T03:19:04Z","closed_at":null,"body":"Hi, new Ocaml user here.\r\n\r\nOn Ubuntu 15.04 x64 I attempted to add a Github repo using the command provided by the repo maintainer:\r\n`opam repository add android git://github.com/whitequark/opam-android`\r\nThe command would hang indefinitely at the `Processing` line. Using `--verbose --debug` flags produced no useful information related to the hang from what I could see. I tried to add a dozen other repos the same way and the commands stalled the same way, including projects hosted by bitbucket. I also enabled ssh LogLevel 3, but no ssh related messages appeared when attempting to add a repo, so I don't think ssh is the problem.\r\n\r\nSo I switched to Mac OS X 10.10 and attempted to add the same repo. No hang this time, but I received back the message, `[ERROR] Could not fetch repo`. Again, I tried a dozen repos using multiple methods (http, https, git:) and enabled ssh log debugging and got no clues. FWIW, [here is the debug+verbose output from the command](https://gist.github.com/holocronweaver/8ac32aed037764b64270).\r\n\r\nI have no trouble with networking or interacting with Github via ssh outside of opam. Really stumped as to what could be causing this.\r\n\r\nOn both systems I am using git 2.4.5. My colleagues are using the same version and aren't having the issue. They also have the exact same Ubuntu and OS X versions I have."},"comment":{"url":"https://api.github.com/repos/ocaml/opam/issues/comments/122618671","html_url":"https://github.com/ocaml/opam/issues/2262#issuecomment-122618671","issue_url":"https://api.github.com/repos/ocaml/opam/issues/2262","id":122618671,"user":{"login":"dbuenzli","id":485596,"avatar_url":"https://avatars.githubusercontent.com/u/485596?v=3","gravatar_id":"","url":"https://api.github.com/users/dbuenzli","html_url":"https://github.com/dbuenzli","followers_url":"https://api.github.com/users/dbuenzli/followers","following_url":"https://api.github.com/users/dbuenzli/following{/other_user}","gists_url":"https://api.github.com/users/dbuenzli/gists{/gist_id}","starred_url":"https://api.github.com/users/dbuenzli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbuenzli/subscriptions","organizations_url":"https://api.github.com/users/dbuenzli/orgs","repos_url":"https://api.github.com/users/dbuenzli/repos","events_url":"https://api.github.com/users/dbuenzli/events{/privacy}","received_events_url":"https://api.github.com/users/dbuenzli/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T03:19:04Z","updated_at":"2015-07-19T03:19:04Z","body":"I don't have much clues at that point maybe @AltGr will have an idea. Meanwhile you could try to post a gist with `--verbose --debug --debug-level=100` exhibiting the problem."}}