博客网站报错
in 技术 with 0 comment 阅读:948次
博客网站报错
in 技术 with 0 comment 阅读:948次

1、报错信息如下

2024/04/30 15:10:18 [notice] 32569#0: *1997 "(.*)" matches "/", client: 185.242.226.80, server: www.liudu.love, request: "GET / HTTP/1.1", host: "123.57.142.132"
2024/04/30 15:10:18 [notice] 32569#0: *1997 rewritten data: "//index.php", args: "", client: 185.242.226.80, server: www.liudu.love, request: "GET / HTTP/1.1", host: "123.57.142.132"
2024/04/30 15:10:18 [notice] 32569#0: *1997 "^/\.well-known/.*\.(php|jsp|py|js|css|lua|ts|go|zip|tar\.gz|rar|7z|sql|bak)$" does not match "//index.php", client: 185.242.226.80, server: www.liudu.love, request: "GET / HTTP/1.1", host: "123.57.142.132"
2024/04/30 15:10:18 [notice] 32569#0: *1997 "^(.+?\.php)(/.+)$" does not match "//index.php", client: 185.242.226.80, server: www.liudu.love, request: "GET / HTTP/1.1", host: "123.57.142.132"
2024/04/30 15:10:28 [info] 32569#0: *1997 client 185.242.226.80 closed keepalive connection
2024/04/30 15:10:36 [notice] 32570#0: *1999 "(.*)" matches "/action/service", client: 123.57.142.132, server: www.liudu.love, request: "POST /action/service?do=ping HTTP/1.1", host: "www.liudu.love"
2024/04/30 15:10:36 [notice] 32570#0: *1999 rewritten data: "/index.php", args: "do=ping", client: 123.57.142.132, server: www.liudu.love, request: "POST /action/service?do=ping HTTP/1.1", host: "www.liudu.love"
2024/04/30 15:10:36 [notice] 32570#0: *1999 "^/\.well-known/.*\.(php|jsp|py|js|css|lua|ts|go|zip|tar\.gz|rar|7z|sql|bak)$" does not match "/index.php", client: 123.57.142.132, server: www.liudu.love, request: "POST /action/service?do=ping HTTP/1.1", host: "www.liudu.love"
2024/04/30 15:10:36 [notice] 32570#0: *1999 "^(.+?\.php)(/.+)$" does not match "/index.php", client: 123.57.142.132, server: www.liudu.love, request: "POST /action/service?do=ping HTTP/1.1", host: "www.liudu.love"
2024/04/30 15:10:36 [info] 32570#0: *1999 client 123.57.142.132 closed keepalive connection
2024/04/30 15:10:36 [error] 32570#0: *1991 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /www/wwwroot/123.57.142.132/usr/plugins/AutoTags/Plugin.php on line 81PHP message: PHP Warning:  Invalid argument supplied for foreach() in /www/wwwroot/123.57.142.132/usr/plugins/AutoTags/Plugin.php on line 103PHP message: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/123.57.142.132/usr/plugins/AutoTags/Plugin.php on line 112PHP message: PHP Warning:  Invalid argument supplied for foreach() in /www/wwwroot/123.57.142.132/usr/plugins/AutoTags/Plugin.php on line 127PHP message: PHP Warning:  implode(): Invalid arguments passed in /www/wwwroot/123.57.142.132/usr/plugins/AutoTags/Plugin.php on line 130" while reading response header from upstream, client: 182.116.62.83, server: www.liudu.love, request: "POST /action/contents-post-edit?_=33c8b1ea1e6adc28ce87aa48f6ec8b83 HTTP/2.0", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:", host: "www.liudu.love", referrer: "https://www.liudu.love/admin/write-post.php?cid=285"
2024/04/30 15:10:37 [notice] 32570#0: *1991 "^/\.well-known/.*\.(php|jsp|py|js|css|lua|ts|go|zip|tar\.gz|rar|7z|sql|bak)$" does not match "/admin/manage-posts.php", client: 182.116.62.83, server: www.liudu.love, request: "GET /admin/manage-posts.php?page=1 HTTP/2.0", host: "www.liudu.love", referrer: "https://www.liudu.love/admin/write-post.php?cid=285"
2024/04/30 15:10:37 [notice] 32570#0: *1991 "^(.+?\.php)(/.+)$" does not match "/admin/manage-posts.php", client: 182.116.62.83, server: www.liudu.love, request: "GET /admin/manage-posts.php?page=1 HTTP/2.0", host: "www.liudu.love", referrer: "https://www.liudu.love/admin/write-post.php?cid=285"

2、解决方法

关闭AutoTags插件

3、原因排查

修改了NGINX 性能、超时配置
查看了php配置
查看了MySQL配置
开启debug日志级别发现

Responses
您是第 273354 位访客