Sometime meet Get Peer Error


#1

I have this in error.log as below.

stack traceback:
coroutine 0:
/usr/local/share/lua/5.1/resty/dns/balancer.lua: in function ‘getPeer’
./kong/runloop/balancer.lua:798: in function ‘execute’
./kong/runloop/handler.lua:306: in function ‘balancer_setup_stage2’
./kong/runloop/handler.lua:826: in function ‘after’
./kong/init.lua:718: in function ‘access’
access_by_lua(nginx-kong.conf:91):2: in function <access_by_lua(nginx-kong.conf:91):1>, client: 192.168.0.125, server: kong, request: “POST /service HTTP/1.0”, host: “api.haihu.com

Seems my product env running a for a period of time. It must be occurred.(Just under 100 QPS,Probability of about one fifth) . And Kong will return kong error.An unexpected error occurred.