apisix-ingress-controller: I execute the yaml file in k8s and report such an error in the log on the controller

I execute the yaml file in k8s and report such an error in the log on the controller. ingress-controller error log: E0917 16:16:11.276293 1 builder.go:154] solver upstream failed, find upstream from etcd failed, upstream: &{ID:<nil> FullName:0xc0004a4100 Group:0xc0004a4070 ResourceVersion:0xc0004a4080 Name:0xc0004a40d0 Type:0xc0004a4110 HashOn:<nil> Key:<nil> Nodes:[0xc00000f1a0] FromKind:<nil>}, err: list upstreams failed, err: http get failed, url: http://192.168.63.185:9180/apisix/admin/upstreams, err: status: 401, body: <html>

<head><title>401 Authorization Required</title></head> <body> <center>

401 Authorization Required

</center>
<center>openresty</center> </body> </html>

my yaml file:

apiVersion: apisix.apache.org/v1
kind: ApisixRoute
metadata:
  name: httpserver-route
  namespace: default
spec:
  rules:
  - host: test.apisix.apache.org
    http:
      paths:
      - backend:
          serviceName: nginx-web
          servicePort: 80
        path: /

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (14 by maintainers)

Most upvoted comments

will update today