mod_http_upload not working

Hello,

We are using the jsxc to develop a web application using ejabberd as the server and we are trying to use the mod_http_upload, but it's not working.

I think that the error is during the slot request.

Does anyone can check what's wrong?

Configuration that we are using:

  - 
     port: 5443
     ip: "::"
     module: ejabberd_http
     access: all
     request_handlers:
       "upload": mod_http_upload
     tls: true
     certfile: 'CERTFILE'
     protocol_options: 'TLSOPTS'

  mod_http_upload:
     docroot: "/opt/ejabberd/upload/"
     put_url: "https://@HOST@:5443/upload"
     max_size: infinity
     jid_in_url: node
     file_mode: "0644"
     dir_mode: "0755"
     rm_on_unregister: false
     thumbnail: false # otherwise needs the identify command from ImageMagick installed
     custom_headers:
        "Access-Control-Allow-Origin": "*"
        "Access-Control-Allow-Methods": "OPTIONS, HEAD, GET, PUT"
        "Access-Control-Allow-Headers": "content-type"

  mod_http_upload_quota:
     max_days: 30

Log information:
2017-08-16 10:54:47.412 [debug] <0.483.0>@ejabberd_http:process_header:274 (#Port<0.13166>) http query: 'OPTIONS' <<"/http-bind/">>
2017-08-16 10:54:47.412 [debug] <0.483.0>@ejabberd_http:process:361 [<<"http-bind">>] matches [<<"http-bind">>]
2017-08-16 10:54:47.416 [debug] <0.483.0>@ejabberd_http:process_header:274 (#Port<0.13166>) http query: 'POST' <<"/http-bind/">>
2017-08-16 10:54:47.416 [debug] <0.483.0>@ejabberd_http:extract_path_query:405 client data: <<"alberto.jpg3051">>
2017-08-16 10:54:47.417 [debug] <0.483.0>@ejabberd_http:process:361 [<<"http-bind">>] matches [<<"http-bind">>]
2017-08-16 10:54:47.417 [debug] <0.483.0>@mod_bosh:process:70 Incoming data: <<"alberto.jpg3051">>
2017-08-16 10:54:47.419 [debug] <0.484.0>@ejabberd_bosh:active:408 got request:
** Request: {body,<<>>,[{sid,<<"474bb8bc0c8f82ce015686c0dd336727c61dd916">>},{rid,2128436137}],[{xmlstreamelement,{xmlel,<<"iq">>,[{<<"xmlns">>,<<"jabber:client">>},{<<"to">>,<<"192.168.101.50">>},{<<"type">>,<<"get">>},{<<"id">>,<<"82c0de12-17b9-45fd-bea4-edeae7e93502:sendIQ">>}],[{xmlel,<<"request">>,[{<<"xmlns">>,<<"urn:xmpp:http:upload">>}],[{xmlel,<<"filename">>,[],[{xmlcdata,<<"alberto.jpg">>}]},{xmlel,<<"size">>,[],[{xmlcdata,<<"3051">>}]}]}]}}],329}
** From: {<0.483.0>,#Ref<0.2955463080.1466171395.159666>}
** State: {state,<<"192.168.101.50">>,,<<"474bb8bc0c8f82ce015686c0dd336727c61dd916">>,{{[],[]},0,unlimited},{{[],[]},0,unlimited},{maxrate,1000,999.5143570897587,1502891659986298},<0.485.0>,<<"1.0">>,undefined,#Ref<0.2955463080.1466171395.159661>,60,30,2128436136,<<>>,undefined,unlimited,{2,{2128436134,{body,<<>>,[],[{xmlstreamelement,{xmlel,<<"iq">>,[{<<"xml:lang">>,<<"en">>},{<<"to">>,<<"2000@192.168.101.50/4955453803431179064100">>},{<<"from">>,<<"kleber@192.168.101.50">>},{<<"type">>,<<"result">>},{<<"id">>,<<"83e4698e-332c-4649-8ca0-71351110c6c2:sendIQ">>}],[{xmlel,<<"vCard">>,[{<<"xmlns">>,<<"vcard-temp">>}],[{xmlel,<<"FN">>,[],[{xmlel,<<"TEXT">>,[],[{xmlcdata,<<"Kleber Santos (Cachorro LouCo)">>}]}]},{xmlel,<<"PHOTO">>,[],[{xmlel,<<"TYPE">>,[],[{xmlcdata,<<"image/png">>}]},{xmlel,<<"BINVAL">>,[],[{xmlcdata,<<"iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAKrWlDQ1BJQ0MgUHJvZmlsZQAASImVlgdUE+kWx7+Z9EZLiHRCb4J0AkivAaR3GyEBEkoIgdDEhiyu4FpQEQEbsgii4FoAsSEWLCyKitgXZBFQ1sUCFlR2gEd4+9557533n3Nnfufmzp07X+Y75w8A+SFbKEyGZQBIEWSIgr1cGZFR0QxcP4AADPBAGtixOelCl8BAP4Bo7vp3TTxAqhHdM57u9e+//1fJcu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lwXnBHCDVkZciRkIlQ19CtoU/C9MPEYe3h0uHLwuvCP0a4R5RE9EUuilwdeStKKYof1RKNiw6ProkeX+qxdNfSwWVWywqXPViutzx7+Y0VSiuSV5xfKb2SvfJkDCYmIuZIzFd2ALuKPR7Liq2MHeO4cXZzXnOduTu5I3EOcSVxQ/EO8SXxwwkOCTsSRnhOvFLeKN+NX85/m+iduD/xY1JA0uGkqeSI5MYUfEpMyhmBnCBJcCVVLTU7tVtoJCwU9qXZpe1KGxP5imrSofTl6S0ZNMTsdIr1x...">>}]}]}]}]}}],...},...}},...}
2017-08-16 10:54:47.419 [debug] <0.484.0>@shaper:update:143 State: {maxrate,1000,999.5143570897587,1502891659986298}, Size=329
M=328.8403010391987, I=27433.187
2017-08-16 10:54:47.420 [debug] <0.485.0>@ejabberd_router:do_route:337 route:
#iq{id = <<"82c0de12-17b9-45fd-bea4-edeae7e93502:sendIQ">>,type = get,
lang = <<"en">>,
from = {jid,<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>,
<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>},
to = {jid,<<>>,<<"192.168.101.50">>,<<>>,<<>>,<<"192.168.101.50">>,<<>>},
sub_els = [{xmlel,<<"request">>,
[{<<"xmlns">>,<<"urn:xmpp:http:upload">>}],
[{xmlel,<<"filename">>,[],
[{xmlcdata,<<"alberto.jpg">>}]},
{xmlel,<<"size">>,[],[{xmlcdata,<<"3051">>}]}]}],
meta = #{ip => {0,0,0,0,0,65535,49320,59198}}}
2017-08-16 10:54:47.421 [debug] <0.484.0>@ejabberd_bosh:do_reply:715 send reply:
** RequestID: 2128436136
** Reply: {body,<<>>,[],[],0}
** To: {<0.486.0>,#Ref<0.2955463080.1466171395.159659>}
** State: {state,<<"192.168.101.50">>,<<"474bb8bc0c8f82ce015686c0dd336727c61dd916">>,{{[],[]},0,unlimited},{{[],[]},0,unlimited},{maxrate,1000,505.75353822599845,1502891687419609},<0.485.0>,<<"1.0">>,#Ref<0.2955463080.1466171395.159667>,undefined,60,30,2128436136,<<>>,undefined,unlimited,{2,{2128436134,{body,<<>>,[],[{xmlstreamelement,{xmlel,<<"iq">>,[{<<"xml:lang">>,<<"en">>},{<<"to">>,<<"2000@192.168.101.50/4955453803431179064100">>},{<<"from">>,<<"kleber@192.168.101.50">>},{<<"type">>,<<"result">>},{<<"id">>,<<"83e4698e-332c-4649-8ca0-71351110c6c2:sendIQ">>}],[{xmlel,<<"vCard">>,[{<<"xmlns">>,<<"vcard-temp">>}],[{xmlel,<<"FN">>,[],[{xmlel,<<"TEXT">>,[],[{xmlcdata,<<"Kleber Santos (Cachorro LouCo)">>}]}]},{xmlel,<<"PHOTO">>,[],[{xmlel,<<"TYPE">>,[],[{xmlcdata,<<"image/png">>}]},{xmlel,<<"BINVAL">>,[],[{xmlcdata,<<"iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAKrWlDQ1BJQ0MgUHJvZmlsZQAASImVlgdUE+kWx7+Z9EZLiHRCb4J0AkivAaR3GyEBEkoIgdDEhiyu4FpQEQEbsgii4FoAsSEWLCyKitgXZBFQ1sUCFlR2gEd4+9557533n3Nnfufmzp07X+Y75w8A+SFbKEyGZQBIEWSIgr1cGZFR0QxcP4AADPBAGtixOelCl8BAP4Bo7vp3TTxAqhHdM57u9e+//1fJcuPSOQBAgQjHctM5KQifQuICRyjKAACFBNDKyhBOcxnCNBEyIMJHpzlhltumOXaW78/UhAa7ITwMAJ7MZosSACB9QPKMTE4C0odMQ9hUwOULEHZH2JHDY3MRLkB4YUpK6jQfR1g/9p/6JPytZ6ykJ5udIOHZd5kR3p2fLkxm5/yfy/G/lZIsnnuGJhJknsg7GLnSkTWrTUr1lbAg1j9gjvncmfoZ5om9w+aYk+4WPcdctrvvHIuTwlzmmC2av5efwQqdY1FqsKS/INnfT9I/jiXhuHSPkDmO53uy5jiXFxoxx5n8cP85Tk8K8Z2vcZPkReJgyczxIk/JO6akz8/GYc8/K4MX6j0/Q6RkHm6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bErmlfq7W2YO3gOq91teuJ65PW/5pvml+S/2FDxIbWAtWCdQUDP3j9UF8oVSgq7N1ov3H/j+gf+T92bbLYtGfT9yJu0c1i0+LS4q+bOZtv/mT2U9lPU1vit3Rttd66bxt2m2Dbg+1O22tLZEtySwZ2LNnRtJOxs2jnh10rd90otSzdv5u4W7y7r8yvrGWP9p5te76W88p7KlwrGitVKjdVftzL3Xt3n/O+hv2q+4v3fznAP/DwoNfBpirdqtJD2EOZh15Wh1d3/Mz8ua5Gqaa45tthweG+2uDaK3U2dXVHVI5srYfrxfUjR5cdvXPM/VhLg3HDwUZ6Y/Fx...">>}]}]}]}]}}],...},...}},...}
2017-08-16 10:54:47.421 [debug] <0.485.0>@ejabberd_local:do_route:256 local route:
#iq{id = <<"82c0de12-17b9-45fd-bea4-edeae7e93502:sendIQ">>,type = get,
lang = <<"en">>,
from = {jid,<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>,
<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>},
to = {jid,<<>>,<<"192.168.101.50">>,<<>>,<<>>,<<"192.168.101.50">>,<<>>},
sub_els = [{xmlel,<<"request">>,
[{<<"xmlns">>,<<"urn:xmpp:http:upload">>}],
[{xmlel,<<"filename">>,[],
[{xmlcdata,<<"alberto.jpg">>}]},
{xmlel,<<"size">>,[],[{xmlcdata,<<"3051">>}]}]}],
meta = #{ip => {0,0,0,0,0,65535,49320,59198}}}
2017-08-16 10:54:47.422 [debug] <0.485.0>@ejabberd_router:do_route:337 route:
#iq{id = <<"82c0de12-17b9-45fd-bea4-edeae7e93502:sendIQ">>,type = error,
lang = <<"en">>,
from = {jid,<<>>,<<"192.168.101.50">>,<<>>,<<>>,<<"192.168.101.50">>,<<>>},
to =
{jid,<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>,
<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>},
sub_els =
[{xmlel,<<"request">>,
[{<<"xmlns">>,<<"urn:xmpp:http:upload">>}],
[{xmlel,<<"filename">>,[],[{xmlcdata,<<"alberto.jpg">>}]},
{xmlel,<<"size">>,[],[{xmlcdata,<<"3051">>}]}]},
#stanza_error{
type = cancel,code = 503,by = <<>>,
reason = 'service-unavailable',
text =
#text{
lang = <<"en">>,
data = <<"No module is handling this query">>},
sub_els = []}],
meta = #{ip => {0,0,0,0,0,65535,49320,59198}}}
2017-08-16 10:54:47.423 [debug] <0.485.0>@ejabberd_local:do_route:256 local route:
#iq{id = <<"82c0de12-17b9-45fd-bea4-edeae7e93502:sendIQ">>,type = error,
lang = <<"en">>,
from = {jid,<<>>,<<"192.168.101.50">>,<<>>,<<>>,<<"192.168.101.50">>,<<>>},
to =
{jid,<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>,
<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>},
sub_els =
[{xmlel,<<"request">>,
[{<<"xmlns">>,<<"urn:xmpp:http:upload">>}],
[{xmlel,<<"filename">>,[],[{xmlcdata,<<"alberto.jpg">>}]},
{xmlel,<<"size">>,[],[{xmlcdata,<<"3051">>}]}]},
#stanza_error{
type = cancel,code = 503,by = <<>>,
reason = 'service-unavailable',
text =
#text{
lang = <<"en">>,
data = <<"No module is handling this query">>},
sub_els = []}],
meta = #{ip => {0,0,0,0,0,65535,49320,59198}}}
2017-08-16 10:54:47.424 [debug] <0.485.0>@ejabberd_sm:do_route:647 processing packet to full JID:
#iq{id = <<"82c0de12-17b9-45fd-bea4-edeae7e93502:sendIQ">>,type = error,
lang = <<"en">>,
from = {jid,<<>>,<<"192.168.101.50">>,<<>>,<<>>,<<"192.168.101.50">>,<<>>},
to =
{jid,<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>,
<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>},
sub_els =
[{xmlel,<<"request">>,
[{<<"xmlns">>,<<"urn:xmpp:http:upload">>}],
[{xmlel,<<"filename">>,[],[{xmlcdata,<<"alberto.jpg">>}]},
{xmlel,<<"size">>,[],[{xmlcdata,<<"3051">>}]}]},
#stanza_error{
type = cancel,code = 503,by = <<>>,
reason = 'service-unavailable',
text =
#text{
lang = <<"en">>,
data = <<"No module is handling this query">>},
sub_els = []}],
meta = #{ip => {0,0,0,0,0,65535,49320,59198}}}
2017-08-16 10:54:47.425 [debug] <0.485.0>@ejabberd_sm:do_route:671 sending to process <0.485.0>:
#iq{id = <<"82c0de12-17b9-45fd-bea4-edeae7e93502:sendIQ">>,type = error,
lang = <<"en">>,
from = {jid,<<>>,<<"192.168.101.50">>,<<>>,<<>>,<<"192.168.101.50">>,<<>>},
to =
{jid,<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>,
<<"2000">>,<<"192.168.101.50">>,<<"4955453803431179064100">>},
sub_els =
[{xmlel,<<"request">>,
[{<<"xmlns">>,<<"urn:xmpp:http:upload">>}],
[{xmlel,<<"filename">>,[],[{xmlcdata,<<"alberto.jpg">>}]},
{xmlel,<<"size">>,[],[{xmlcdata,<<"3051">>}]}]},
#stanza_error{
type = cancel,code = 503,by = <<>>,
reason = 'service-unavailable',
text =
#text{
lang = <<"en">>,
data = <<"No module is handling this query">>},
sub_els = []}],
meta = #{ip => {0,0,0,0,0,65535,49320,59198}}}
2017-08-16 10:54:47.425 [debug] <0.485.0>@mod_client_state:filter_other:267 Won't add stanza for 2000@192.168.101.50/4955453803431179064100 to CSI queue
2017-08-16 10:54:47.426 [debug] <0.485.0>@mod_client_state:dequeue_sender:306 Flushing packets of @192.168.101.50 from CSI queue of 2000@192.168.101.50/4955453803431179064100
2017-08-16 10:54:47.430 [debug] <0.484.0>@ejabberd_bosh:do_reply:715 send reply:
** RequestID: 2128436137
** Reply: {body,<<>>,[],[{xmlstreamelement,{xmlel,<<"iq">>,[{<<"xml:lang">>,<<"en">>},{<<"to">>,<<"2000@192.168.101.50/4955453803431179064100">>},{<<"from">>,<<"192.168.101.50">>},{<<"type">>,<<"error">>},{<<"id">>,<<"82c0de12-17b9-45fd-bea4-edeae7e93502:sendIQ">>}],[{xmlel,<<"request">>,[{<<"xmlns">>,<<"urn:xmpp:http:upload">>}],[{xmlel,<<"filename">>,[],[{xmlcdata,<<"alberto.jpg">>}]},{xmlel,<<"size">>,[],[{xmlcdata,<<"3051">>}]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]},{xmlel,<<"text">>,[{<<"xml:lang">>,<<"en">>},{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[{xmlcdata,<<"No module is handling this query">>}]}]}]}}],0}
** To: {<0.483.0>,#Ref<0.2955463080.1466171395.159666>}
** State: {state,<<"192.168.101.50">>,<<"474bb8bc0c8f82ce015686c0dd336727c61dd916">>,{{[],[]},0,unlimited},{{[],[]},0,unlimited},{maxrate,1000,505.75353822599845,1502891687419609},<0.485.0>,<<"1.0">>,#Ref<0.2955463080.1466171393.159849>,#Ref<0.2955463080.1466171393.159839>,60,30,2128436137,<<>>,undefined,unlimited,{2,{2128436135,{body,<<>>,[],[{xmlstreamelement,{xmlel,<<"iq">>,[{<<"xml:lang">>,<<"en">>},{<<"to">>,<<"2000@192.168.101.50/4955453803431179064100">>},{<<"from">>,<<"junior@192.168.101.50">>},{<<"type">>,<<"result">>},{<<"id">>,<<"8e0ceb76-4f37-44a0-9cd1-59df3b5db11a:sendIQ">>}],[{xmlel,<<"vCard">>,[{<<"xmlns">>,<<"vcard-temp">>}],[{xmlel,<<"PHOTO">>,[],[{xmlel,<<"TYPE">>,[],[{xmlcdata,<<"image/jpeg">>}]},{xmlcdata,<<"\n">>},{xmlel,<<"BINVAL">>,[],[{xmlcdata,<<"/9j/4AAQSkZJRgABAQAASABIAAD/4QBARXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAAD/7QA4UGhv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PMEF0pWFRM/mbiQdv7h/8Eff2a9L+Hvwbg+J/iGxeDxH4strbUrqa+UJcx6d5QNhb7eBEBG7XDxhVKTTyBhuGa/Ab4h+FPhj...">>}]},...]},...]}]}},...],...},...}},...}
2017-08-16 10:54:47.516 [debug] <0.483.0>@ejabberd_http:process_header:274 (#Port<0.13166>) http query: 'OPTIONS' <<"/http-bind/">>
2017-08-16 10:54:47.516 [debug] <0.483.0>@ejabberd_http:process:361 [<<"http-bind">>] matches [<<"http-bind">>]
2017-08-16 10:54:47.521 [debug] <0.483.0>@ejabberd_http:process_header:274 (#Port<0.13166>) http query: 'POST' <<"/http-bind/">>
2017-08-16 10:54:47.522 [debug] <0.483.0>@ejabberd_http:extract_path_query:405 client data: <<"">>
2017-08-16 10:54:47.522 [debug] <0.483.0>@ejabberd_http:process:361 [<<"http-bind">>] matches [<<"http-bind">>]
2017-08-16 10:54:47.522 [debug] <0.483.0>@mod_bosh:process:70 Incoming data: <<"">>
2017-08-16 10:54:47.523 [debug] <0.484.0>@ejabberd_bosh:active:408 got request:
** Request: {body,<<>>,[{sid,<<"474bb8bc0c8f82ce015686c0dd336727c61dd916">>},{rid,2128436138}],[],115}
** From: {<0.483.0>,#Ref<0.2955463080.1466171395.159671>}
** State: {state,<<"192.168.101.50">>,<<"474bb8bc0c8f82ce015686c0dd336727c61dd916">>,{{[],[]},0,unlimited},{{[],[]},0,unlimited},{maxrate,1000,505.75353822599845,1502891687419609},<0.485.0>,<<"1.0">>,#Ref<0.2955463080.1466171393.159849>,#Ref<0.2955463080.1466171393.159839>,60,30,2128436137,<<>>,undefined,unlimited,{2,{2128436136,{body,<<>>,[],[],0},nil,{2128436137,{body,<<>>,[],[{xmlstreamelement,{xmlel,<<"iq">>,[{<<"xml:lang">>,<<"en">>},{<<"to">>,<<"2000@192.168.101.50/4955453803431179064100">>},{<<"from">>,<<"192.168.101.50">>},{<<"type">>,<<"error">>},{<<"id">>,<<"82c0de12-17b9-45fd-bea4-edeae7e93502:sendIQ">>}],[{xmlel,<<"request">>,[{<<"xmlns">>,<<"urn:xmpp:http:upload">>}],[{xmlel,<<"filename">>,[],[{xmlcdata,<<"alberto.jpg">>}]},{xmlel,<<"size">>,[],[{xmlcdata,<<"3051">>}]}]},{xmlel,<<"error">>,[{<<"code">>,<<"503">>},{<<"type">>,<<"cancel">>}],[{xmlel,<<"service-unavailable">>,[{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[]},{xmlel,<<"text">>,[{<<"xml:lang">>,<<"en">>},{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-stanzas">>}],[{xmlcdata,<<"No module is handling this query">>}]}]}]}}],0},nil,nil}}},{0,nil},{{[],[]},0,1000},{{0,0,0,0,0,65535,49320,59198},64067},2}
2017-08-16 10:54:47.523 [debug] <0.484.0>@shaper:update:143 State: {maxrate,1000,505.75353822599845,1502891687419609}, Size=115
M=76.96186870234882, I=103.745

Thanks,

Nivaldo Junior

Hello, Just tested using the

Hello,

Just tested using the Monal client and it worked.
The problem is not at the ejabberd side.

Thanks.

Syndicate content