{"action":"created","issue":{"url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller/issues/50","repository_url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller","labels_url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller/issues/50/comments","events_url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller/issues/50/events","html_url":"https://github.com/Kong/kubernetes-ingress-controller/issues/50","id":325978147,"number":50,"title":"request all return 404 ","user":{"login":"steinliber","id":13215800,"avatar_url":"https://avatars3.githubusercontent.com/u/13215800?v=4","gravatar_id":"","url":"https://api.github.com/users/steinliber","html_url":"https://github.com/steinliber","followers_url":"https://api.github.com/users/steinliber/followers","following_url":"https://api.github.com/users/steinliber/following{/other_user}","gists_url":"https://api.github.com/users/steinliber/gists{/gist_id}","starred_url":"https://api.github.com/users/steinliber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steinliber/subscriptions","organizations_url":"https://api.github.com/users/steinliber/orgs","repos_url":"https://api.github.com/users/steinliber/repos","events_url":"https://api.github.com/users/steinliber/events{/privacy}","received_events_url":"https://api.github.com/users/steinliber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-24T06:16:17Z","updated_at":"2018-05-24T08:29:14Z","closed_at":null,"author_association":"NONE","body":"**Is this a BUG REPORT or FEATURE REQUEST?** (choose one): BUG REPORT\r\n\r\n<!--\r\nIf this is a BUG REPORT, please:\r\n  - Fill in as much of the template below as you can.  If you leave out\r\n    information, we can't help you as well.\r\n\r\nIf this is a FEATURE REQUEST, please:\r\n  - Describe *in detail* the feature/behavior/change you'd like to see.\r\n\r\nIn both cases, be ready for followup questions, and please respond in a timely\r\nmanner.  If we can't reproduce a bug or think a feature already exists, we\r\nmight close your issue.  If we're wrong, PLEASE feel free to reopen it and\r\nexplain why.\r\n-->\r\n\r\n**Kong Ingress controller version**:0.04\r\n\r\n\r\n\r\n**Kubernetes version** (use `kubectl version`):1.9\r\n\r\n\r\n**Environment**:\r\n\r\n- **Cloud provider or hardware configuration**:  2h4g\r\n- **OS** (e.g. from /etc/os-release): ubuntu16.04\r\n- **Kernel** (e.g. `uname -a`): Linux kubemaster 4.4.0-124-generic #148-Ubuntu SMP Wed May 2 13:00:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\n- **Install tools**: kubernets\r\n\r\n**What happened**:\r\nI have ingress configured but request return 404\r\nHere is the Kong Ingress controller log\r\n\r\n`\r\nE0524 05:13:30.385111       7 kong.go:637] Unexpected error creating Kong Route: [400] {\"fields\":{\"paths\":\"must not have a trailing slash\"},\"name\":\"schema violation\",\"code\":2,\"message\":\"schema violation (paths: must not have a trailing slash)\"}\r\nE0524 05:13:30.385123       7 controller.go:130] unexpected failure updating Kong configuration:\r\nthe server rejected our request for an unknown reason (post routes.meta.k8s.io)\r\n`\r\n\r\nHere is the return result\r\n\r\n`\r\n{\"message\":\"no route and no API found with those values\"}\r\n`\r\n\r\n**Anything else we need to know**:\r\n\r\nHere is my config \r\n\r\n`\r\npiVersion: extensions/v1beta1\r\nkind: Ingress\r\nmetadata:\r\n  name: nlp-api-kong\r\n  namespace: nlp-dev\r\n  annotations:\r\n    kubernetes.io/ingress.class: nginx\r\n    nginx.ingress.kubernetes.io/rewrite-target: /\r\nspec:\r\n  rules:\r\n  - host: test.xxxx.com\r\n    http:\r\n      paths:\r\n      - path: /article-summary/\r\n        backend:\r\n          serviceName: article-summary-rest-svc\r\n          servicePort: http\r\n`\r\n\r\n\r\nHere is admin upstreams return \r\n\r\n`\r\n {\r\n      \"created_at\": 1527135234334,\r\n      \"hash_on\": \"none\",\r\n      \"id\": \"cd95daeb-f900-477b-84a4-3f4f62252fe6\",\r\n      \"healthchecks\": {\r\n        \"active\": {\r\n          \"unhealthy\": {\r\n            \"http_statuses\": [\r\n              429,\r\n              404,\r\n              500,\r\n              501,\r\n              502,\r\n              503,\r\n              504,\r\n              505\r\n            ],\r\n            \"tcp_failures\": 0,\r\n            \"timeouts\": 0,\r\n            \"http_failures\": 0,\r\n            \"interval\": 0\r\n          },\r\n          \"http_path\": \"/\",\r\n          \"healthy\": {\r\n            \"http_statuses\": [\r\n              200,\r\n              302\r\n            ],\r\n            \"interval\": 0,\r\n            \"successes\": 0\r\n          },\r\n          \"timeout\": 1,\r\n          \"concurrency\": 10\r\n        },\r\n        \"passive\": {\r\n          \"unhealthy\": {\r\n            \"http_failures\": 0,\r\n            \"http_statuses\": [\r\n              429,\r\n              500,\r\n              503\r\n            ],\r\n            \"tcp_failures\": 0,\r\n            \"timeouts\": 0\r\n          },\r\n          \"healthy\": {\r\n            \"successes\": 0,\r\n            \"http_statuses\": [\r\n              200,\r\n              201,\r\n              202,\r\n              203,\r\n              204,\r\n              205,\r\n              206,\r\n              207,\r\n              208,\r\n              226,\r\n              300,\r\n              301,\r\n              302,\r\n              303,\r\n              304,\r\n              305,\r\n              306,\r\n              307,\r\n              308\r\n            ]\r\n          }\r\n        }\r\n      },\r\n      \"name\": \"nlp-dev.article-summary-rest-svc.http\",\r\n      \"hash_fallback\": \"none\",\r\n      \"slots\": 1000\r\n    },\r\n`\r\n"},"comment":{"url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller/issues/comments/391633046","html_url":"https://github.com/Kong/kubernetes-ingress-controller/issues/50#issuecomment-391633046","issue_url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller/issues/50","id":391633046,"user":{"login":"subicura","id":67347,"avatar_url":"https://avatars2.githubusercontent.com/u/67347?v=4","gravatar_id":"","url":"https://api.github.com/users/subicura","html_url":"https://github.com/subicura","followers_url":"https://api.github.com/users/subicura/followers","following_url":"https://api.github.com/users/subicura/following{/other_user}","gists_url":"https://api.github.com/users/subicura/gists{/gist_id}","starred_url":"https://api.github.com/users/subicura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subicura/subscriptions","organizations_url":"https://api.github.com/users/subicura/orgs","repos_url":"https://api.github.com/users/subicura/repos","events_url":"https://api.github.com/users/subicura/events{/privacy}","received_events_url":"https://api.github.com/users/subicura/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T08:29:14Z","updated_at":"2018-05-24T08:29:14Z","author_association":"CONTRIBUTOR","body":"@steinliber Can you show me services configuration? (http://kong-admin:8001/services) And What kong-ingress-controller version do you use?"}}
{"actor":{"display_login":"subicura"}}