beginnerWJC commented on issue #8768:
URL: https://github.com/apache/apisix/issues/8768#issuecomment-1428999254

   l use apisix-java-plugin , the method requiredBody() default value is false 
,l set true to find this issuce
   
![image](https://user-images.githubusercontent.com/37164104/218619287-b48464c1-a892-4efa-b523-9d05c4f67907.png)
   
![image](https://user-images.githubusercontent.com/37164104/218618712-6dd0c91a-4be0-4f13-851a-1a48d8a6b571.png)
   the router :
   `{
     "uri": "/oam/2.0/tenant/upload/vox",
     "name": "testfile",
     "methods": [
       "POST"
     ],
     "plugins": {
       "ext-plugin-pre-req": {
         "conf": [
           {
             "name": "TestPostFilter",
             "value": ""
           }
         ],
         "disable": false
       }
     },
     "upstream_id": "435624104997946125",
     "status": 1
   }`
   postman test:
   
![image](https://user-images.githubusercontent.com/37164104/218619668-9bc46798-b9f1-430e-a0ab-82a73840784a.png)
   log:
   `2023/02/14 01:56:10 [warn] 48#48: *3355 a client request body is buffered 
to a temporary file /usr/local/apisix/client_body_temp/0000000001, client: 
172.30.65.0, server: _, request: "POST /oam/2.0/tenant/upload/vox HTTP/1.1", 
host: "192.168.60.21"
   2023/02/14 01:56:10 [error] 48#48: *3355 [lua] init.lua:841: phase_func(): 
failed to reply RPC_EXTRA_INFO: the max length of data is 16777215 but got 
24852340, client: 172.30.65.0, server: _, request: "POST 
/oam/2.0/tenant/upload/vox HTTP/1.1", host: "192.168.60.21"
   2023/02/14 01:56:10 [warn] 48#48: *3355 [lua] plugin.lua:901: run_plugin(): 
ext-plugin-pre-req exits with http status code 503, client: 172.30.65.0, 
server: _, request: "POST /oam/2.0/tenant/upload/vox HTTP/1.1", host: 
"192.168.60.21"
   172.30.65.0 - - [14/Feb/2023:01:56:10 +0000] 192.168.60.21 "POST 
/oam/2.0/tenant/upload/vox HTTP/1.1" 503 269 0.338 "-" "PostmanRuntime/7.28.4" 
- - - "http://192.168.60.21"`
   
   


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