访问webmail提示An error occurred错误

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了访问webmail提示An error occurred错误相关的知识,希望对你有一定的参考价值。

访问web提示如下错误:

技术分享图片

nginx日志报upstream timed out (110: Connection timed out) while reading response header错误。



环境:nginx做代理,转给apache

解决办法:
1、原因在于nginx proxy的超时时间太短,建议修改如下配置文件。

[[email protected] ~]# vi /usr/local/kk-mail/config/nginx/proxy.conf
proxy_connect_timeout       600;
proxy_read_timeout          600;
proxy_send_timeout          600;


[[email protected] ~]# vi /usr/local/kk-mail/config/nginx/vhost/default.conf
server {
    listen              80 default;
    charset             utf-8;
    server_name         mail.test.com;
    large_client_header_buffers 4 16k;
    client_max_body_size 300m;
    client_body_buffer_size 128k;
    proxy_connect_timeout 600;
    proxy_read_timeout 600;
    proxy_send_timeout 600;
    proxy_buffer_size 64k;
    proxy_buffers   4 32k;
    proxy_busy_buffers_size 64k;
    proxy_temp_file_write_size 64k;
    ………………………………………………………………………………………………


2、最后重启nginx服务

以上是关于访问webmail提示An error occurred错误的主要内容,如果未能解决你的问题,请参考以下文章

an error occurred怎么解决?

安装软件失败(错误消息:An unknown error has occurred)

安装CentOS时提示an error has occurred. - no valid devices were found

centos启动提示an error occurred during the file system check

我在linux下安装myeclipse7.5时提示An error has occurred. See the log file

An SWT error has occurred