jadahl / mod_restful

RESTful interface to ejabberd
84 stars 34 forks source link

401 Unauthorized #22

Closed shan-imagetech closed 10 years ago

shan-imagetech commented 10 years ago

Hi,

No matter what I do, I keep getting the 401 unauthorize error. I did review an earlier reported issue on the same subject and has tried all the tips there.

Following is the issue I can find from the log file.

[error] <0.2921.0> Processing throwed error {badmatch,false} trace: [{mod_restful,handle_request,3,[{file,"src/mod_restful.erl"},{line,179}]},{mod_restful,process,2,[{file,"src/mod_restful.erl"},{line,161}]},{ejabberd_http,process,2,[{file,"src/ejabberd_http.erl"},{line,356}]},{ejabberd_http,process_request,1,[{file,"src/ejabberd_http.erl"},{line,405}]},{ejabberd_http,process_header,2,[{file,"src/ejabberd_http.erl"},{line,288}]},{ejabberd_http,receive_headers,1,[{file,"src/ejabberd_http.erl"},{line,182}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]

Please need some urgent help.

shan-imagetech commented 10 years ago

Got it fixed !