bin-53 commented on issue #9890:
URL: https://github.com/apache/apisix/issues/9890#issuecomment-1649239795

   > @bin-53 Please share your route and consumer configuration as well
   
   the route:
   ```
   {
       "id": "470419635024429758",
       "create_time": 1689921552,
       "update_time": 1690268422,
       "uri": "/http/*",
       "name": "测试http",
       "priority": 1,
       "methods": [
           "PUT",
           "DELETE",
           "PATCH",
           "HEAD",
           "OPTIONS",
           "GET",
           "POST"
       ],
       "host": "yangcong.com.cn",
       "plugins": {
           "basic-auth": {
               "disable": false
           },
           "proxy-rewrite": {
               "headers": {
                   "ceshi": "aaa",
                   "ceshi1": "bbb",
                   "ceshi3": "ccc"
               },
               "method": "POST",
               "scheme": "http"
           },
           "redirect": {
               "http_to_https": true
           }
       },
       "upstream": {
           "nodes": [
               {
                   "host": "192.168.97.65",
                   "port": 9080,
                   "weight": 1
               },
               {
                   "host": "10.4.16.12",
                   "port": 19080,
                   "weight": 1
               }
           ],
           "retries": 3,
           "timeout": {
               "connect": 30,
               "send": 30,
               "read": 60
           },
           "type": "roundrobin",
           "checks": {
               "active": {
                   "concurrency": 10,
                   "healthy": {
                       "http_statuses": [
                           200,
                           302
                       ],
                       "interval": 10,
                       "successes": 2
                   },
                   "http_path": "/http/1k.txt",
                   "https_verify_certificate": true,
                   "port": 9080,
                   "req_headers": [
                       "ces:xwa",
                       "ces111:xwa"
                   ],
                   "timeout": 3,
                   "type": "http",
                   "unhealthy": {
                       "http_failures": 5,
                       "http_statuses": [
                           429,
                           404,
                           500,
                           501,
                           502,
                           503,
                           504,
                           505
                       ],
                       "interval": 5,
                       "tcp_failures": 6,
                       "timeouts": 3
                   }
               },
               "passive": {
                   "healthy": {
                       "http_statuses": [
                           200
                       ],
                       "successes": 5
                   },
                   "type": "https",
                   "unhealthy": {
                       "http_failures": 2,
                       "http_statuses": [
                           429,
                           500
                       ],
                       "tcp_failures": 2,
                       "timeouts": 7
                   }
               }
           },
           "scheme": "https",
           "pass_host": "pass",
           "keepalive_pool": {
               "idle_timeout": 60,
               "requests": 1000,
               "size": 320
           },
           "retry_timeout": 5000
       },
       "status": 1
   }
   ```
   the consumer is:
   ```
   {
       "username": "basic_auth",
       "desc": "basic_auth",
       "plugins": {
           "basic-auth": {
               "disable": false,
               "password": "1234",
               "username": "xubin123"
           }
       },
       "create_time": 1689930264,
       "update_time": 1690257196,
       "consumerNameStr": "basic-auth"
   }
   ```
   


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