[ejabberd] mod_mix => No module is handling this query

Mickaël Rémond mremond at process-one.net
Thu Jun 13 19:36:03 MSK 2019


Hello Robert,


If I understand well, it should be part of the Mix specification.
You should get the information you are looking for by referring to the Mix version ejabberd does implements (0.13.0):
https://xmpp.org/extensions/attic/xep-0369-0.13.0.html​


Best regards,

-- 
Mickaël Rémond

--- original message ---
On June 12, 2019, 2:35 AM GMT+2 robert at lmi-global.com wrote:



https://docs.ejabberd.im/tutorials/mix-010/

chats

<publish node='urn:xmpp:mix:nodes:messages'>

presence

<publish node='urn:xmpp:mix:nodes:presence'>

giving the "No module is handling this query"

can someone send me some sample stanzas for sending messages to
MIX and also presence?

Thanks!

Robert





On 6/11/19 4:51 PM, Robert Latko wrote:


> Hi all,

> Did DISCO on the MIX

> http://jabber.org/protocol/disco#info

> http://jabber.org/protocol/disco#items

> urn:xmpp:mix:core:0

> urn:xmpp:mix:core:0#searchable

> urn:xmpp:mix:core:0#create-channel


> so changed stanza to reflect the> "urn:xmpp:mix:core:0#create-channel"

> rather than what was provided as an example in https://xmpp.org/extensions/xep-0369.html#usecase-admin-create

> which has "urn:xmpp:mix:core:1#create-channel" <= notice> the "1" versus the "0" in the above.

> The below stanza works to create channel.


> <iq 

> id='lx09df27'

> to='mix.localhost'

> type='set'>

> <create channel='hellomix' xmlns='urn:xmpp:mix:core:0'/>

> </iq>


> Knew I'd figure this out seconds after I posted to the list.

> Thank you,


> Robert






> On 6/11/19 4:43 PM, Robert Latko> wrote:


>> Hi>> all, 


>> Trying to use MIX on 19.02 but was getting "No module is>> handling this query" so just loaded 19.05; getting the same. 


>> Please let me know solutions/resolutions/ideas as I would like>> to start working with MIX. 


>> Thanks in advance, 


>> Robert 



>> //* my ejabberd.yml 


>> modules: 

>> mod_mix: 

>> db_type: sql 


>> mod_pubsub: 

>> access_createnode: pubsub_createnode 

>> ignore_pep_from_offline: true 

>> last_item_cache: false 

>> plugins: 

>> - "flat" 

>> - "hometree" 

>> - "pep" 


>> //* Channel creation stanza 


>> <iq 

>> id='lx09df27' 

>> to='mix.localhost' 

>> type='set'> 

>> <create channel='hellomix' xmlns='urn:xmpp:mix:core:1'/>

>> </iq> 


>> //* Result stanza 


>> <iq xmlns='jabber:client' 

>> xml:lang='en' 

>> to='test at localhost/165643823900812286421058' 

>> from='mix.localhost' 

>> type='error' 

>> id='lx09df27'> 

>> <create xmlns='urn:xmpp:mix:core:1' 

>> channel='hellomix'/> 

>> <error code='503' 

>> type='cancel'> 

>> <service-unavailable>> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> 

>> <text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas' 

>> xml:lang='en'> 

>> No module is handling this query 

>> </text> 

>> </error> 

>> </iq> 



>> //* DEBUG / LOG 



>> 16:36:00.376 [debug] route: 

>> #iq{id = <<"lx09df27">>,type = set,lang =>> <<"en">>, 

>> from = #jid{user = <<"test">>,server =>> <<"localhost">>, 

>> resource =>> <<"165643823900812286421058">>,luser =>> <<"test">>, 

>> lserver = <<"localhost">>, 

>> lresource =>> <<"165643823900812286421058">>}, 

>> to = #jid{user = <<>>,server =>> <<"mix.localhost">>,resource = <<>>, 

>> luser = <<>>,lserver =>> <<"mix.localhost">>,lresource = <<>>}, 

>> sub_els = [#xmlel{name = <<"create">>, 

>> attrs =>> [{<<"xmlns">>,<<"urn:xmpp:mix:core:1">>},

>> {<<"channel">>,<<"hellomix">>}], 

>> children = []}], 

>> meta = #{ip => {108,64,212,40}}} 

>> 16:36:00.388 [debug] route: 

>> #iq{id = <<"lx09df27">>,type = error,lang =>> <<"en">>, 

>> from = 

>> #jid{ 

>> user = <<>>,server =>> <<"mix.localhost">>,resource = <<>>, 

>> luser = <<>>,lserver =>> <<"mix.localhost">>,lresource = <<>>}, 

>> to = 

>> #jid{ 

>> user = <<"test">>,server =>> <<"localhost">>, 

>> resource =>> <<"165643823900812286421058">>,luser =>> <<"test">>, 

>> lserver = <<"localhost">>, 

>> lresource =>> <<"165643823900812286421058">>}, 

>> sub_els = 

>> [#xmlel{ 

>> name = <<"create">>, 

>> attrs = 

>> [{<<"xmlns">>,<<"urn:xmpp:mix:core:1">>}, 

>> {<<"channel">>,<<"hellomix">>}], 

>> children = []}, 

>> #stanza_error{ 

>> type = cancel,code = 503,by = undefined, 

>> reason = 'service-unavailable', 

>> text = 

>> [#text{ 

>> lang = <<"en">>, 

>> data = <<"No module is handling this>> query">>}], 

>> sub_els = []}], 

>> meta = #{ip => {108,64,212,40}}} 



>> _______________________________________________ 

>> ejabberd mailing list 

>> ejabberd at jabber.ru

>> http://lists.jabber.ru/mailman/listinfo/ejabberd





> _______________________________________________>ejabberd mailing list>ejabberd at jabber.ru>http://lists.jabber.ru/mailman/listinfo/ejabberd



_______________________________________________ejabberd mailing listejabberd at jabber.ruhttp://lists.jabber.ru/mailman/listinfo/ejabberd
--- end of original message ---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20190613/1058a9db/attachment-0001.html>


More information about the ejabberd mailing list