访问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服务

原文地址:http://blog.51cto.com/net881004/2145177

时间: 2024-08-29 22:54:59

访问webmail提示An error occurred错误的相关文章

iis7错误提示An error occurred on the server when processing the URL...

win7下面运行ASP程序总是出错,原来是站点配置的问题... 问题一:MS Jet引擎改变了临时目录的位置,但是又没有对临时目录的存取权限,导致数据库使用失败(因为sql问题,后改用access数据库测试). 解决办法: 给“系统盘:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp”目录添加一个“Authenticated Users”的用户,其中AppData目录是隐藏的,在进入的时候可以直接在地址栏输入路径,或者在文件夹选

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

由于我是在centos系统的vps中遇到的问题,并不清楚以下方法是否适用于其他linux系统,不过我想是适用的,只不过命令有差别. centos启动提示an error occurred during the file system check这个问题一般是没有正常关机,直接断电,或者磁盘挂载出错导致.先输入root密码,-----------------------------然后使用修复磁盘命令fsck,也可以加一些参数.-a 自动修复文件系统,不询问任何问题.-A 依照/etc/fstab

myeclipse部署时An internal error occurred 错误的几种情况

myecplise上将工程部署到应用下时,经常出现 An internal error occurred during: "Add Deployment". java.lang.NullPointException 错误.很让人郁闷. 究其原因,一般是因为项目从别处导入的,从cvs上down下来的等. 原因一.jdk版本不一致.具体步骤如下: 右键项目名→Properties→Java Build Path→Libraries→选中JRE System Library[Sun JDK

关于ThinkPHP下使用Uploadify插件 仅有火狐提示HTTP Error (302)错误的解决办法

'VAR_SESSION_ID' => 'session_id', //修复uploadify插件无法传递session_id的bug 首先在项目目录中的Common/Conf/config.php中加入上面一条配置. 然后在你的上传页面的JS代码中加入session_id=>session_id()参数即可   "uploader": "{:U('Admin/Config/uploadify',array('session_id'=>session_id(

转: rdlc报表An error occurred during local report processing错误

在开发环境的电脑上可生成报表,但是一到客户端就提示An error occurred during local report processing错误. 猜想是缺dll,补充上 Microsoft.ReportViewer.Common.dll Microsoft.ReportViewer.WinForms.dll 结果问题依旧,难道还缺? google后得知还缺一个 Microsoft.ReportViewer.ProcessingObjectModel.dll 这个可不好找,在C:\Wind

解决IIS7中出现An error occurred on the server when processing the URL错误提示的方法

在IIS7上配置一个asp程序,出现了一个错如提示: An error occurred on the server when processing the URL. Please contact the system administrator.If you are the system administrator please click here to find out more about this error. 这个问题一般是由于关闭错误调试信息的问题, 父路径没有开启的原因: 1.点

解决IIS7运行ASP提示错误:An error occurred on the server when processing the URL. Please contact the system administrator

原文:解决IIS7运行ASP提示错误:An error occurred on the server when processing the URL. Please contact the system administrator 在WINDOWS7或SERVER2008上安装了IIS7,调试ASP程序时出现以下错误: An error occurred on the server when processing the URL. Please contact the system admini

asp IIS部署An error occurred on the server when processing the URL错误提示解决

An error occurred on the server when processing the URL. Please contact the system administrator.If you are the system administrator please click here to find out more about this error. 其实这是 IIS7 对 ASP 程序发送的一个脚本错误消息,只要是程序中有错误 就会出现这样的错误提示,所以关键的一步是要将具体

SharePoint Error occurred in deployment step 'Recycle IIS Application Pool': 0x80070005:拒绝访问

错误出现的前提:多个用户在一台机器上做开发,使用非系统管理员账号时会出现,因为一般创建网站集时指定管理员为系统管理员: Error occurred in deployment step 'Recycle IIS Application Pool': 0x80070005:拒绝访问 使用 Visual Studio 2010 部署时报错,错误截图如下: 原因:当前部署代码的用户不是部署代码网站集的管理员,加上即可: 一般网站集管理员在网站集创建是指定的: 解决这个错误,可以增加权限: 步骤: