berkaycirak opened a new issue, #12512:
URL: https://github.com/apache/apisix/issues/12512

   ### Current Behavior
   
   Hey, I am using environment variables on `apisix.yaml`. Everything works 
well and my services are responding without an issue but I couldn't understand 
why I am getting that parsing error eventhough there is no issue on the 
functionality?
   
   ```
   2025/08/12 10:55:20 [error] 36#36: *13787 [lua] upstream.lua:97: 
parse_domain_for_nodes(): dns resolver domain: ${{UPSTREAM_ADDRESS}} error: 
failed to query the DNS server: dns server error: 3 name error, client: 
172.18.0.1, server: _, request: "GET /ping HTTP/1.1", host: "localhost:9080"
   ```
   
   #### Apisix Yaml
   
   ```yaml
   routes:
     - id: health
       uri: /_gateway/health
       methods: ["GET"]
       plugins:
         mocking:
            response_status: 200
            content_type: application/json
            response_example: '{"status":"ok"}'
     - id: ping-pong
       uri: /ping
       methods: ["GET"]
       upstream_id: 1
   
   upstreams:
     - id: 1
       type: roundrobin
       nodes:
         "${{UPSTREAM_ADDRESS}}:${{UPSTREAM_PORT}}": 1 # value is "weight". 
That means, coming requests to nodes will be splitted based on that weight.
   
   #END
   ```
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   -
   
   ### Environment
   
   Standalone mode
   
   ```yaml
   # Minimal APISIX config for standalone mode
   apisix:
     node_listen: 
     - ${PORT}
     enable_admin: false
     
   
   deployment:
     role: data_plane # Standalone mode, no etcd
     role_data_plane:
       config_provider: yaml
   
   ```
   


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

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

Reply via email to