Closed fabian4 closed 9 months ago
Triage: Hey, a couple of questions
- Can you post YAML of all traffic-permissions (
kumactl get traffic-permissions -o yaml
)- Does it happen also when you open a page or just on search?
Here is the full output
➜ ~ kumactl get traffic-permissions -o yaml
items:
- creationTime: "2024-01-18T15:42:48Z"
destinations:
- match:
kuma.io/service: postgres_kuma-demo_svc_5432
mesh: default
modificationTime: "2024-01-18T15:42:48Z"
name: backend-to-postgres
sources:
- match:
kuma.io/service: backend_kuma-demo_svc_3001
type: TrafficPermission
- creationTime: "2024-01-18T15:43:47Z"
destinations:
- match:
kuma.io/service: redis_kuma-demo_svc_6379
mesh: default
modificationTime: "2024-01-18T15:43:47Z"
name: backend-to-redis
sources:
- match:
kuma.io/service: backend_kuma-demo_svc_3001
type: TrafficPermission
- creationTime: "2024-01-18T15:42:48Z"
destinations:
- match:
kuma.io/service: backend_kuma-demo_svc_3001
mesh: default
modificationTime: "2024-01-18T15:42:48Z"
name: frontend-to-backend
sources:
- match:
kuma.io/service: frontend_kuma-demo_svc_8080
type: TrafficPermission
- creationTime: "2024-01-18T15:42:48Z"
destinations:
- match:
kuma.io/service: frontend_kuma-demo_svc_8080
mesh: default
modificationTime: "2024-01-18T15:42:48Z"
name: kong-to-frontend
sources:
- match:
kuma.io/service: kong-validation-webhook_kuma-demo_svc_443
type: TrafficPermission
next: null
total: 4
And It happens once you start the pod (here is the full detail log
Starting up http-server, serving /dist
Available on:
http://127.0.0.1:8080
http://10.42.0.107:8080
Unhandled requests will be served from: http://backend_kuma-demo_svc_3001.mesh
Hit CTRL-C to stop the server
[2024-01-24T16:39:53.692Z] "GET /" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
(node:1) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
[2024-01-24T16:39:53.771Z] "GET /items?q" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
[2024-01-24T16:39:54.820Z] "GET /items?q" Error (404): "connect ECONNREFUSED 198.18.5.186:80"
[2024-01-24T16:39:54.820Z] "GET /items?q" Error (404): "Not found"
[2024-01-24T16:39:54.820Z] "GET /items?q" Error (404): "Not found"
[2024-01-24T16:40:00.914Z] "GET /" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
[2024-01-24T16:40:00.957Z] "GET /items?q" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
[2024-01-24T16:40:00.961Z] "GET /items?q" Error (404): "connect ECONNREFUSED 198.18.5.186:80"
[2024-01-24T16:40:00.961Z] "GET /items?q" Error (404): "Not found"
[2024-01-24T16:40:00.961Z] "GET /items?q" Error (404): "Not found"
[2024-01-24T16:40:01.752Z] "GET /" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
[2024-01-24T16:40:01.846Z] "GET /items?q" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
[2024-01-24T16:40:01.848Z] "GET /items?q" Error (404): "connect ECONNREFUSED 198.18.5.186:80"
I figured it out !!!!
[2024-01-24T16:40:01.848Z] "GET /items?q" Error (404): "connect ECONNREFUSED 198.18.5.186:80"
The DNS request has been solved by my router outside the cluster Which has a fake-ip policy runs on it. I think there is a DNS server in the cluster and that is the one really responsible for the service in the cluster? or how to configure it to make it right help.
BTW Thanks a lot for your time @jakubdyszkiewicz
What happened?
Just start learning kuma and find it doesn't work as I expect.
logs from pod [kuma-fe]
Is there anything I can do to find out what's going on?
BTW the image link in https://github.com/kumahq/kuma-demo/blob/master/kubernetes/README.md all failed.