You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "workman-Lu (via GitHub)" <gi...@apache.org> on 2024/06/03 10:42:17 UTC

[I] bug: Client encounters “server misbehaving” DNS resolution error when connecting to etcd [apisix]

workman-Lu opened a new issue, #11315:
URL: https://github.com/apache/apisix/issues/11315

   ### Current Behavior
   
   Client encounters “server misbehaving” DNS resolution error when connecting to etcd
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   
   ## Description
   
   When attempting to connect to the local etcd server, the client fails to resolve the server's address, resulting in a "server misbehaving" error from the DNS resolver.
   
   ## Steps to Reproduce
   
   1. Start etcd server on localhost (`127.0.0.1`) at port `2379`.
   2. Configure the system to use DNS server `10.10.18.11` for domain name resolution.
   3. Run etcd client to connect to the etcd server.
   
   ## Expected Behavior
   
   The client should successfully connect to the etcd server without encountering any DNS resolution errors.
   
   ## Observed Behavior
   
   The client fails with the following error message:
   
   ```json
   {
     "level": "warn",
     "ts": "2024-06-03T09:11:01.633Z",
     "logger": "etcd-client",
     "caller": "v3@v3.5.5/retry_interceptor.go:62",
     "msg": "retrying of unary invoker failed",
     "target": "etcd-endpoints://0xc0004dc000/127.0.0.1:2379",
     "attempt": 0,
     "error": "rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = \"transport: Error while dialing dial tcp: lookup etcd on 10.10.18.11:53: server misbehaving\""
   }
   This suggests that there is an issue with the DNS resolution process using the DNS server at 10.10.18.11.
   
   Environment
   etcd version: (e.g., v3.5.5)
   OS (e.g., Linux distro, Windows version): [Your Operating System]
   Network configuration: [Any relevant network config, firewall settings, etc.]
   Additional Information
   [Any other information that may be relevant, such as logs from the etcd server, network diagnostic output, or attempts made to troubleshoot the issue.]
   
   Remember that issues need to be reproducible by the maintainers, so providing clear reproduction steps is critical. If the problem is intermittent or cannot easily be reproduced, then it’s important to include as much context and environmental information as possible to help diagnose the issue.
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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-unsubscribe@apisix.apache.org.apache.org

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


Re: [I] bug: Client encounters “server misbehaving” DNS resolution error when connecting to etcd [apisix]

Posted by "workman-Lu (via GitHub)" <gi...@apache.org>.
workman-Lu closed issue #11315: bug: Client encounters “server misbehaving” DNS resolution error when connecting to etcd
URL: https://github.com/apache/apisix/issues/11315


-- 
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-unsubscribe@apisix.apache.org

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


Re: [I] bug: Client encounters “server misbehaving” DNS resolution error when connecting to etcd [apisix]

Posted by "workman-Lu (via GitHub)" <gi...@apache.org>.
workman-Lu commented on issue #11315:
URL: https://github.com/apache/apisix/issues/11315#issuecomment-2144873514

   what's main 0xc0004dc000?   Memory  address?


-- 
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-unsubscribe@apisix.apache.org

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