arulrajnet commented on issue #10505:
URL: https://github.com/apache/apisix/issues/10505#issuecomment-3311607101

   I am using apisix docker verison `3.13.0-debian`. Got the following error, 
but the request is proxied to the upstream successfully. 
   
   ```
   2025/09/19 09:31:18 [error] 33#33: *82474 [lua] resolver.lua:80: 
parse_domain(): failed to parse domain: ${{API_SERVICE_HOST}}, error: failed to 
query the DNS server: dns server error: 3 name error, client: 192.168.65.1, 
server: _, request: "GET /api/v1/users/me HTTP/2.0", host: "localhost"
   2025/09/19 09:31:18 [error] 33#33: *82474 [lua] upstream.lua:97: 
parse_domain_for_nodes(): dns resolver domain: ${{API_SERVICE_HOST}} error: 
failed to query the DNS server: dns server error: 3 name error, client: 
192.168.65.1, server: _, request: "GET /api/v1/users/me HTTP/2.0", host: 
"localhost"
   ``` 
   
   The apisix.yaml has the following nodes
   
   ```
   services:
     - id: 2
       name: whoami-service
       upstream:
         type: roundrobin
         nodes:
           "${{API_SERVICE_HOST}}:${{API_SERVICE_PORT}}": 1
   ```
   
   Is there any workaround to avoid this error log? My logs are having full of 
this log. 
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to