{"action":"created","issue":{"url":"https://api.github.com/repos/dickeyxxx/npm-register/issues/32","repository_url":"https://api.github.com/repos/dickeyxxx/npm-register","labels_url":"https://api.github.com/repos/dickeyxxx/npm-register/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/dickeyxxx/npm-register/issues/32/comments","events_url":"https://api.github.com/repos/dickeyxxx/npm-register/issues/32/events","html_url":"https://github.com/dickeyxxx/npm-register/issues/32","id":172497118,"number":32,"title":"Published packages fail to download eventually","user":{"login":"okeydoke","id":376290,"avatar_url":"https://avatars.githubusercontent.com/u/376290?v=3","gravatar_id":"","url":"https://api.github.com/users/okeydoke","html_url":"https://github.com/okeydoke","followers_url":"https://api.github.com/users/okeydoke/followers","following_url":"https://api.github.com/users/okeydoke/following{/other_user}","gists_url":"https://api.github.com/users/okeydoke/gists{/gist_id}","starred_url":"https://api.github.com/users/okeydoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okeydoke/subscriptions","organizations_url":"https://api.github.com/users/okeydoke/orgs","repos_url":"https://api.github.com/users/okeydoke/repos","events_url":"https://api.github.com/users/okeydoke/events{/privacy}","received_events_url":"https://api.github.com/users/okeydoke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-08-22T16:31:39Z","updated_at":"2016-08-22T21:09:10Z","closed_at":null,"body":"After some amount of time (not sure exactly, maybe a day or so) packages that have been published fail to be downloaded. Is there some form of caching/mapping that is expiring? maybe redis? The files are being stored in S3 and there is a corresponding version tarball on the bucket.\r\nThe example below is for a scoped package but also had the issue with non-scoped packages.\r\n```\r\n$ npm install\r\nnpm ERR! fetch failed http://private-registry/@scope/pacakage/-/@scope/package-0.0.3/e4e40cc32eeaf250a9353243f3f6863fc7813331.tgz\r\nnpm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404\r\n```\r\n\r\nOnly solution I have found is to bump version and republish and then it starts to work again for awhile"},"comment":{"url":"https://api.github.com/repos/dickeyxxx/npm-register/issues/comments/241551234","html_url":"https://github.com/dickeyxxx/npm-register/issues/32#issuecomment-241551234","issue_url":"https://api.github.com/repos/dickeyxxx/npm-register/issues/32","id":241551234,"user":{"login":"dickeyxxx","id":216188,"avatar_url":"https://avatars.githubusercontent.com/u/216188?v=3","gravatar_id":"","url":"https://api.github.com/users/dickeyxxx","html_url":"https://github.com/dickeyxxx","followers_url":"https://api.github.com/users/dickeyxxx/followers","following_url":"https://api.github.com/users/dickeyxxx/following{/other_user}","gists_url":"https://api.github.com/users/dickeyxxx/gists{/gist_id}","starred_url":"https://api.github.com/users/dickeyxxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dickeyxxx/subscriptions","organizations_url":"https://api.github.com/users/dickeyxxx/orgs","repos_url":"https://api.github.com/users/dickeyxxx/repos","events_url":"https://api.github.com/users/dickeyxxx/events{/privacy}","received_events_url":"https://api.github.com/users/dickeyxxx/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T21:09:10Z","updated_at":"2016-08-22T21:09:10Z","body":"try the latest `HEAD`, I put a patch in for this"}}
{"actor":{"display_login":"dickeyxxx"}}