{"action":"created","issue":{"url":"https://api.github.com/repos/github/git-lfs/issues/744","labels_url":"https://api.github.com/repos/github/git-lfs/issues/744/labels{/name}","comments_url":"https://api.github.com/repos/github/git-lfs/issues/744/comments","events_url":"https://api.github.com/repos/github/git-lfs/issues/744/events","html_url":"https://github.com/github/git-lfs/issues/744","id":111674731,"number":744,"title":"Can't fetch file by API: \"message\": \"Not Acceptable\"","user":{"login":"petek","id":126508,"avatar_url":"https://avatars.githubusercontent.com/u/126508?v=3","gravatar_id":"","url":"https://api.github.com/users/petek","html_url":"https://github.com/petek","followers_url":"https://api.github.com/users/petek/followers","following_url":"https://api.github.com/users/petek/following{/other_user}","gists_url":"https://api.github.com/users/petek/gists{/gist_id}","starred_url":"https://api.github.com/users/petek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petek/subscriptions","organizations_url":"https://api.github.com/users/petek/orgs","repos_url":"https://api.github.com/users/petek/repos","events_url":"https://api.github.com/users/petek/events{/privacy}","received_events_url":"https://api.github.com/users/petek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-15T18:08:15Z","updated_at":"2015-10-15T19:34:56Z","closed_at":null,"body":"I can't download an LFS file on EC2, although I can on my local machine, and I'm getting an odd response from GitHub when I try to debug it.\r\n\r\nI have a build server running on EC2.  When I do a fresh clone and checkout of my repository, the one file I have stored in LFS is not retrieved, and I get this message:\r\n```\r\n$ git checkout develop\r\nDownloading ***.zip (55.87 MB)\r\nError accessing media: ***.zip (<long hash value>)\r\n\r\nErrors logged to .git/lfs/objects/logs/20151015T174546.361886396.log\r\nUse `git lfs logs last` to view the log.\r\nBranch develop set up to track remote branch develop from origin.\r\nSwitched to a new branch 'develop'\r\n```\r\nWhen I check the `git lfs logs last` log, I get the following snippet that leaves a clue:\r\n```\r\ngit-lfs/1.0.0 (GitHub; linux 386; go 1.5.1; git 7379fa9)\r\ngit version 2.4.3\r\n\r\n$ git-lfs smudge ***.zip\r\nError accessing media: ***.zip (<long hash value>)\r\n\r\nUnable to parse HTTP response for GET https://api.github.com/lfs/fairbanksllc/fairbanks-ltss-v2/objects/<long hash value>\r\ngoroutine 1 [running]:\r\ngithub.com/github/git-lfs/lfs.Stack(0x0, 0x0, 0x0)\r\n\t/Users/rick/go/src/github.com/github/git-lfs/lfs/errors.go:557 +0x80\r\n<cut for brevity>\r\n```\r\nWhen I attempt to retrieve that URL, I get the following JSON document:\r\n```\r\n{\"message\":\"Not Acceptable\",\"documentation_url\":\"https://github.com/contact\"}\r\n```\r\nI don't have this same problem from my local machine, so I'm not sure where the problem is."},"comment":{"url":"https://api.github.com/repos/github/git-lfs/issues/comments/148498805","html_url":"https://github.com/github/git-lfs/issues/744#issuecomment-148498805","issue_url":"https://api.github.com/repos/github/git-lfs/issues/744","id":148498805,"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-10-15T19:34:55Z","updated_at":"2015-10-15T19:34:55Z","body":"Weird. If there was an authentication error, you should see something about getting a 403. Can you run that with:\r\n\r\n```\r\n$ GIT_CURL_VERBOSE=1 git lfs fetch\r\n```\r\n\r\nFeel free to send the log to our github support email, unless you want to do this here.  This isn't an issue with the OSS client though. The curl verbose log will include your authorization header too. Look for any lines with \"Authorization: Basic\"."}}