After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627109 - Can't create a new real XMPP MUC room in Empathy 2.30.2
Can't create a new real XMPP MUC room in Empathy 2.30.2
Status: RESOLVED NOTABUG
Product: empathy
Classification: Core
Component: Multi User Chat
2.30.x
Other Linux
: Normal blocker
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2010-08-17 08:03 UTC by CoudCoud
Modified: 2010-08-20 08:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
empathy log (107.15 KB, text/x-log)
2010-08-17 09:26 UTC, CoudCoud
Details
gabble log (231.92 KB, text/x-log)
2010-08-17 09:27 UTC, CoudCoud
Details
empathy-2.log (65.33 KB, text/plain)
2010-08-17 11:16 UTC, CoudCoud
Details
gabble-2.log (192.42 KB, text/plain)
2010-08-17 11:17 UTC, CoudCoud
Details
empathy-3.log (56.84 KB, text/plain)
2010-08-17 11:17 UTC, CoudCoud
Details
gabble-3.log (75.92 KB, text/plain)
2010-08-17 11:18 UTC, CoudCoud
Details

Description CoudCoud 2010-08-17 08:03:40 UTC
Hello,
I use the PPA version of Empathy (2.30.2) on Ubuntu 10.4.
This problem only happens with the PPA version, not with the 2.30.0.1
I recently tried the XMPP protocol MUC feature with this PPA version.
I'm able to join an existing room.
But when I create my own room, nobody can join this one, even with an older version of empathy :
- If I send them an invitation they receive it but when they accept it, they are immediately disconnected from the room.
- The room isn't displayed in the list provided by the MUC server, and if you try to join it (with 2.30.0.1) by typing it's name, nothing happens, the MUC window doesn't appear.
Comment 1 CoudCoud 2010-08-17 08:18:34 UTC
Oups, I haven't sent the whole message, here is the end :

I both tried with a jabber.fr and a jabber.org account and the same problem happened.
This isn't really blocking me since I use the stable version on my main computer, but it could be worth checking if another distribution uses the 2.30.2 and has the same bug, and try to correct it.
Good luck.
Comment 2 Guillaume Desmottes 2010-08-17 08:58:22 UTC
Could you please attach gabble and empathy logs? You can get them from the help - debug menu.
Comment 3 CoudCoud 2010-08-17 09:26:33 UTC
Created attachment 168039 [details]
empathy log
Comment 4 CoudCoud 2010-08-17 09:27:31 UTC
Created attachment 168040 [details]
gabble log
Comment 5 Guillaume Desmottes 2010-08-17 10:29:54 UTC
* presence xmlns='jabber:client' from='coudtest@chat.jabberfr.org/janoe63@jabber.fr' to='janoe63@jabber.fr/64466f0e' type='error'
    * x xmlns='http://jabber.org/protocol/muc'
    * show
        "dnd"
    * x xmlns='vcard-temp:x:update'
        * photo
            "ae86963b2f3cb0d1f92ff37c7dd3657a6678c29f"
    * error type='cancel' code='404'
        * item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'
        * text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'
            "Not Found"
gabble/muc-DEBUG: 17/08/2010 11:21:07.554768: muc_join_error_cb: error->code=3, error->message="the addressed JID or item requested cannot be found"

Looks like you can't join the room. Which version of telepathy-gabble are you using? Is it working fine using another version of gabble?
Comment 6 CoudCoud 2010-08-17 11:16:01 UTC
I use the version 0.9.15-1~ppa10.04+1 of telepathy-gabble (the one available in the telepathy ppa I added by typing "sudo add-apt-repository ppa:telepathy/ppa" in gnome-terminal).

The extract you took from the log is from the account I invited to join the room.
I activated the room creator account and guest account using the same computer.

I've now made logs with only one account activated on the buggy version of empathy. I will add them as empathy-2.log and gabble-2.log.

I've forced the version to 0.8.12-0ubuntu1 (the ubuntu 10.04 default version) and it works.
I've also made logs. I will add them as empathy-3.log and gabble-3.log.

