Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  Ejabberd unstable problem

Guest
Posted: Sat Jul 10, 2010 12:42 pm Reply with quote
Guest
Hi guys,

I am new to ejabberd, I tried to use ejabberd with spectrum(version 0.2) and nginx(0.7.65) and iJab([b][b]iJab V1.0 beta3-2) in Ubuntu 10.04. I am using ejabberd version 2.1.4 (x86 Linux), which I downloaded from http://www.process-one.net/en/ejabberd/downloads. Now my iJab can connect to ejabberd by http_bind through nginx. But the problem is that the plate-form is unstable. It is difficult to connect to ejabberd, usually I have to tried several times. And sometimes, my client will offline. I don't know whether this is the problem of ejabberd, as I don't know much about ejabberd. Anyone have an idea? Any idea will be great help to me.

Tiancong

Post received from mailinglist
Guest
Posted: Sat Jul 10, 2010 2:06 pm Reply with quote
Guest
Tiancong,


I am using ejabberd 2.1.4 with erlang R13B4 on ubuntu 10.04 and apache with strophe on another ubuntu 10.04 machine, both these machines are pretty low spec and have other services running on them. I have absolutely no problems at all with bosh connections.


I would suggest looking at ijab, as I'm sure I saw posts about ijab ejabberd problems (quite some time ago though), I would also check that your proxy rules in nginx are good and check all your log files for any errors (probably worth setting ejabberd to debug output to check). Also in the one attempt I made with spectrum, I never got it to work sensibly (so I gave up) Smile


Hope that helps, but check you logs to see any failures on connection attempts.


Cheers


Kirk

On 10 Jul 2010, at 13:41, ZHENG Tiancong <tiancong.zheng@telecom-bretagne.eu (tiancong.zheng@telecom-bretagne.eu)> wrote:



Quote:
Hi guys,

I am new to ejabberd, I tried to use ejabberd with spectrum(version 0.2) and nginx(0.7.65) and iJab([b][b]iJab V1.0 beta3-2) in Ubuntu 10.04. I am using ejabberd version 2.1.4 (x86 Linux), which I downloaded from http://www.process-one.net/en/ejabberd/downloads. Now my iJab can connect to ejabberd by http_bind through nginx. But the problem is that the plate-form is unstable. It is difficult to connect to ejabberd, usually I have to tried several times. And sometimes, my client will offline. I don't know whether this is the problem of ejabberd, as I don't know much about ejabberd. Anyone have an idea? Any idea will be great help to me.

Tiancong

Quote:
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru (ejabberd@jabber.ru)
http://lists.jabber.ru/mailman/listinfo/ejabberd


Post received from mailinglist
Guest
Posted: Sat Jul 10, 2010 2:30 pm Reply with quote
Guest
With ejabberd 2.1.4 you can bypass nginx whatsoever and not proxy http_bind. Just use full URL for http_bind in your javascript code, like so:

http://jabber.mycompany.com:5280/http-bind/


[/url]By eliminating nginx it will probably be easier for you to find what's going wrong.


Boris

2010/7/10 ZHENG Tiancong <tiancong.zheng@telecom-bretagne.eu (tiancong.zheng@telecom-bretagne.eu)>
Quote:
Hi guys,

I am new to ejabberd, I tried to use ejabberd with spectrum(version 0.2) and nginx(0.7.65) and iJab([b][b]iJab V1.0 beta3-2) in Ubuntu 10.04. I am using ejabberd version 2.1.4 (x86 Linux), which I downloaded from [url=http://www.process-one.net/en/ejabberd/downloads]http://www.process-one.net/en/ejabberd/downloads
. Now my iJab can connect to ejabberd by http_bind through nginx. But the problem is that the plate-form is unstable. It is difficult to connect to ejabberd, usually I have to tried several times. And sometimes, my client will offline. I don't know whether this is the problem of ejabberd, as I don't know much about ejabberd. Anyone have an idea? Any idea will be great help to me.

Tiancong

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru (ejabberd@jabber.ru)
http://lists.jabber.ru/mailman/listinfo/ejabberd





Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum