{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/2140","labels_url":"https://api.github.com/repos/gogits/gogs/issues/2140/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/2140/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/2140/events","html_url":"https://github.com/gogits/gogs/issues/2140","id":121361394,"number":2140,"title":"packager.io repository 403 error","user":{"login":"pgmartinez","id":13466681,"avatar_url":"https://avatars.githubusercontent.com/u/13466681?v=3","gravatar_id":"","url":"https://api.github.com/users/pgmartinez","html_url":"https://github.com/pgmartinez","followers_url":"https://api.github.com/users/pgmartinez/followers","following_url":"https://api.github.com/users/pgmartinez/following{/other_user}","gists_url":"https://api.github.com/users/pgmartinez/gists{/gist_id}","starred_url":"https://api.github.com/users/pgmartinez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgmartinez/subscriptions","organizations_url":"https://api.github.com/users/pgmartinez/orgs","repos_url":"https://api.github.com/users/pgmartinez/repos","events_url":"https://api.github.com/users/pgmartinez/events{/privacy}","received_events_url":"https://api.github.com/users/pgmartinez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/await","name":"await","color":"fef2c0"},{"url":"https://api.github.com/repos/gogits/gogs/labels/third-party","name":"third-party","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gogits/gogs/milestones/15","html_url":"https://github.com/gogits/gogs/milestones/0.8.0","labels_url":"https://api.github.com/repos/gogits/gogs/milestones/15/labels","id":1423407,"number":15,"title":"0.8.0","description":"","creator":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":70,"state":"open","created_at":"2015-11-21T22:31:47Z","updated_at":"2015-12-09T23:53:28Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-12-09T23:02:06Z","updated_at":"2015-12-10T08:48:31Z","closed_at":null,"body":"Hi,\r\n\r\nI cannot configure the packager.io repo in my debian wheezy box. I revised the syntax a lot of times...\r\n\r\n```\r\ndeb https://deb.packager.io/gh/pkgr/gogs wheezy pkgr\r\n```\r\nbut it returns a 403 error:\r\n\r\n```\r\nW: Failed to fetch https://deb.packager.io/gh/pkgr/gogs/dists/wheezy/pkgr/binary-amd64/Packages  The requested URL returned error: 403\r\n\r\nW: Failed to fetch https://deb.packager.io/gh/pkgr/gogs/dists/wheezy/pkgr/binary-i386/Packages  The requested URL returned error: 403\r\n```\r\n\r\nFinally, I resolved it checking the package build number in the logs and reconstructing the whole path:\r\n\r\n```\r\nwget https://deb.packager.io/gh/pkgr/gogs/pool/g/go/gogs_0.7.22-1448564961.aaa3f1b.wheezy_amd64.deb\r\n```\r\nBut you'll agree that's not the best solution... Would you help me, please?\r\n\r\nAnd thanks for this software! I finally found what I was looking for  :-)"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/163535653","html_url":"https://github.com/gogits/gogs/issues/2140#issuecomment-163535653","issue_url":"https://api.github.com/repos/gogits/gogs/issues/2140","id":163535653,"user":{"login":"crohr","id":6114,"avatar_url":"https://avatars.githubusercontent.com/u/6114?v=3","gravatar_id":"","url":"https://api.github.com/users/crohr","html_url":"https://github.com/crohr","followers_url":"https://api.github.com/users/crohr/followers","following_url":"https://api.github.com/users/crohr/following{/other_user}","gists_url":"https://api.github.com/users/crohr/gists{/gist_id}","starred_url":"https://api.github.com/users/crohr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crohr/subscriptions","organizations_url":"https://api.github.com/users/crohr/orgs","repos_url":"https://api.github.com/users/crohr/repos","events_url":"https://api.github.com/users/crohr/events{/privacy}","received_events_url":"https://api.github.com/users/crohr/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T08:48:30Z","updated_at":"2015-12-10T08:48:30Z","body":"@pgmartinez I just checked and it works. Can you retry now?\r\n\r\n```bash\r\n$ curl https://deb.packager.io/gh/pkgr/gogs/dists/wheezy/pkgr/binary-amd64/Packages\r\n<html><body>You are being <a href=\"https://pkgr-production-deb.s3.amazonaws.com/gh/pkgr/gogs/dists/wheezy/pkgr/binary-amd64/Packages?AWSAccessKeyId=AKIAJFGZVGZONQB4NGVA&amp;Expires=1449738160&amp;Signature=OSAKCnRISYIfLvbyh8JSHX81GsE=\">redirected</a>.</body></html>\r\n```\r\n```\r\nroot@bfdfa9609f7f:/# wget -qO - https://deb.packager.io/key | sudo apt-key add -\r\nOK\r\nroot@bfdfa9609f7f:/# echo \"deb https://deb.packager.io/gh/pkgr/gogs wheezy pkgr\" | sudo tee /etc/apt/sources.list.d/gogs.list\r\ndeb https://deb.packager.io/gh/pkgr/gogs wheezy pkgr\r\nroot@bfdfa9609f7f:/# sudo apt-get update\r\nHit http://security.debian.org wheezy/updates Release.gpg\r\nHit http://security.debian.org wheezy/updates Release  \r\nHit http://security.debian.org wheezy/updates/main amd64 Packages\r\nHit http://httpredir.debian.org wheezy Release.gpg                             \r\nHit http://httpredir.debian.org wheezy-updates Release.gpg    \r\nHit http://httpredir.debian.org wheezy Release  \r\nHit http://httpredir.debian.org wheezy-updates Release\r\nHit http://httpredir.debian.org wheezy/main amd64 Packages\r\nHit http://httpredir.debian.org wheezy-updates/main amd64 Packages\r\nGet:1 https://deb.packager.io wheezy Release.gpg [473 B]\r\nHit https://deb.packager.io wheezy Release\r\nHit https://deb.packager.io wheezy/pkgr amd64 Packages\r\nFetched 473 B in 1s (272 B/s)\r\nReading package lists... Done\r\n```"}}