nic-6443 commented on issue #9273:
URL: https://github.com/apache/apisix/issues/9273#issuecomment-1502720569

   ```
   local function _receive_status(sock)
       local line, err = sock:receive("*l")
       if not line then
           return nil, nil, nil, err
       end
   
       local version = tonumber(str_sub(line, 6, 8)) -- line is a boolean?
   ```
   The error message is indeed very strange. According to the [documentation of 
the 
`tcpsock:receive`](https://github.com/openresty/lua-nginx-module/tree/v0.10.21#tcpsockreceive)
 function, the returned data should be a string type, but the error here says 
that it is a boolean type variable.
   Can you help capture a network packet from apisix to consul using tcpdump? 
This way we can see what kind of tcp payload triggered the above error.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

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

Reply via email to