Maxim Dounin
May 02, 2011 02:54PM
Hello!

On Mon, May 02, 2011 at 01:15:08AM -0400, moorthi wrote:

> auth_http script and other setttings are done correctly,
> this is what i am getting in error.log
> upstream timed out (111: Connection timed out) while connecting to
> upstream

I believe this is clear enough: nginx wasn't able to connect to
upstream (backend) server. Check backend server and port returned
by auth_http script.

> it's saying +OK for user <username> in connect
> but after entering pass <password> it's giving above error.

After PASS command nginx will try to authenticate client with
auth_http script and then connect to upstream (backend) server.
As soon as connection to upstream times out - nginx should return
"-ERR internal server error" in reply to PASS command (if client
is still here).

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx imaps auth_http dovecot

Alokat March 06, 2011 04:26PM

Re: nginx imaps auth_http dovecot

Maxim Dounin March 06, 2011 07:18PM

Re: nginx imaps auth_http dovecot

moorthi April 29, 2011 12:41PM

Re: nginx imaps auth_http cyrus

moorthi May 02, 2011 01:15AM

Re: nginx imaps auth_http cyrus

moorthi May 03, 2011 02:09AM

Re: nginx imaps auth_http cyrus

dukzcry May 13, 2012 07:40AM

Re: nginx imaps auth_http dovecot

Maxim Dounin April 30, 2011 07:00AM

Re: nginx imaps auth_http dovecot

Shawn Za April 13, 2014 09:38PM

Re: nginx imaps auth_http dovecot

Maxim Dounin April 14, 2014 07:06AM

Re: nginx imaps auth_http cyrus

Maxim Dounin May 02, 2011 02:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 252
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready