{"action":"created","issue":{"url":"https://api.github.com/repos/atom/apm/issues/319","labels_url":"https://api.github.com/repos/atom/apm/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/atom/apm/issues/319/comments","events_url":"https://api.github.com/repos/atom/apm/issues/319/events","html_url":"https://github.com/atom/apm/issues/319","id":60486265,"number":319,"title":"Dependencies (package.json): 406 with http/https","user":{"login":"tststs","id":3591665,"avatar_url":"https://avatars.githubusercontent.com/u/3591665?v=3","gravatar_id":"","url":"https://api.github.com/users/tststs","html_url":"https://github.com/tststs","followers_url":"https://api.github.com/users/tststs/followers","following_url":"https://api.github.com/users/tststs/following{/other_user}","gists_url":"https://api.github.com/users/tststs/gists{/gist_id}","starred_url":"https://api.github.com/users/tststs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tststs/subscriptions","organizations_url":"https://api.github.com/users/tststs/orgs","repos_url":"https://api.github.com/users/tststs/repos","events_url":"https://api.github.com/users/tststs/events{/privacy}","received_events_url":"https://api.github.com/users/tststs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-10T11:36:01Z","updated_at":"2015-03-10T22:54:59Z","closed_at":null,"body":"I don't know, if this is related to apm. If i'm using http/https for a repo in package.json, the result is always 406.\r\n\r\n<strong>is:</strong>\r\npackage.json:\r\n```\r\n\"dependencies\": {\r\n    \"tern\": \"git://github.com/marijnh/tern.git\",\r\n  },\r\n```\r\n\r\n<strong>should:</strong>\r\npackage.json:\r\n```\r\n\"dependencies\": {\r\n    \"tern\": \"https://github.com/marijnh/tern.git\",\r\n  },\r\n```\r\nnpm ERR! fetch failed https://github.com/marijnh/tern.git\r\nnpm WARN retry will retry, error on last attempt: Error: fetch failed with status code 406\r\nnpm ERR! fetch failed https://github.com/marijnh/tern.git\r\nnpm WARN retry will retry, error on last attempt: Error: fetch failed with status code 406\r\nnpm ERR! fetch failed https://github.com/marijnh/tern.git\r\nnpm ERR! Darwin 14.1.0\r\nnpm ERR! argv \"/Applications/Atom.app/Contents/Resources/app/apm/bin/node\" \"/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js\" \"--globalconfig\" \"/Users/tobiasschubert/.atom/.apm/.apmrc\" \"--userconfig\" \"/Users/tobiasschubert/.atom/.apmrc\" \"install\" \"--target=0.21.0\" \"--arch=x64\"\r\nnpm ERR! node v0.10.35\r\nnpm ERR! npm  v2.5.1\r\n\r\nnpm ERR! fetch failed with status code 406\r\nnpm ERR! \r\n"},"comment":{"url":"https://api.github.com/repos/atom/apm/issues/comments/78166377","html_url":"https://github.com/atom/apm/issues/319#issuecomment-78166377","issue_url":"https://api.github.com/repos/atom/apm/issues/319","id":78166377,"user":{"login":"thedaniel","id":1476,"avatar_url":"https://avatars.githubusercontent.com/u/1476?v=3","gravatar_id":"","url":"https://api.github.com/users/thedaniel","html_url":"https://github.com/thedaniel","followers_url":"https://api.github.com/users/thedaniel/followers","following_url":"https://api.github.com/users/thedaniel/following{/other_user}","gists_url":"https://api.github.com/users/thedaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/thedaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedaniel/subscriptions","organizations_url":"https://api.github.com/users/thedaniel/orgs","repos_url":"https://api.github.com/users/thedaniel/repos","events_url":"https://api.github.com/users/thedaniel/events{/privacy}","received_events_url":"https://api.github.com/users/thedaniel/received_events","type":"User","site_admin":true},"created_at":"2015-03-10T22:54:59Z","updated_at":"2015-03-10T22:54:59Z","body":"I'm pretty sure you need to drop the `.git` from the end of the `https` url"}}