错误提示:Failed to load resource incomplete chunked encoding nginx

今天用自己写的抓取器抓pexels的图片,运行一段时间后程序自动停止了,查看Console出现了如题的错误提示。接下来寻找解决办法吧:

尝试一:更改用户组权限

You can find the user that your webserver is using by executing

ps aux | grep httpd

if httpd doesn’t show any information, you can try using

ps aux | grep apache

There should also be a user defined in your httpd.conf file.

One way to find this is egrep -iw --color=auto 'user|group' /path/to/httpd/conf

以上代码查看目前用户组。CentOS没有www-data用户组,可使用apache代替。

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注