2294648043 commented on issue #7416:
URL: https://github.com/apache/apisix/issues/7416#issuecomment-1179859323

   > Hi @2294648043, could you please provide the details and steps so I can 
try to reproduce them?
   > 
   > Usually, if APISIX returns 404, the requests don't match any rule you 
configured, but according to your description, we'd better reproduce them first.
   
   Under version 2.14.1, there are no clear reproduction steps for the time 
being. Under the same request address, it was still available a few minutes 
ago, no operation, all interfaces are 404
   
   apisix config:
   `apisix:
     node_listen: 9080              # APISIX listening port
     port_admin: 9180            # use a separate port
     enable_ipv6: false
   
     allow_admin:                  # 
http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
     #  - 0.0.0.0/0              # We need to restrict ip access rules for 
security. 0.0.0.0/0 is for test.
       - Intranet address/0
   
     admin_key:
       - name: "admin"
         key: 4y6c4z9j9z8a6n9h9x3c7t9r1g7i9o5n
         role: admin                 # admin: manage all configuration data
                                     # viewer: only can view configuration data
       - name: "viewer"
         key: 4054f7cf07e344346cd3f287985e76a2
         role: viewer
     
     enable_control: true
     control:
       ip: "0.0.0.0"
       port: 9092
   
   etcd:
     host:                           # it's possible to define multiple etcd 
hosts addresses of the same etcd cluster.
       - "etcd address"     #
     prefix: "/apisix"               # apisix configurations prefix
     timeout: 30                     # 30 seconds
   
   nginx_config: 
     error_log: "logs/error.log"
     error_log_level: "warn"
     worker_processes: auto
     enable_cpu_affinity: true
     worker_rlimit_nofile: 20480
     worker_shutdown_timeout: 240s
     event:
       work_connections: 1000000
     http:
       enable_access_log: true
       access_log: "logs/access.log"
       access_log_format_escape: json
       access_log_format: '{"time": "$time_iso8601", "remote_addr": 
"$proxy_protocol_addr", "x_forward_for": "$proxy_add_x_forwarded_for", 
"remote_user": "$remote_user", "bytes_sent": $bytes_sent, "request_time": 
$request_time, "status": $status, "vhost": "$host", "request_proto": 
"$server_protocol", "path": "$uri", "request_query": "$args", "request_length": 
$request_length, "duration": $request_time,"method": "$request_method", 
"http_referrer": "$http_referer", "http_user_agent": "$http_user_agent", 
"upstream_addr": "$upstream_addr", "upstream_response_time": 
"$upstream_response_time", "upstream_status": "$upstream_status", 
"upstream_scheme": "$upstream_scheme", "upstream_host": "$upstream_host", 
"upstream_uri": "$upstream_uri", "http_host": "$http_host", "request": 
"$request", "time_local": "$time_local", "body_bytes_sent": "$body_bytes_sent"}'
       keepalive_time: 60s
       client_header_timeout: 60s
       client_body_timeout: 60s
       client_max_body_size: 0
       send_timeout: 10s
       underscores_in_headers: "on"
       real_ip_header: "X-Real-IP"
       real_ip_from:                  # 
http://nginx.org/en/docs/http/ngx_http_realip_module.html#set_real_ip_from
         - 127.0.0.1
         - 'unix:'
       proxy_ssl_server_name: true
       upstream:
         keepalive: 320
         keepalive_requests: 1000
         keepalive_timeout: 60s
   
   plugin_attr:
     log-rotate:
           interval: 43200    # rotate interval (unit: second)
           max_kept: 6     # max number of log files will be kept
           enable_compression: false    # enable log file compression(gzip) or 
not, default false
     prometheus:
       export_addr:
         ip: "0.0.0.0"
         port: 9091
   
   plugins:
     - api-breaker
     - authz-casbin
     - authz-casdoor
     - authz-keycloak
     - aws-lambda
     - azure-functions
     - basic-auth
     - batch-requests
     - clickhouse-logger
     - client-control
     - consumer-restriction
     - cors
     - csrf
     - datadog
     - dubbo-proxy
     - echo
     - error-log-logger
     - example-plugin
     - ext-plugin-post-req
     - ext-plugin-post-resp
     - ext-plugin-pre-req
     - fault-injection
     - file-logger
     - forward-auth
     - google-cloud-logging
     - grpc-transcode
     - grpc-web
     - gzip
     - hmac-auth
     - http-logger
     - ip-restriction
     - jwt-auth
     - kafka-logger
     - kafka-proxy
     - key-auth
     - ldap-auth
     - limit-conn
     - limit-count
     - limit-req
     - log-rotate
     - loggly
     - mocking
     - node-status
     - opa
     - openid-connect
     - opentelemetry
     - openwhisk
     - prometheus
     - proxy-control
     - proxy-mirror
     - proxy-rewrite
     - public-api
     - real-ip
     - redirect
     - referer-restriction
     - request-id
     - request-validation
     - response-rewrite
     - rocketmq-logger
     - server-info
     - serverless-post-function
     - serverless-pre-function
     - skywalking-logger
     - skywalking
     - sls-logger
     - splunk-hec-logging
     - syslog
     - tcp-logger
     - traffic-split
     - ua-restriction
     - udp-logger
     - uri-blocker
     - wolf-rbac
     - zipkin
     - jwt-for-1ren`


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