{"action":"created","issue":{"url":"https://api.github.com/repos/github/git-lfs/issues/800","labels_url":"https://api.github.com/repos/github/git-lfs/issues/800/labels{/name}","comments_url":"https://api.github.com/repos/github/git-lfs/issues/800/comments","events_url":"https://api.github.com/repos/github/git-lfs/issues/800/events","html_url":"https://github.com/github/git-lfs/issues/800","id":113818803,"number":800,"title":"1.0.1 breaks clone","user":{"login":"gogodave","id":10142577,"avatar_url":"https://avatars.githubusercontent.com/u/10142577?v=3","gravatar_id":"","url":"https://api.github.com/users/gogodave","html_url":"https://github.com/gogodave","followers_url":"https://api.github.com/users/gogodave/followers","following_url":"https://api.github.com/users/gogodave/following{/other_user}","gists_url":"https://api.github.com/users/gogodave/gists{/gist_id}","starred_url":"https://api.github.com/users/gogodave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogodave/subscriptions","organizations_url":"https://api.github.com/users/gogodave/orgs","repos_url":"https://api.github.com/users/gogodave/repos","events_url":"https://api.github.com/users/gogodave/events{/privacy}","received_events_url":"https://api.github.com/users/gogodave/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-28T13:15:46Z","updated_at":"2015-11-17T20:29:51Z","closed_at":"2015-11-09T16:30:03Z","body":"I can clone a repo using git-lfs 1.0.0.   After upgrading to 1.0.1, cloning the same repo gives the error below.   Reverting to 1.0.0 fixes the issue.\r\n\r\n    ❯ git lfs logs last\r\n    git-lfs/1.0.1 (GitHub; linux amd64; go 1.5.1; git a999185)\r\n    git version 2.4.8\r\n\r\n    $ git-lfs smudge out/bzImage\r\n    Error accessing media: out/bzImage (7011e311055932c24a68ff96ad275e3fc635ad8be504e670c125ab704c7285a4)\r\n\r\n    Server Error\r\n    Docs: https://github.com/contact\r\n    goroutine 1 [running]:\r\n    github.com/github/git-lfs/lfs.Stack(0x0, 0x0, 0x0)\r\n            /tmp/docker_run/git-lfs/rpm/BUILD/git-lfs-1.0.1/src/github.com/github/git-lfs/lfs/errors.go:557 +0x80\r\n    github.com/github/git-lfs/commands.logPanicToWriter(0x7f29505a91e8, 0xc8200c60a8, 0x7f294df67e50, 0xc82040e9f0)\r\n            /tmp/docker_run/git-lfs/rpm/BUILD/git-lfs-1.0.1/src/github.com/github/git-lfs/commands/commands.go:184 +0xf7f\r\n    github.com/github/git-lfs/commands.logPanic(0x7f294df67e50, 0xc82040e9f0, 0x0, 0x0)\r\n            /tmp/docker_run/git-lfs/rpm/BUILD/git-lfs-1.0.1/src/github.com/github/git-lfs/commands/commands.go:148 +0x421\r\n    github.com/github/git-lfs/commands.handlePanic(0x7f294df67e50, 0xc82040e9f0, 0x0, 0x0)\r\n            /tmp/docker_run/git-lfs/rpm/BUILD/git-lfs-1.0.1/src/github.com/github/git-lfs/commands/commands.go:123 +0x4e\r\n    github.com/github/git-lfs/commands.LoggedError(0x7f294df67e50, 0xc82040e9f0, 0x8e6540, 0x1e, 0xc82054bca8, 0x2, 0x2)\r\n            /tmp/docker_run/git-lfs/rpm/BUILD/git-lfs-1.0.1/src/github.com/github/git-lfs/commands/commands.go:73 +0x82\r\n    github.com/github/git-lfs/commands.smudgeCommand(0xabe0e0, 0xc8200b4140, 0x1, 0x1)\r\n            /tmp/docker_run/git-lfs/rpm/BUILD/git-lfs-1.0.1/src/github.com/github/git-lfs/commands/command_smudge.go:80 +0xd89\r\n    github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).execute(0xabe0e0, 0xc8200b4090, 0x1, 0x1, 0x0, 0x0)\r\n            /tmp/docker_run/git-lfs/rpm/BUILD/git-lfs-1.0.1/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:477 +0x40\r\n    github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).Execute(0xabede0, 0x0, 0x0)\r\n            /tmp/docker_run/git-lfs/rpm/BUILD/git-lfs-1.0.1/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:551 +0x46\r\n    github.com/github/git-lfs/commands.Run()\r\n            /tmp/docker_run/git-lfs/rpm/BUILD/git-lfs-1.0.1/src/github.com/github/git-lfs/commands/commands.go:88 +0x23\r\n    main.main()\r\n            /tmp/docker_run/git-lfs/rpm/BUILD/git-lfs-1.0.1/git-lfs.go:34 +0x12e\r\n\r\n    ENV:\r\n    LocalWorkingDir=/home/dgaulke/local/test-clone\r\n    LocalGitDir=.git\r\n    LocalGitStorageDir=.git\r\n    LocalMediaDir=.git/lfs/objects\r\n    TempDir=.git/lfs/tmp\r\n    ConcurrentTransfers=3\r\n    BatchTransfer=true\r\n    GIT_DIR=.git\r\n"},"comment":{"url":"https://api.github.com/repos/github/git-lfs/issues/comments/157497563","html_url":"https://github.com/github/git-lfs/issues/800#issuecomment-157497563","issue_url":"https://api.github.com/repos/github/git-lfs/issues/800","id":157497563,"user":{"login":"technoweenie","id":21,"avatar_url":"https://avatars.githubusercontent.com/u/21?v=3","gravatar_id":"","url":"https://api.github.com/users/technoweenie","html_url":"https://github.com/technoweenie","followers_url":"https://api.github.com/users/technoweenie/followers","following_url":"https://api.github.com/users/technoweenie/following{/other_user}","gists_url":"https://api.github.com/users/technoweenie/gists{/gist_id}","starred_url":"https://api.github.com/users/technoweenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technoweenie/subscriptions","organizations_url":"https://api.github.com/users/technoweenie/orgs","repos_url":"https://api.github.com/users/technoweenie/repos","events_url":"https://api.github.com/users/technoweenie/events{/privacy}","received_events_url":"https://api.github.com/users/technoweenie/received_events","type":"User","site_admin":true},"created_at":"2015-11-17T20:29:51Z","updated_at":"2015-11-17T20:29:51Z","body":"Enterprise 2.4.0 returns 401 for me:\r\n\r\n```\r\n$ curl -H \"Accept: application/vnd.git-lfs+json\" -k \\\r\n  https://172.28.128.4/ghe-admin/effacious-rutabaga.git/info/lfs/objects/batch \\\r\n  -d '{\"objects\":[{\"oid\":\"47de97e16916cd2d895d58e6406cf39c7aec6f4b29a114d53f1d1d8a652c625b\",\"size\":4}],\"operation\":\"download\"}' -i\r\nHTTP/1.1 401 Unauthorized\r\nServer: GitHub.com\r\nDate: Tue, 17 Nov 2015 20:25:05 GMT\r\nLFS-Authenticate: Basic realm=\"GitHub\"\r\n\r\n{\r\n  \"message\": \"Must authenticate to access this API.\",\r\n  \"documentation_url\": \"https://help.github.com/enterprise\"\r\n}\r\n```\r\n\r\nThis is the same request path from your example above:\r\n\r\n```\r\n> POST /myuser/lfs-test.git/info/lfs/objects/batch HTTP/1.1\r\n> Host: github-enterprise.com\r\n> Accept: application/vnd.git-lfs+json; charset=utf-8\r\n> Content-Type: application/vnd.git-lfs+json; charset=utf-8\r\n> User-Agent: git-lfs/1.0.2 (GitHub; windows amd64; go 1.5.1; git 0566698)\r\n>\r\n{\"objects\":[{\"oid\":\"47de97e16916cd2d895d58e6406cf39c7aec6f4b29a114d53f1d1d8a652c625b\",\"size\":4}],\"operation\":\"download\"}trace git-lfs: HTTP: 403\r\n< HTTP/1.1 403 Forbidden\r\n```"}}