Vue request API, nginx occasionally reports 400 Chrome network panel prompts net:ERR_CONNECTION_RESET

Development environment:

the development environment built by CentOs/nginx/php-fpm. The front and rear ends of the project are completely separated. When the front frame requests the interface with Vue, it occasionally prompts Provisional headers are shown (net::ERR_CONNECTION_RESET)

< H2 > error prompt < / H2 >

the following is chrome"s network panel prompt
clipboard.png

clipboard.png

nginx

nginxaccess_log error_log

error_log
nginxrewriterewrite99%
clipboard.png

access_log
clipboard.png

compared with access_log and error_log, it is found that other API requests are normal. First of all, the notice prompt of error_log

"^/(.*)$" matches "/index/..."
 rewritten data: "/index.php/...

match to the rewrite instruction, then request the rewrite to the real url, and find the access log of the corresponding time and ip in the access_log at the same time. But when a problem occurs, nginx"s access_log finds a record of 400, and error_log prompts

 client prematurely closed connection, client: 113.65.13.17

when this error occurs, access_log does not see the request record of the rewrite in the url while the url is in the url.

< H2 > problem exploration < / H2 >

this problem has occurred for more than half a month, but the real cause has not been found out. Baidu nginx configuration in the header head size problem, set, or this problem. It should be possible to rule out

caused by excessive header.
    client_header_buffer_size 64k;
    large_client_header_buffers 4 128k;
< H2 > solve < / H2 >

brothers and buddies, please give me a lot of advice! Thank you in advance ~

Mar.28,2021

Wow, neither can I solve this problem. Sometimes there are mistakes and sometimes there are no mistakes.


excuse me, have you solved this problem


the same request? have you been unable to solve this problem all the time? is there a boss who can't solve it all the time?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3304c-4d4fc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3304c-4d4fc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?