In reply to web_admin empty response from server when logging in as admin :
Maybe the code crashes, an error report is added to the ejabberd log, and returns an empty web page. Check if the ejabberd log has some ERROR REPORT.
Rapidement, je voulais écrire un article à ce propos, mais quelques contributeurs ont rapidement couvert le sujet sur LinuxFr.org :
Google Hangouts remplace Talk : la fin de la fédération XMPP ?
Quelques commentaires sont également intéressants…
In reply to Modules development:
ejabberd internal modules using only the route table can also be used as external modules conform to XEP-0114 (Jabber Component Protocol) with epeios, and thus, they can be used with any other XEP-0114 compliant XMPP servers.
If you wish to gamble on-line this online casino gambling have every one of the perfect wager games that you've been seeking.
This excellent on the net betting site delivers both web gambling with some of the finest slot machine games out there and also the downloadable online gambling which offers much more various { wager site games.
In reply to module mod_muc_odbc for Mysql. Need your help.:
I cannot open a muc_odbc conference.
My Config is (as of ejabberdctl dump file)
{mod_muc_odbc,
[{host,"conference.@HOST@"},
{access,muc},
{access_create,muc_create},
{access_persistent,muc_create},
{access_admin,muc_admin}]},
There are no errors in the log file.
If I change mod_muc_odbc to mod_muc it works.
Ngrepping the traffic I can see that odbc is working
Login user:
T 127.0.0.1:39266 -> 127.0.0.1:3306 [AP]
3....select password from users where username='admin';
#
T 127.0.0.1:3306 -> 127.0.0.1:39266 [AP]
.....8....def.ejabberd.users.users.password.password.!.........................password.........Open a MUC
T 127.0.0.1:55881 -> 127.0.0.1:3306 [AP]
Y....select opts from muc_room where name='main2' and host='conference.my_jabber.de';
#
T 127.0.0.1:3306 -> 127.0.0.1:55881 [AP]
.....6....def.ejabberd.muc_room.muc_room.opts.opts.!..................................So database connection is there.
I also manually entered an entry into the 'rooms' database table (with empty opts field), but no change.
Grepping on port 5222 I can see:
T 192.168.178.126:39428 -> 192.168.178.171:5222 [AP]
test
#
T 192.168.178.171:5222 -> 192.168.178.126:39428 [AP]
test Any help is appreciated.
In reply to module mod_muc_odbc for Mysql. Need your help.:
I cannot open a muc_odbc conference.
My Config is (as of ejabberdctl dump file)
{mod_muc_odbc,
[{host,"conference.@HOST@"},
{access,muc},
{access_create,muc_create},
{access_persistent,muc_create},
{access_admin,muc_admin}]},
There are no errors in the log file.
If I change mod_muc_odbc to mod_muc it works.
Ngrepping the traffic I can see that odbc is working
Login user:
T 127.0.0.1:39266 -> 127.0.0.1:3306 [AP]
3....select password from users where username='admin';
#
T 127.0.0.1:3306 -> 127.0.0.1:39266 [AP]
.....8....def.ejabberd.users.users.password.password.!.........................password.........Open a MUC
T 127.0.0.1:55881 -> 127.0.0.1:3306 [AP]
Y....select opts from muc_room where name='main2' and host='conference.my_jabber.de';
#
T 127.0.0.1:3306 -> 127.0.0.1:55881 [AP]
.....6....def.ejabberd.muc_room.muc_room.opts.opts.!..................................So database connection is there.
I also manually entered an entry into the 'rooms' database table (with empty opts field), but no change.
Grepping on port 5222 I can see:
T 192.168.178.126:39428 -> 192.168.178.171:5222 [AP]
test
#
T 192.168.178.171:5222 -> 192.168.178.126:39428 [AP]
test Any help is appreciated.
In reply to Display chatrooms on a website:
You may add module mod_admin_extra
Then you will have an additional command, e.g.
ejabberdctl muc_online_rooms This works and returns all muc rooms.
I have also tried this via xml-rpc (ruby), but I get an error:
result = client.call("muc_online_rooms","my.domain")T 127.0.0.1:44922 -> 127.0.0.1:4560 [AP]
<?xml version="1.0" ?>muc_online_rooms my_domain .
##
T 127.0.0.1:4560 -> 127.0.0.1:44922 [AP]
HTTP/1.1 200 OK..Content-Length: 316..Server: Erlang/1.13..Content-Type: text/xml..Connection: close....<?xml version="1.0"?>faultCode -112 >faultString Error -112.Unknown call: {call,muc_online_rooms,["my_domain"]} So I cannot use it. But this should be the way.
If you get it working, please give a feedbck, as I would be very much interested.
In reply to module mod_muc_odbc for Mysql. Need your help.:
Note the above post is happening when I have manually set up an entry in the muc_rooms tabele.
It dissappears when I delete this entry.
However I cannot open a muc_odbc conference.
My Config is (as of ejabberdctl dump file)
{mod_muc_odbc,
[{host,"conference.@HOST@"},
{access,muc},
{access_create,muc_create},
{access_persistent,muc_create},
{access_admin,muc_admin}]},
There are no errors in the log file.
If I change mod_muc_odbc to mod_muc it works.
Ngrepping the traffic I can see that odbc is working
Login user:
T 127.0.0.1:39266 -> 127.0.0.1:3306 [AP]
3....select password from users where username='admin';
#
T 127.0.0.1:3306 -> 127.0.0.1:39266 [AP]
.....8....def.ejabberd.users.users.password.password.!.........................password.........Open a MUC
T 127.0.0.1:55881 -> 127.0.0.1:3306 [AP]
Y....select opts from muc_room where name='main2' and host='conference.my_jabber.de';
#
T 127.0.0.1:3306 -> 127.0.0.1:55881 [AP]
.....6....def.ejabberd.muc_room.muc_room.opts.opts.!..................................So database connection is there.
I also manually entered an entry into the 'rooms' database table (with empty opts field), but no change.
Grepping on port 5222 I can see:
T 192.168.178.126:39428 -> 192.168.178.171:5222 [AP]
test
#
T 192.168.178.171:5222 -> 192.168.178.126:39428 [AP]
test Any help is appreciated.
In reply to gzip compression for BOSH HTTP traffic:
Few comments:
"") and fit into a single packet, gzipping single packet response gives completely no gain, but obviously uses CPU; it would be better to gzip only responses that are larger than one packet (HTTP body larger than 1200-1300 bytes, depending on the amount of HTTP headers)Merge pull request #306 from beanieboi/patch-1 Update lighttpd_
Merge pull request #309 from jd/master Fix getenv usage in swift plugins
In reply to module mod_muc_odbc for Mysql. Need your help.:
I just received a crash report:
=PROGRESS REPORT==== 21-May-2013::14:25:01 ===
supervisor: {local,ejabberd_sup}
started: [{pid,<0.325.0>},
{name,'ejabberd_mod_muc_sup_my_domain.de'},
{mfargs,
{ejabberd_tmp_sup,start_link,
['ejabberd_mod_muc_sup_my_domain.de',
mod_muc_room]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=CRASH REPORT==== 21-May-2013::14:25:01 ===
crasher:
initial call: mod_muc_odbc:init/1
pid: <0.326.0>
registered_name: []
exception exit: {undef,[{ejabberd_odbc,decode_term,[[]]},
{mod_muc_odbc,'-load_permanent_rooms/5-fun-0-',6},
{lists,foreach,2},
{mod_muc_odbc,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}
in function gen_server:init_it/6
ancestors: [ejabberd_sup,<0.37.0>]
messages: []
links: [<0.62.0>,<0.226.0>]
dictionary: []
In reply to Управление shared_roster через XMPP:
Да, ejabber v 2.1.10 на Ubuntu 12.04
Можно перевести на 11 или 12 версию.
Voici 8 mois qu’a eu lieu la dernière réunion de travail. 8 mois pendant lesquels on s’est déchaîné comme des fous !
Ha, omega me souffle que ce n’est pas crédible, et il n’a pas tout à fait tort (IRL, tout ça). Quoi qu’il en soit, il y a quand même eu suffisament d’avancées pour que cela vaille la peine qu’on fasse le point sur la situation actuelle, et que l’on prépare l’avenir ensemble.
Une réunion aura donc lieu le jeudi 23 mai 2013 de 20h30 à 22h00 (heures de Paris) sur le salon association@chat.jabberfr.org. La réunion étant ouverte à tout le monde (membres de l’association ou pas), nous vous attendons nombreux, mais dans le calme et respectueux du lieu.
L’ordre du jour est disponible dès maintenant sur le wiki. Pour les plus impatients, sachez que l’on y parlera, entre autres, de la migration de im2 sur prosody (et de ce que ça entraîne) et du fait que l’on stagne à 13 membres depuis janvier. Le temps restant sera consacré aux éventuelles questions du « public » restées sans réponse.
Voici 8 mois qu’a eu lieu la dernière réunion de travail. 8 mois pendant lesquels on s’est déchaîné comme des fous !
Ha, omega me souffle que ce n’est pas crédible, et il n’a pas tout à fait tort (IRL, tout ça). Quoi qu’il en soit, il y a quand même eu suffisament d’avancées pour que cela vaille la peine qu’on fasse le point sur la situation actuelle, et que l’on prépare l’avenir ensemble.
Une réunion aura donc lieu le jeudi 23 mai 2013 de 20h30 à 22h00 (heures de Paris) sur le salon association@chat.jabberfr.org. La réunion étant ouverte à tout le monde (membres de l’association ou pas), nous vous attendons nombreux, mais dans le calme et respectueux du lieu.
L’ordre du jour est disponible dès maintenant sur le wiki. Pour les plus impatients, sachez que l’on y parlera, entre autres, de la migration de im2 sur prosody (et de ce que ça entraîne) et du fait que l’on stagne à 13 membres depuis janvier. Le temps restant sera consacré aux éventuelles questions du « public » restées sans réponse.
-- JabberFRIn reply to Authentication with any login and password:
Configure your server to Anonymous authentication.
https://git.process-one.net/ejabberd/mainline/blobs/raw/v2.1.11/doc/guid...
Fix getenv usage in swift plugins os.getenv returns a string, not an integer, so using %s will fail if the variable SWIFT_OBJECT_PORT is set.
As you know, ProcessOne is about realtime messaging. Our core component is XMPP ejabberd scalable and ubiquitous server. We recently acquired Boxcar to use a familiar and popular brand for our large scale push notification service for mobile as well.
From this perspective, Google’s huge update on its Cloud Messaging service is the biggest announcement from this year Google I/O, as it mixes our two core strengths. We strongly believe this is a big deal for mobile developers and we will explain why.
In case you never heard about it, here is a quick overview.
Google Cloud Messaging have been announced last year as a replacement of Google Cloud to Device Messaging. This is a service that allows mobile developer to notify mobile devices (but also Chrome browser) about important changes on the server-side component of the application. It makes it possible for the device to stay up to date, without the need to use polling. Polling is about checking periodically for updates on your server and is bad for several reasons:
Push notifications avoid all those drawbacks, saving battery life, providing lower latency, reducing server load. As a permanently connected session to Google servers, it get the important notification messages as soon as they happen, in a battery efficient way.
Being a service that runs at device level, it can be optimized across applications running on the same device and perform further battery saving benefits.
So, this is a really critical feature to implement in application relying on data coming from the network (which actually covers a lot of applications).
GCM offers nice outstanding features like:
The new update is a brand new service deployment bringing a large set of new features for developers.
In short, it brings:
Google choose to use XMPP to allow developers to keep a persistent connection. It works as follow:
This alone brings you a huge performance increase, allowing your server to send up to 4000 messages per second on the persistent connection. Knowing you are allowed up to 10 connections, you can possibly send many notifications fast (up to 40k notifications per second).
A few things to note:
Upstream messaging allows your client to send data asynchronously to your server. Compared to HTTP posts, it offer several advantages:
As a developer, your server will receive the message through an XMPP connection. However, be very careful about your server efficiency: you have to be robust and read data fast as the GCM server will queue for you 100 messages before starting to overwrite them (and if you are offline for 24 hours it will discard your messages).
The goal of this feature is to makes your notifications state becomes up to date and consistent across a user devices, by propagating state change between the user application installations on your various devices.
This feature is designed to bring many added benefits in the way multiple devices are handled.
First, to know that your app is used by the same users, you can group your device Registration Ids under the same notification_key. Notification key is typically a hash of the username. You are allowed up to 10 devices linked to that notification_key.
Once you have done that, you can use that notification_key as a user id to send notifications to all devices of a given user. By doing so, you let GCM performs lots of optimizations under the hood. Notification will be send in priority to the active device or the last active device. Other devices will get the notification a bit later in a delay while idle type of delivery.
Once the notification has been processed and dismissed, other devices are notified and they can remove the notification as well. If they were not notified yet, notification is directly canceled from the notification queue.
As you see, update to Google Cloud Messaging is really a big update for developers, increasing the number of situation this platform is relevant.
We are already working on supporting those improvements on our push notification platform to help you all benefits of those improvements.
Stay tuned for more information on this support very soon.
Here is the video of Francesco Nerieri’s talk on GCM: