[ejabberd] Nginx proxy problem

Alex Luya alexander.luya at gmail.com
Thu Oct 11 05:12:02 MSK 2012

I tried to run emit(a gwt implemention of xmpp client) with ejabberd,and
it works fine. I noticed that the developers of emit use a java servlet
to proxy request to ejabberd:


And I want to bypass this proxy,so I follow this post:


But javascript client(complied from emit) takes long time to connect to
ejabbered,and then disconnect quickly,and the nginx error log like this:

2012/10/06 17:04:33 [error] 5920#0: *52 upstream timed out (110:
Connection timed out) while connecting to upstream, client:,
server: localhost, request: "POST /http-bind HTTP/1.1", 
upstream: "", host: "",
referrer: ""

Can anybody tell me what I did wrong?

My configuration: firefox-13 ejabberd-2.1.11 nginx-1.0.5 ubuntu-11.10

(since same client code(js code complied from gwt) with servlent proxy
works fine,so I think it may be a nginx configuration problem)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20121011/71282f99/attachment.html>

More information about the ejabberd mailing list