You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "PlasticJonbenetDoll (via GitHub)" <gi...@apache.org> on 2024/03/18 05:31:47 UTC

Re: [I] help request: 503 Service Temporarily Unavailable [apisix]

PlasticJonbenetDoll commented on issue #11051:
URL: https://github.com/apache/apisix/issues/11051#issuecomment-2002961539

   It's https.
   
   I think I have found the reason for this error. I needed to add dns_resolver to my config. I did that, but the error still continues. 
   
   My config.yaml:
   
   ```
   apisix:
     router:
       http: 'radixtree_uri_with_parameter'
       dns_resolver:                 # If not set, read from `/etc/resolv.conf`
         - 10.8.1.15
         - 10.8.1.16
         - 10.8.70.70
       dns_resolver_valid: 30        # Override the default TTL of the DNS records.
     ssl:
       ssl_protocols: TLSv1.2 TLSv1.3
       ssl_ciphers: TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384
       #ssl_ciphers: ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
       #fallback_sni: "api.stage.kisc.kz"
   
   deployment:
     role: traditional
     role_traditional:
       config_provider: etcd
     admin:
       admin_key:
         - name: admin
           key: edd1c9f034335f136f87ad84b625c8f1
           role: admin
     etcd:
       host:
         - "http://10.11.53.96:2379"
       prefix: "/apisix"
       timeout: 30
   
   nginx_config:                     
     error_log: logs/error.log
     error_log_level:  error
     http:
       proxy_ssl_server_name: true
   ```
   


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