{"action":"closed","number":733,"pull_request":{"url":"https://api.github.com/repos/Mashape/kong/pulls/733","id":51448913,"html_url":"https://github.com/Mashape/kong/pull/733","diff_url":"https://github.com/Mashape/kong/pull/733.diff","patch_url":"https://github.com/Mashape/kong/pull/733.patch","issue_url":"https://api.github.com/repos/Mashape/kong/issues/733","number":733,"state":"closed","locked":false,"title":"#732 Add message body to response-ratelimiting plugin, block requests…","user":{"login":"nricklin","id":5749532,"avatar_url":"https://avatars.githubusercontent.com/u/5749532?v=3","gravatar_id":"","url":"https://api.github.com/users/nricklin","html_url":"https://github.com/nricklin","followers_url":"https://api.github.com/users/nricklin/followers","following_url":"https://api.github.com/users/nricklin/following{/other_user}","gists_url":"https://api.github.com/users/nricklin/gists{/gist_id}","starred_url":"https://api.github.com/users/nricklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nricklin/subscriptions","organizations_url":"https://api.github.com/users/nricklin/orgs","repos_url":"https://api.github.com/users/nricklin/repos","events_url":"https://api.github.com/users/nricklin/events{/privacy}","received_events_url":"https://api.github.com/users/nricklin/received_events","type":"User","site_admin":false},"body":"… via access.lua, not header_filter.lua\r\n\r\n\r\nI modified the plugin to block requests from access.lua rather than dropping a 429 in the status via the header_filter.lua component.  Seems like header filters were receiving the response from the upstream server and THEN issuing a 429 from Kong, which is really bad.  You may have created an object or something but got a 429.\r\n\r\nNow access is blocked on the front-end.\r\n\r\n","created_at":"2015-11-21T20:03:03Z","updated_at":"2015-12-23T01:41:23Z","closed_at":"2015-12-23T01:41:23Z","merged_at":null,"merge_commit_sha":"acc3579a1bfc4543190e9c6d554332dc47d5a027","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Mashape/kong/pulls/733/commits","review_comments_url":"https://api.github.com/repos/Mashape/kong/pulls/733/comments","review_comment_url":"https://api.github.com/repos/Mashape/kong/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Mashape/kong/issues/733/comments","statuses_url":"https://api.github.com/repos/Mashape/kong/statuses/f8935fcfc987bd42b7e27fc2dd22f96b9c20946d","head":{"label":"nricklin:next","ref":"next","sha":"f8935fcfc987bd42b7e27fc2dd22f96b9c20946d","user":{"login":"nricklin","id":5749532,"avatar_url":"https://avatars.githubusercontent.com/u/5749532?v=3","gravatar_id":"","url":"https://api.github.com/users/nricklin","html_url":"https://github.com/nricklin","followers_url":"https://api.github.com/users/nricklin/followers","following_url":"https://api.github.com/users/nricklin/following{/other_user}","gists_url":"https://api.github.com/users/nricklin/gists{/gist_id}","starred_url":"https://api.github.com/users/nricklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nricklin/subscriptions","organizations_url":"https://api.github.com/users/nricklin/orgs","repos_url":"https://api.github.com/users/nricklin/repos","events_url":"https://api.github.com/users/nricklin/events{/privacy}","received_events_url":"https://api.github.com/users/nricklin/received_events","type":"User","site_admin":false},"repo":{"id":46592942,"name":"kong","full_name":"nricklin/kong","owner":{"login":"nricklin","id":5749532,"avatar_url":"https://avatars.githubusercontent.com/u/5749532?v=3","gravatar_id":"","url":"https://api.github.com/users/nricklin","html_url":"https://github.com/nricklin","followers_url":"https://api.github.com/users/nricklin/followers","following_url":"https://api.github.com/users/nricklin/following{/other_user}","gists_url":"https://api.github.com/users/nricklin/gists{/gist_id}","starred_url":"https://api.github.com/users/nricklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nricklin/subscriptions","organizations_url":"https://api.github.com/users/nricklin/orgs","repos_url":"https://api.github.com/users/nricklin/repos","events_url":"https://api.github.com/users/nricklin/events{/privacy}","received_events_url":"https://api.github.com/users/nricklin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nricklin/kong","description":":monkey: Open-source, Microservice & API Management Layer built on top of NGINX","fork":true,"url":"https://api.github.com/repos/nricklin/kong","forks_url":"https://api.github.com/repos/nricklin/kong/forks","keys_url":"https://api.github.com/repos/nricklin/kong/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nricklin/kong/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nricklin/kong/teams","hooks_url":"https://api.github.com/repos/nricklin/kong/hooks","issue_events_url":"https://api.github.com/repos/nricklin/kong/issues/events{/number}","events_url":"https://api.github.com/repos/nricklin/kong/events","assignees_url":"https://api.github.com/repos/nricklin/kong/assignees{/user}","branches_url":"https://api.github.com/repos/nricklin/kong/branches{/branch}","tags_url":"https://api.github.com/repos/nricklin/kong/tags","blobs_url":"https://api.github.com/repos/nricklin/kong/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nricklin/kong/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nricklin/kong/git/refs{/sha}","trees_url":"https://api.github.com/repos/nricklin/kong/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nricklin/kong/statuses/{sha}","languages_url":"https://api.github.com/repos/nricklin/kong/languages","stargazers_url":"https://api.github.com/repos/nricklin/kong/stargazers","contributors_url":"https://api.github.com/repos/nricklin/kong/contributors","subscribers_url":"https://api.github.com/repos/nricklin/kong/subscribers","subscription_url":"https://api.github.com/repos/nricklin/kong/subscription","commits_url":"https://api.github.com/repos/nricklin/kong/commits{/sha}","git_commits_url":"https://api.github.com/repos/nricklin/kong/git/commits{/sha}","comments_url":"https://api.github.com/repos/nricklin/kong/comments{/number}","issue_comment_url":"https://api.github.com/repos/nricklin/kong/issues/comments{/number}","contents_url":"https://api.github.com/repos/nricklin/kong/contents/{+path}","compare_url":"https://api.github.com/repos/nricklin/kong/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nricklin/kong/merges","archive_url":"https://api.github.com/repos/nricklin/kong/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nricklin/kong/downloads","issues_url":"https://api.github.com/repos/nricklin/kong/issues{/number}","pulls_url":"https://api.github.com/repos/nricklin/kong/pulls{/number}","milestones_url":"https://api.github.com/repos/nricklin/kong/milestones{/number}","notifications_url":"https://api.github.com/repos/nricklin/kong/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nricklin/kong/labels{/name}","releases_url":"https://api.github.com/repos/nricklin/kong/releases{/id}","created_at":"2015-11-20T23:43:45Z","updated_at":"2015-11-20T23:43:47Z","pushed_at":"2015-11-21T22:50:12Z","git_url":"git://github.com/nricklin/kong.git","ssh_url":"git@github.com:nricklin/kong.git","clone_url":"https://github.com/nricklin/kong.git","svn_url":"https://github.com/nricklin/kong","homepage":"https://getkong.org","size":2413,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Mashape:next","ref":"next","sha":"bbd609ea0fdce80cf191cd2dc43a2c68ce0a3331","user":{"login":"Mashape","id":962416,"avatar_url":"https://avatars.githubusercontent.com/u/962416?v=3","gravatar_id":"","url":"https://api.github.com/users/Mashape","html_url":"https://github.com/Mashape","followers_url":"https://api.github.com/users/Mashape/followers","following_url":"https://api.github.com/users/Mashape/following{/other_user}","gists_url":"https://api.github.com/users/Mashape/gists{/gist_id}","starred_url":"https://api.github.com/users/Mashape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mashape/subscriptions","organizations_url":"https://api.github.com/users/Mashape/orgs","repos_url":"https://api.github.com/users/Mashape/repos","events_url":"https://api.github.com/users/Mashape/events{/privacy}","received_events_url":"https://api.github.com/users/Mashape/received_events","type":"Organization","site_admin":false},"repo":{"id":26783295,"name":"kong","full_name":"Mashape/kong","owner":{"login":"Mashape","id":962416,"avatar_url":"https://avatars.githubusercontent.com/u/962416?v=3","gravatar_id":"","url":"https://api.github.com/users/Mashape","html_url":"https://github.com/Mashape","followers_url":"https://api.github.com/users/Mashape/followers","following_url":"https://api.github.com/users/Mashape/following{/other_user}","gists_url":"https://api.github.com/users/Mashape/gists{/gist_id}","starred_url":"https://api.github.com/users/Mashape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mashape/subscriptions","organizations_url":"https://api.github.com/users/Mashape/orgs","repos_url":"https://api.github.com/users/Mashape/repos","events_url":"https://api.github.com/users/Mashape/events{/privacy}","received_events_url":"https://api.github.com/users/Mashape/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mashape/kong","description":":monkey: Open-source, Microservice & API Management Layer built on top of NGINX","fork":false,"url":"https://api.github.com/repos/Mashape/kong","forks_url":"https://api.github.com/repos/Mashape/kong/forks","keys_url":"https://api.github.com/repos/Mashape/kong/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mashape/kong/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mashape/kong/teams","hooks_url":"https://api.github.com/repos/Mashape/kong/hooks","issue_events_url":"https://api.github.com/repos/Mashape/kong/issues/events{/number}","events_url":"https://api.github.com/repos/Mashape/kong/events","assignees_url":"https://api.github.com/repos/Mashape/kong/assignees{/user}","branches_url":"https://api.github.com/repos/Mashape/kong/branches{/branch}","tags_url":"https://api.github.com/repos/Mashape/kong/tags","blobs_url":"https://api.github.com/repos/Mashape/kong/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mashape/kong/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mashape/kong/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mashape/kong/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mashape/kong/statuses/{sha}","languages_url":"https://api.github.com/repos/Mashape/kong/languages","stargazers_url":"https://api.github.com/repos/Mashape/kong/stargazers","contributors_url":"https://api.github.com/repos/Mashape/kong/contributors","subscribers_url":"https://api.github.com/repos/Mashape/kong/subscribers","subscription_url":"https://api.github.com/repos/Mashape/kong/subscription","commits_url":"https://api.github.com/repos/Mashape/kong/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mashape/kong/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mashape/kong/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mashape/kong/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mashape/kong/contents/{+path}","compare_url":"https://api.github.com/repos/Mashape/kong/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mashape/kong/merges","archive_url":"https://api.github.com/repos/Mashape/kong/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mashape/kong/downloads","issues_url":"https://api.github.com/repos/Mashape/kong/issues{/number}","pulls_url":"https://api.github.com/repos/Mashape/kong/pulls{/number}","milestones_url":"https://api.github.com/repos/Mashape/kong/milestones{/number}","notifications_url":"https://api.github.com/repos/Mashape/kong/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mashape/kong/labels{/name}","releases_url":"https://api.github.com/repos/Mashape/kong/releases{/id}","created_at":"2014-11-17T23:56:08Z","updated_at":"2015-12-22T19:44:39Z","pushed_at":"2015-12-22T21:07:55Z","git_url":"git://github.com/Mashape/kong.git","ssh_url":"git@github.com:Mashape/kong.git","clone_url":"https://github.com/Mashape/kong.git","svn_url":"https://github.com/Mashape/kong","homepage":"https://getkong.org","size":105362,"stargazers_count":3648,"watchers_count":3648,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":233,"mirror_url":null,"open_issues_count":164,"forks":233,"open_issues":164,"watchers":3648,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Mashape/kong/pulls/733"},"html":{"href":"https://github.com/Mashape/kong/pull/733"},"issue":{"href":"https://api.github.com/repos/Mashape/kong/issues/733"},"comments":{"href":"https://api.github.com/repos/Mashape/kong/issues/733/comments"},"review_comments":{"href":"https://api.github.com/repos/Mashape/kong/pulls/733/comments"},"review_comment":{"href":"https://api.github.com/repos/Mashape/kong/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Mashape/kong/pulls/733/commits"},"statuses":{"href":"https://api.github.com/repos/Mashape/kong/statuses/f8935fcfc987bd42b7e27fc2dd22f96b9c20946d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":5,"review_comments":2,"commits":4,"additions":46,"deletions":21,"changed_files":4}}