{"action":"created","issue":{"url":"https://api.github.com/repos/Mashape/kong/issues/2289","repository_url":"https://api.github.com/repos/Mashape/kong","labels_url":"https://api.github.com/repos/Mashape/kong/issues/2289/labels{/name}","comments_url":"https://api.github.com/repos/Mashape/kong/issues/2289/comments","events_url":"https://api.github.com/repos/Mashape/kong/issues/2289/events","html_url":"https://github.com/Mashape/kong/issues/2289","id":217779279,"number":2289,"title":"400 Bad Request when get information ","user":{"login":"dzung1nguyen","id":14831468,"avatar_url":"https://avatars2.githubusercontent.com/u/14831468?v=3","gravatar_id":"","url":"https://api.github.com/users/dzung1nguyen","html_url":"https://github.com/dzung1nguyen","followers_url":"https://api.github.com/users/dzung1nguyen/followers","following_url":"https://api.github.com/users/dzung1nguyen/following{/other_user}","gists_url":"https://api.github.com/users/dzung1nguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/dzung1nguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzung1nguyen/subscriptions","organizations_url":"https://api.github.com/users/dzung1nguyen/orgs","repos_url":"https://api.github.com/users/dzung1nguyen/repos","events_url":"https://api.github.com/users/dzung1nguyen/events{/privacy}","received_events_url":"https://api.github.com/users/dzung1nguyen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-29T06:42:00Z","updated_at":"2017-03-29T17:38:24Z","closed_at":null,"body":"Hi guys\r\n\r\nI added a api \r\n\r\nhttp://api.zingzing.com:8001/apis\r\n\r\ndata:\r\nname: get_products\r\nhosts: api.zingzing.com\r\nuris: /json/v1/dz/products\r\nupstream_url: https://beta.zingzing.com/wp-json/wc/v1/products\r\n\r\n=> Info\r\n{\r\n  \"methods\": [\r\n    \"GET\"\r\n  ],\r\n  \"http_if_terminated\": true,\r\n  \"id\": \"b68e6892-6337-4211-92a5-6150b73c6071\",\r\n  \"retries\": 5,\r\n  \"preserve_host\": false,\r\n  \"created_at\": 1490754001000,\r\n  \"upstream_connect_timeout\": 60000,\r\n  \"upstream_url\": \"https://beta.zingzing.com/wp-json/wc/v1/products\",\r\n  \"upstream_read_timeout\": 60000,\r\n  \"upstream_send_timeout\": 60000,\r\n  \"https_only\": true,\r\n  \"strip_uri\": true,\r\n  \"uris\": [\r\n    \"/json/v1/dz/products\"\r\n  ],\r\n  \"name\": \"get_products\",\r\n  \"hosts\": [\r\n    \"api.zingzing.com\"\r\n  ]\r\n}\r\n\r\n\r\nBut when i get:\r\nhttps://api.zingzing.com/json/v1/dz/products\r\n\r\nError 400 appear\r\n\r\n`<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n    <head>\r\n        <title>400 Bad Request</title>\r\n    </head>\r\n    <body>\r\n        <h1>Bad Request</h1>\r\n        <p>Your browser sent a request that this server could not understand.\r\n            <br />\r\n        </p>\r\n        <hr>\r\n        <address>Apache/2.4.12 (Ubuntu) Server at beta.zingzing.com Port 443</address>\r\n    </body>\r\n</html>`\r\n\r\nI added SSL for 2 servers.\r\n\r\nPlease help me have a look at. \r\n\r\nThank you.\r\n"},"comment":{"url":"https://api.github.com/repos/Mashape/kong/issues/comments/290165672","html_url":"https://github.com/Mashape/kong/issues/2289#issuecomment-290165672","issue_url":"https://api.github.com/repos/Mashape/kong/issues/2289","id":290165672,"user":{"login":"p0pr0ck5","id":4625425,"avatar_url":"https://avatars3.githubusercontent.com/u/4625425?v=3","gravatar_id":"","url":"https://api.github.com/users/p0pr0ck5","html_url":"https://github.com/p0pr0ck5","followers_url":"https://api.github.com/users/p0pr0ck5/followers","following_url":"https://api.github.com/users/p0pr0ck5/following{/other_user}","gists_url":"https://api.github.com/users/p0pr0ck5/gists{/gist_id}","starred_url":"https://api.github.com/users/p0pr0ck5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p0pr0ck5/subscriptions","organizations_url":"https://api.github.com/users/p0pr0ck5/orgs","repos_url":"https://api.github.com/users/p0pr0ck5/repos","events_url":"https://api.github.com/users/p0pr0ck5/events{/privacy}","received_events_url":"https://api.github.com/users/p0pr0ck5/received_events","type":"User","site_admin":false},"created_at":"2017-03-29T17:38:24Z","updated_at":"2017-03-29T17:38:24Z","body":"The server token in the error above indicates that Apache handled the request, not Kong. What's in the Kong error log?"}}
{"actor":{"display_login":"p0pr0ck5"}}