XEP-0055 (Jabber 検索) を実装するために、mongoose サーバーに mod_vcard をセットアップしようとしています。以下のようにモジュールをインストールして構成しました。
{mod_vcard, [
{allow_return_all, true},
{search_all_hosts, true},
{matches, 1},
{search, true},
{host, localhost},
{backend, odbc}
]},
mongoose サーバーを起動すると、mod_vcard が起動していることがわかります。ただし、クライアントから検索リクエストを送信しても、トリガーされません。mod_vcard コード内にいくつかのデバッグ コードを追加しました。
process_local_iq(_From,_To,#iq{type = set, sub_el = SubEl} = IQ) ->
?DEBUG("process_local_iq 1",[]),
IQ#iq{type = error, sub_el = [SubEl, ?ERR_NOT_ALLOWED]};
process_local_iq(_From,_To,#iq{type = get, lang = Lang} = IQ) ->
?DEBUG("process_local_iq 2",[]),
....
....
process_sm_iq(From, To, #iq{type = set, sub_el = VCARD} = IQ) ->
?DEBUG("process_sm_iq 1",[]),
....
....
process_sm_iq(_From, To, #iq{type = get, sub_el = SubEl} = IQ) ->
?DEBUG("process_sm_iq 2",[]),
....
....
ログにこれらのデバッグ メッセージが表示されません。私のログでは、ejabberd_c2s がサービスを利用できない (503) を送信していることがわかります。私は何を間違っていますか?
以下は私のログです:
2015-03-16 10:59:27.345 [debug] <0.762.0>@ejabberd_receiver:process_data:336 Received XML on stream = "<iq id="w615o-7" to="search.my.server.com" type="set"><query xmlns="jabber:iq:search"><x xmlns="jabber:x:data" type="submit"><field var="FORM_TYPE" type="hidden"><value>jabber:iq:search</value></field><field var="search" type="text-single"><value>my@email.com</value></field><field var="Email" type="boolean"><value>1</value></field></x></query></iq>"
2015-03-16 10:59:27.349 [debug] <0.762.0>@shaper:update:69 State: {maxrate,1000,992.0585110242283,1426528739894101}, Size=361
M=358.15571037445164, I=27451.92
2015-03-16 10:59:27.350 [debug] <0.763.0>@mod_stanza_ack:on_user_send_packet:67 Sent packet (1): {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-7">>},{<<"to">>,<<"search.my.server.com">>},{<<"type">>,<<"set">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"submit">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"jabber:iq:search">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"search">>},{<<"type">>,<<"text-single">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"my@email.com">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"Email">>},{<<"type">>,<<"boolean">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"1">>}]}]}]}]}]}
2015-03-16 10:59:27.353 [debug] <0.763.0>@ejabberd_router:do_route:243 route
from {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
to {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
packet {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-7">>},{<<"to">>,<<"search.my.server.com">>},{<<"type">>,<<"set">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"submit">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"jabber:iq:search">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"search">>},{<<"type">>,<<"text-single">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"my@email.com">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"Email">>},{<<"type">>,<<"boolean">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"1">>}]}]}]}]}]}
2015-03-16 10:59:27.355 [debug] <0.763.0>@ejabberd_s2s:do_route:267 s2s manager
from {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
to {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
packet {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...}]}
2015-03-16 10:59:27.356 [debug] <0.763.0>@ejabberd_s2s:find_connection:304 Finding connection for {<<"my.server.com">>,<<"search.my.server.com">>}
2015-03-16 10:59:27.367 [debug] <0.763.0>@ejabberd_router:do_route:243 route
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"from">>,<<"search.my.server.com">>},{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-7">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"submit">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"jabber:iq:search">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"search">>},{<<"type">>,<<"text-single">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"my@email.com">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"Email">>},{<<"type">>,<<"boolean">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"1">>}]}]}]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}
2015-03-16 10:59:27.375 [debug] <0.763.0>@mod_timetagger:add_server_timestamp:22 Filter local packet triggered {{jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>},{jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>},{xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"from">>,<<"search.my.server.com">>},{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-7">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"submit">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"jabber:iq:search">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"search">>},{<<"type">>,<<"text-single">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"my@email.com">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"Email">>},{<<"type">>,<<"boolean">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"1">>}]}]}]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}}
2015-03-16 10:59:27.378 [debug] <0.763.0>@ejabberd_local:do_route:378 local route
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"erro"...>>},{<<"from">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}]}
2015-03-16 10:59:27.380 [debug] <0.763.0>@ejabberd_sm:do_route:472 session manager
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"erro"...>>},{<<"from">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}]}
2015-03-16 10:59:27.381 [debug] <0.763.0>@ejabberd_sm:do_route:488 sending to process <0.763.0>
2015-03-16 10:59:27.393 [debug] <0.763.0>@ejabberd_c2s:send_text:1598 Send XML on stream = <<"<iq from='search.my.server.com' to='myuserid@my.server.com/Resource' type='error' xml:lang='' id='w615o-7'><query xmlns='jabber:iq:search'><x xmlns='jabber:x:data' type='submit'><field var='FORM_TYPE' type='hidden'><value>jabber:iq:search</value></field><field var='search' type='text-single'><value>my@email.com</value></field><field var='Email' type='boolean'><value>1</value></field></x></query><error code='503' type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>">>
2015-03-16 10:59:27.423 [debug] <0.762.0>@ejabberd_receiver:process_data:336 Received XML on stream = "<iq id="w615o-8" to="search.my.server.com" type="set"><query xmlns="jabber:iq:search"><FORM_TYPE>jabber:iq:search</FORM_TYPE><search>my@email.com</search><Email>1</Email></query></iq>"
2015-03-16 10:59:27.423 [debug] <0.762.0>@shaper:update:69 State: {maxrate,1000,502.6043875975931,1426528767346021}, Size=194
M=129.55827998503904, I=77.054
2015-03-16 10:59:27.424 [debug] <0.763.0>@mod_stanza_ack:on_user_send_packet:67 Sent packet (1): {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-8">>},{<<"to">>,<<"search.my.server.com">>},{<<"type">>,<<"set">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"FORM_TYPE">>,[],[{xmlcdata,<<"jabber:iq:search">>}]},{xmlel,<<"search">>,[],[{xmlcdata,<<"my@email.com">>}]},{xmlel,<<"Email">>,[],[{xmlcdata,<<"1">>}]}]}]}
2015-03-16 10:59:27.427 [debug] <0.763.0>@ejabberd_router:do_route:243 route
from {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
to {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
packet {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-8">>},{<<"to">>,<<"search.my.server.com">>},{<<"type">>,<<"set">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"FORM_TYPE">>,[],[{xmlcdata,<<"jabber:iq:search">>}]},{xmlel,<<"search">>,[],[{xmlcdata,<<"my@email.com">>}]},{xmlel,<<"Email">>,[],[{xmlcdata,<<"1">>}]}]}]}
2015-03-16 10:59:27.429 [debug] <0.763.0>@ejabberd_s2s:do_route:267 s2s manager
from {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
to {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
packet {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...}]}
2015-03-16 10:59:27.430 [debug] <0.763.0>@ejabberd_s2s:find_connection:304 Finding connection for {<<"my.server.com">>,<<"search.my.server.com">>}
2015-03-16 10:59:27.433 [debug] <0.763.0>@ejabberd_router:do_route:243 route
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"from">>,<<"search.my.server.com">>},{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-8">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"FORM_TYPE">>,[],[{xmlcdata,<<"jabber:iq:search">>}]},{xmlel,<<"search">>,[],[{xmlcdata,<<"my@email.com">>}]},{xmlel,<<"Email">>,[],[{xmlcdata,<<"1">>}]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}
2015-03-16 10:59:27.437 [debug] <0.763.0>@mod_timetagger:add_server_timestamp:22 Filter local packet triggered {{jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>},{jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>},{xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"from">>,<<"search.my.server.com">>},{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-8">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"FORM_TYPE">>,[],[{xmlcdata,<<"jabber:iq:search">>}]},{xmlel,<<"search">>,[],[{xmlcdata,<<"my@email.com">>}]},{xmlel,<<"Email">>,[],[{xmlcdata,<<"1">>}]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}}
2015-03-16 10:59:27.441 [debug] <0.763.0>@ejabberd_local:do_route:378 local route
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"erro"...>>},{<<"from">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}]}
2015-03-16 10:59:27.442 [debug] <0.763.0>@ejabberd_sm:do_route:472 session manager
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"erro"...>>},{<<"from">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}]}
2015-03-16 10:59:27.443 [debug] <0.763.0>@ejabberd_sm:do_route:488 sending to process <0.763.0>
2015-03-16 10:59:27.443 [debug] <0.763.0>@ejabberd_c2s:send_text:1598 Send XML on stream = <<"<iq from='search.my.server.com' to='myuserid@my.server.com/Resource' type='error' xml:lang='' id='w615o-8'><query xmlns='jabber:iq:search'><FORM_TYPE>jabber:iq:search</FORM_TYPE><search>my@email.com</search><Email>1</Email></query><error code='503' type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>">>
2015-03-16 10:59:27.477 [debug] <0.762.0>@ejabberd_receiver:process_data:336 Received XML on stream = "<iq id="w615o-9" to="search.my.server.com" type="set"><query xmlns="jabber:iq:search"><x xmlns="jabber:x:data" type="submit"><field var="FORM_TYPE" type="hidden"><value>jabber:iq:search</value></field><field var="search" type="text-single"><value>My@email.com</value></field><field var="Email" type="boolean"><value>1</value></field></x></query></iq>"
2015-03-16 10:59:27.479 [debug] <0.762.0>@shaper:update:69 State: {maxrate,1000,997.1462278154359,1426528767476075}, Size=361
M=359.9727198648478, I=1.691
2015-03-16 10:59:27.479 [debug] <0.763.0>@mod_stanza_ack:on_user_send_packet:67 Sent packet (1): {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-9">>},{<<"to">>,<<"search.my.server.com">>},{<<"type">>,<<"set">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"submit">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"jabber:iq:search">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"search">>},{<<"type">>,<<"text-single">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"My@email.com">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"Email">>},{<<"type">>,<<"boolean">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"1">>}]}]}]}]}]}
2015-03-16 10:59:27.482 [debug] <0.763.0>@ejabberd_router:do_route:243 route
from {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
to {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
packet {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-9">>},{<<"to">>,<<"search.my.server.com">>},{<<"type">>,<<"set">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"submit">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"jabber:iq:search">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"search">>},{<<"type">>,<<"text-single">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"My@email.com">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"Email">>},{<<"type">>,<<"boolean">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"1">>}]}]}]}]}]}
2015-03-16 10:59:27.483 [debug] <0.763.0>@ejabberd_s2s:do_route:267 s2s manager
from {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
to {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
packet {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...}]}
2015-03-16 10:59:27.483 [debug] <0.763.0>@ejabberd_s2s:find_connection:304 Finding connection for {<<"my.server.com">>,<<"search.my.server.com">>}
2015-03-16 10:59:27.488 [debug] <0.763.0>@ejabberd_router:do_route:243 route
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"from">>,<<"search.my.server.com">>},{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-9">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"submit">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"jabber:iq:search">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"search">>},{<<"type">>,<<"text-single">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"My@email.com">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"Email">>},{<<"type">>,<<"boolean">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"1">>}]}]}]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}
2015-03-16 10:59:27.493 [debug] <0.763.0>@mod_timetagger:add_server_timestamp:22 Filter local packet triggered {{jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>},{jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>},{xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"from">>,<<"search.my.server.com">>},{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-9">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"x">>,[{<<"xmlns">>,<<"jabber:x:data">>},{<<"type">>,<<"submit">>}],[{xmlel,<<"field">>,[{<<"var">>,<<"FORM_TYPE">>},{<<"type">>,<<"hidden">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"jabber:iq:search">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"search">>},{<<"type">>,<<"text-single">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"My@email.com">>}]}]},{xmlel,<<"field">>,[{<<"var">>,<<"Email">>},{<<"type">>,<<"boolean">>}],[{xmlel,<<"value">>,[],[{xmlcdata,<<"1">>}]}]}]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}}
2015-03-16 10:59:27.493 [debug] <0.763.0>@ejabberd_local:do_route:378 local route
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"erro"...>>},{<<"from">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}]}
2015-03-16 10:59:27.494 [debug] <0.763.0>@ejabberd_sm:do_route:472 session manager
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"erro"...>>},{<<"from">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}]}
2015-03-16 10:59:27.496 [debug] <0.763.0>@ejabberd_sm:do_route:488 sending to process <0.763.0>
2015-03-16 10:59:27.499 [debug] <0.763.0>@ejabberd_c2s:send_text:1598 Send XML on stream = <<"<iq from='search.my.server.com' to='myuserid@my.server.com/Resource' type='error' xml:lang='' id='w615o-9'><query xmlns='jabber:iq:search'><x xmlns='jabber:x:data' type='submit'><field var='FORM_TYPE' type='hidden'><value>jabber:iq:search</value></field><field var='search' type='text-single'><value>My@email.com</value></field><field var='Email' type='boolean'><value>1</value></field></x></query><error code='503' type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>">>
2015-03-16 10:59:27.840 [debug] <0.762.0>@ejabberd_receiver:process_data:336 Received XML on stream = "<iq id="w615o-10" to="search.my.server.com" type="set"><query xmlns="jabber:iq:search"><FORM_TYPE>jabber:iq:search</FORM_TYPE><search>My@email.com</search><Email>1</Email></query></iq>"
2015-03-16 10:59:27.843 [debug] <0.762.0>@shaper:update:69 State: {maxrate,1000,999.001458390946,1426528767836766}, Size=195
M=194.80547862392234, I=4.903
2015-03-16 10:59:27.844 [debug] <0.763.0>@mod_stanza_ack:on_user_send_packet:67 Sent packet (1): {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-10">>},{<<"to">>,<<"search.my.server.com">>},{<<"type">>,<<"set">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"FORM_TYPE">>,[],[{xmlcdata,<<"jabber:iq:search">>}]},{xmlel,<<"search">>,[],[{xmlcdata,<<"My@email.com">>}]},{xmlel,<<"Email">>,[],[{xmlcdata,<<"1">>}]}]}]}
2015-03-16 10:59:27.850 [debug] <0.763.0>@ejabberd_router:do_route:243 route
from {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
to {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
packet {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-10">>},{<<"to">>,<<"search.my.server.com">>},{<<"type">>,<<"set">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"FORM_TYPE">>,[],[{xmlcdata,<<"jabber:iq:search">>}]},{xmlel,<<"search">>,[],[{xmlcdata,<<"My@email.com">>}]},{xmlel,<<"Email">>,[],[{xmlcdata,<<"1">>}]}]}]}
2015-03-16 10:59:27.856 [debug] <0.763.0>@ejabberd_s2s:do_route:267 s2s manager
from {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
to {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
packet {xmlel,<<"iq">>,[{<<"xml:lang">>,<<>>},{<<"id">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...}]}
2015-03-16 10:59:27.858 [debug] <0.763.0>@ejabberd_s2s:find_connection:304 Finding connection for {<<"my.server.com">>,<<"search.my.server.com">>}
2015-03-16 10:59:27.865 [debug] <0.763.0>@ejabberd_router:do_route:243 route
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"from">>,<<"search.my.server.com">>},{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-10">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"FORM_TYPE">>,[],[{xmlcdata,<<"jabber:iq:search">>}]},{xmlel,<<"search">>,[],[{xmlcdata,<<"My@email.com">>}]},{xmlel,<<"Email">>,[],[{xmlcdata,<<"1">>}]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}
2015-03-16 10:59:27.874 [debug] <0.763.0>@mod_timetagger:add_server_timestamp:22 Filter local packet triggered {{jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>},{jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>},{xmlel,<<"iq">>,[{<<"type">>,<<"error">>},{<<"from">>,<<"search.my.server.com">>},{<<"xml:lang">>,<<>>},{<<"id">>,<<"w615o-10">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:search">>}],[{xmlel,<<"FORM_TYPE">>,[],[{xmlcdata,<<"jabber:iq:search">>}]},{xmlel,<<"search">>,[],[{xmlcdata,<<"My@email.com">>}]},{xmlel,<<"Email">>,[],[{xmlcdata,<<"1">>}]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]}]}]}}
2015-03-16 10:59:27.875 [debug] <0.763.0>@ejabberd_local:do_route:378 local route
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"erro"...>>},{<<"from">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}]}
2015-03-16 10:59:27.880 [debug] <0.763.0>@ejabberd_sm:do_route:472 session manager
from {jid,<<>>,<<"search.my.server.com">>,<<>>,<<>>,<<"search.my.server.com">>,<<>>}
to {jid,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>,<<"myuserid">>,<<"my.server.com">>,<<"Resource">>}
packet {xmlel,<<"iq">>,[{<<"type">>,<<"erro"...>>},{<<"from">>,<<...>>},{<<...>>,...},{...}],[{xmlel,<<...>>,...},{xmlel,...}]}
2015-03-16 10:59:27.881 [debug] <0.763.0>@ejabberd_sm:do_route:488 sending to process <0.763.0>
2015-03-16 10:59:27.882 [debug] <0.763.0>@ejabberd_c2s:send_text:1598 Send XML on stream = <<"<iq from='search.my.server.com' to='myuserid@my.server.com/Resource' type='error' xml:lang='' id='w615o-10'><query xmlns='jabber:iq:search'><FORM_TYPE>jabber:iq:search</FORM_TYPE><search>My@email.com</search><Email>1</Email></query><error code='503' type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>">>
アップデート:
クライアントが余分な「検索」を追加していたため、これらのエラーは ejabberd_s2s モジュールから発生していました。サーバー名の前に. 今はそれを削除し、それらのエラーはなくなりました。ただし、現在、サーバーはまったく応答していません。ログで確認できるのは、
2015-03-16 16:37:25.515 [debug] <0.683.0>@ejabberd_receiver:process_data:336 Received XML on stream = "<iq type="set" id="C7FE97D8-2C26-4067-BA40-464E1A746CF9" from="myuserid@my.server.com/Resource" to="my.server.com" xml:lang="en"><query xmlns="jabber:iq:search"><x xmlns="jabber:x:data" type="set"><field var="FORM_TYPE" type="hidden"><value>jabber:iq:search</value></field><field var="search" type="text-single"><value>search@user.com</value></field><field var="Email" type="boolean"><value>1</value></field></x></query></iq>"
2015-03-16 16:37:25.518 [debug] <0.683.0>@shaper:update:69 State: {maxrate,1000,987.4793436293581,1426549030127924}, Size=466
私は私が近づいていると思います。助けてください。