Is there a way to get another version of telepathy-gabble ?
Comment 7 CoudCoud 2010-08-17 11:16:36 UTC
Created attachment 168047 [details]
empathy-2.log
Comment 8 CoudCoud 2010-08-17 11:17:21 UTC
Created attachment 168048 [details]
gabble-2.log
Comment 9 CoudCoud 2010-08-17 11:17:44 UTC
Created attachment 168049 [details]
empathy-3.log
Comment 10 CoudCoud 2010-08-17 11:18:03 UTC
Created attachment 168050 [details]
gabble-3.log
Comment 11 Guillaume Desmottes 2010-08-17 13:32:48 UTC
If you try to join yourself the room using gabble 0.9.15 (by entering "testcoud" as room name and "chat.jabberfr.org" as server in Empathy's join dialog) does that work?
Comment 12 CoudCoud 2010-08-17 15:11:32 UTC
Here is the steps I followed (with gabble 0.9.15) :
- To create the room, with my account, I entered "testcoud" as room name and "chat.jabberfr.org" as server in Empathy's join dialog.
- The muc window appeared. I was alone in the room.
- Then I connected my mother's account on the same computer, and opened the room->join dialog.
- First I opened the room list (I clicked the "+" button) to check if the room was there.
- It wasn't there so I chose my mother's account in the account list, and manually entered "testcoud" as room name and chat.jabberfr.org" as server.
- The muc window didn't appear.

The "testcoud" room is still opened with my account.
I will try to keep it opened (I will keep the empathy muc window opened on an unused virtual desktop, and I hope that the jabber protocol doesn't close rooms while occupied even if there is no activity).

P.S. : With gabble 0.9.15 I can join rooms created by other persons (e.g.: the jabberfr room on chat.jabberfr.org).
Comment 13 Guillaume Desmottes 2010-08-18 13:03:09 UTC
Indeed, creating the room works fine but trying to join an existing room fails:


gabble/roomlist-DEBUG: 18/08/2010 15:00:09.939903: gabble_roomlist_channel_close: called on 0x2454600
gabble/muc-DEBUG: 18/08/2010 15:00:09.947139: new_muc_channel: creating new chan, object path /org/freedesktop/Telepathy/Connection/gabble/jabber/cassidy_2dtest2_40jabber_2ebelnet_2ebe_2fceb47283/MucChannel1
gabble/presence-DEBUG: 18/08/2010 15:00:09.948476: gabble_presence_cache_do_update: testcoud@chat.jabberfr.org/cassidy-test2@jabber.belnet.be (7) resource <null> prio 0 presence 7 message "<null>"
wocky-DEBUG: 18/08/2010 15:00:09.948719: _write_node_tree: Serializing tree:
* presence xmlns='jabber:client' from='cassidy-test2@jabber.belnet.be/ceb47283' to='testcoud@chat.jabberfr.org/cassidy-test2@jabber.belnet.be'
    * x xmlns='http://jabber.org/protocol/muc'
    * x xmlns='vcard-temp:x:update'
        * photo
gabble/muc-DEBUG: 18/08/2010 15:00:09.948966: channel_state_changed: state changed from MUC_STATE_CREATED to MUC_STATE_INITIATED
wocky-DEBUG: 18/08/2010 15:00:10.20551: _end_element_ns: Received stanza
* presence xmlns='jabber:client' from='testcoud@chat.jabberfr.org/cassidy-test2@jabber.belnet.be' to='cassidy-test2@jabber.belnet.be/ceb47283' type='error'
    * x xmlns='http://jabber.org/protocol/muc'
    * x xmlns='vcard-temp:x:update'
        * photo
    * error type='cancel' code='404'
        * item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'
        * text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'
            "Not Found"
gabble/muc-DEBUG: 18/08/2010 15:00:10.20710: muc_join_error_cb: error->code=3, error->message="the addressed JID or item requested cannot be found"
gabble/muc-DEBUG: 18/08/2010 15:00:10.20828: close_channel: Closing
gabble/muc-DEBUG: 18/08/2010 15:00:10.20883: muc_call_channel_finish_requests: Failed to create call channel: Muc channel closed below us
gabble/muc-DEBUG: 18/08/2010 15:00:10.21260: channel_state_changed: state changed from MUC_STATE_INITIATED to MUC_STATE_ENDED
gabble/muc-DEBUG: 18/08/2010 15:00:10.21373: muc_channel_closed_cb: removing MUC channel with handle 1
gabble/muc-DEBUG: 18/08/2010 15:00:10.21429: gabble_muc_channel_dispose: called
gabble/muc-DEBUG: 18/08/2010 15:00:10.21512: gabble_muc_channel_finalize: called
wocky-DEBUG: 18/08/2010 15:00:10.21626: handle_stanza: wocky-porter.c:1046: Stanza not handled


Could it be a server issue? May the room is private by default or something. I tried to join the room with Pidgin and it failed too. Can you it with another XMPP client?
Comment 14 CoudCoud 2010-08-20 08:30:56 UTC
I also tried with Pidgin : it displays a "404 : item not found" error.

All the rooms I tried to create with gabble 0.9.15 where unreachable :
- A room called testcoud with a jabber.org account on conference.jabber.org
- A room called testcoud2 with a jabber.fr account on conference.jabber.org
- A room called testcoud2 with a jabber.org account on chat.jabberfr.org

When I create such rooms with pidgin or gabble 0.8.12, it works.

I saw in pidgin room creation options that you can specify the max number of members in the room, including only one member, perhaps gabble sets a wrong number ?
Comment 15 Guillaume Desmottes 2010-08-20 08:35:29 UTC
Maybe that's a gabble issue yeah. Anyway, that's not an Empathy one. I suggest you to open a bug on bugs.freedesktop.org on telepathy-gabble. And describe exactly what used to work with gabble 0.8.12 but doesn't with 0.9.15 and attach/link logs.