• how do I know if I have the XMPP server ejabberd service avaiable? I use hostgator as my hosting company

  • You need to install ejabberd on your server. Its not installed yet on your webserver. 

  • Hello Brice,

    It seems most cheap hosting companies don't offer the ability to add this. Is there any way to use a public server or something like that? Do all conversations have to be authenticated with username password?

    With Love,
    Uddhava dāsa

  • What was updated in this version?

  • Hi!

    I forked the repo on http://github.com/caedesvvv/beechat

    It fixes a few issues with tokens, and changes the behaviour a little bit:

    • cooked js doesnt cook tokens or languages (separated now to another file)
    • db data now can be set from the admin panel
    • users have to enable the chat in their settings
    • migrate.php added that will make the initial sync
    • make the get roster js action asynchronous

    and probably more.. check the diffs. for now I consider this chat beta, this is why i added the option so every user has to enable the chat personally. also, there are still a few error_logs here and there to debug things.

    anyways, we enabled it on http://n-1.cc (production)

    thx for this great chat, and keep it up!

  • Hi there are configuration in the perl authentication script,

    use DBI;
    use Unix::Syslog qw(:macros :subs);
     
    my $dsn = "DBI:mysql:preprod:localhost:5333";
    my $db_username = "DBUSERNAME";
    my $db_password = "DBPASSWORD";
    my $db_table = "YOURELGGPREFIX_users_entity";

    What preprod, DBUSERNAME, should be replaced with ? I tried the beechat database but failed to authenticate.

    Thanks

  • preprod should be the database name, and DBUSERNAME the username.

    I also had to change the port to 3306 (not sure where that 5333 is coming from... although in one of my machines it did work with 5333... ), and in $db_table be careful, because there is an extra _ after the prefix in the example, in my case it goes like:

     my $db_table = "elggusers_entity";

    because my PREFIX is "elgg".

  • Maybe the port is the problem. Thanks

  • ejabberd database username or elgg database user name ?

     

  • I get the ejabberd log below :

     

    =INFO REPORT==== 2010-07-16 18:23:32 ===

    D(<0.409.0>:ejabberd_http_bind:1104) : --- incoming data ---

    <body rid='146249403' xmlns='http://jabber.org/protocol/httpbind' to='jammaah.ne                                              t' xml:lang='en' wait='60' hold='1' content='text/xml; charset=utf-8' ver='1.6'                                               xmpp:version='1.0' xmlns:xmpp='urn:xmpp:xbosh'/>

     --- END ---

     

    =INFO REPORT==== 2010-07-16 18:23:32 ===

    D(<0.409.0>:ejabberd_http_bind:117) : Starting session

     

    =INFO REPORT==== 2010-07-16 18:23:32 ===

    D(<0.410.0>:ejabberd_http_bind:294) : started: {"10a8c7767eb480073f4a2423d1903dd                                              071ec7811",

                                                    [],

                                                    {{127,0,0,1},34829}}

     

    =INFO REPORT==== 2010-07-16 18:23:32 ===

    I(<0.411.0>:ejabberd_net:25) : gethostname {socket_state,ejabberd_http_bind,

                                                {http_bind,<0.410.0>,

                                                 {{127,0,0,1},34829}},

                                                ejabberd_http_bind}

     

     

    =INFO REPORT==== 2010-07-16 18:23:37 ===

    D(<0.410.0>:ejabberd_http_bind:531) : terminate: Deleting session 10a8c7767eb480                                              073f4a2423d1903dd071ec7811

     

    =INFO REPORT==== 2010-07-16 18:23:37 ===

    D(<0.409.0>:ejabberd_http_bind:237) : got pid: <0.410.0>

     

    =INFO REPORT==== 2010-07-16 18:23:37 ===

    D(<0.409.0>:ejabberd_http_bind:267) : Create session: "10a8c7767eb480073f4a2423d                                              1903dd071ec7811"

     

    =INFO REPORT==== 2010-07-16 18:23:37 ===

    D(<0.409.0>:ejabberd_http_bind:788) : Looking for session: "10a8c7767eb480073f4a                                              2423d1903dd071ec7811"

  • The beechat client cant connect to the ejabberd server. The status always "connecting" instead of "authenticating" and "online"

  • Solved.  Cant connect to the ejabberd server version 2.1.4..  works on previous version..

Brice

CTO at Beechannels

Stats

  • Category: Communication
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 7471
  • Recommendations: 10

Other Projects

View Brice's plugins