kekoke opened a new issue #6648:
URL: https://github.com/apache/apisix/issues/6648


   ### Description
   
   As subject, please refer to below information
   
   Route config:
   ```
   {
     "uri": "/*",
      "id": "sanctions",
     "name": "sanctions",
     "methods": [
       "GET",
       "POST",
       "PUT",
       "DELETE",
       "PATCH",
       "HEAD",
       "OPTIONS"
     ],
     "host": "uat-sanctions-api.com",
     "upstream": {
       "nodes": [
         {
           "host": "uat-sanctions-api.com",
           "port": 80,
           "weight": 1
         }
       ],
       "timeout": {
         "connect": 6,
         "send": 6,
         "read": 6
       },
       "type": "roundrobin",
       "checks": {
         "active": {
           "concurrency": 10,
           "healthy": {
             "http_statuses": [
               200,
               302
             ],
             "interval": 1,
             "successes": 2
           },
           "http_path": "/",
           "port": 80,
           "timeout": 1,
           "type": "http",
           "unhealthy": {
             "http_failures": 5,
             "http_statuses": [
               429,
               404,
               500,
               501,
               502,
               503,
               504,
               505
             ],
             "interval": 1,
             "tcp_failures": 2,
             "timeouts": 3
           }
         }
       },
       "scheme": "http",
       "pass_host": "pass",
       "keepalive_pool": {
         "idle_timeout": 60,
         "requests": 1000,
         "size": 320
       }
     },
     "status": 1
   }
   ```
   
![image](https://user-images.githubusercontent.com/17831817/158799338-62ff84c8-b0bc-4600-bf3b-a353415fafa5.png)
   
   
   Nginx config:
   
![image](https://user-images.githubusercontent.com/17831817/158801157-43bfdccb-8220-44b5-aaac-444f1ce42bf7.png)
   
   Postman testing:
   
![image](https://user-images.githubusercontent.com/17831817/158798776-6120f3e8-9dc2-41f6-a623-2549c2ea17d8.png)
   
   When I direct to call API, the API service is ok:
   
![image](https://user-images.githubusercontent.com/17831817/158799794-6e1a64f3-f79b-4838-9d84-a181e3e43e83.png)
   
   Could I how to fix this problem? 
   Thank you very much for your attention! -^-^
   
   
   ### Environment
   
   - APISIX version (`2.12.0`):
   - Operating system (`ubuntu`):
   - Nginx version (`1.18.0`):
   - etcd version, if relevant (`3.4.0`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


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