You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/29 06:19:39 UTC

[GitHub] [apisix] moonming commented on issue #2533: request help: failed to set server peer [some-k8s-svc.default.svc.cluster.local:5202] err: no host allowed

moonming commented on issue #2533:
URL: https://github.com/apache/apisix/issues/2533#issuecomment-718386861


   I copy the error msg:
   ```
   kubectl --namespace apisix exec -it apisix-ctznq  -- cat logs/error.log
   # 2020/10/27 02:39:56 [warn] 1#1: low address bits of 172.17.0.0/12 are meaningless in /usr/local/apisix/conf/nginx.conf:141
   # 2020/10/27 02:39:56 [warn] 1#1: low address bits of 172.17.0.0/12 are meaningless in /usr/local/apisix/conf/nginx.conf:153
   # 2020/10/27 02:41:15 [error] 36#36: *2063 [lua] balancer.lua:267: load_balancer(): failed to set server peer [some-k8s-svc.default.svc.cluster.local:5202] err: no host allowed while connecting to upstream, client: <mylaptopip>, server: , request: "GET / HTTP/1.1", host: "<my-server>"
   # 2020/10/27 02:41:19 [error] 36#36: *2163 [lua] balancer.lua:267: load_balancer(): failed to set server peer [some-k8s-svc.default.svc.cluster.local:5202] err: no host allowed while connecting to upstream, client: <mylaptopip>, server: , request: "GET / HTTP/1.1", host: "<my-server>"
   # 2020/10/27 02:41:20 [error] 36#36: *2192 [lua] balancer.lua:267: load_balancer(): failed to set server peer [some-k8s-svc.default.svc.cluster.local:5202] err: no host allowed while connecting to upstream, client: <mylaptopip>, server: , request: "GET / HTTP/1.1", host: "<my-server>"
   # 2020/10/27 02:41:20 [error] 36#36: *2202 [lua] balancer.lua:267: load_balancer(): failed to set server peer [some-k8s-svc.default.svc.cluster.local:5202] err: no host allowed while connecting to upstream, client: <mylaptopip>, server: , request: "GET / HTTP/1.1", host: "<my-server>"
   # 2020/10/27 02:41:20 [error] 36#36: *2210 [lua] balancer.lua:267: load_balancer(): failed to set server peer [some-k8s-svc.default.svc.cluster.local:5202] err: no host allowed while connecting to upstream, client: <mylaptopip>, server: , request: "GET / HTTP/1.1", host: "<my-server>"
   # 2020/10/27 02:41:21 [error] 36#36: *2225 [lua] balancer.lua:267: load_balancer(): failed to set server peer [some-k8s-svc.default.svc.cluster.local:5202] err: no host allowed while connecting to upstream, client: <mylaptopip>, server: , request: "GET / HTTP/1.1", host: "<my-server>"
   # 2020/10/27 02:49:00 [error] 36#36: *14299 [lua] balancer.lua:267: load_balancer(): failed to set server peer [some-k8s-svc.default.svc.cluster.local:5202] err: no host allowed while connecting to upstream, client: <mylaptopip>, server: , request: "GET / HTTP/1.1", host: "<my-server>"
   guochao@chao-20kna04gcd /tmp % kubectl --namespace apisix exec -it apisix-ctznq  -- curl some-k8s-svc.default.svc.cluster.local:5202
   # gRPC requires HTTP/2
   ```
   @membphis please take a look


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org