[ejabberd] http_bind BAD REQUEST

straightflush at gmail.com straightflush at gmail.com
Wed Aug 12 04:44:56 MSD 2009


seeing this error when trying http_bind

config file has :

 {5280, ejabberd_http,    [http_bind, {request_handlers,
[{["http-bind"], mod_http_bind}]}]}

 {mod_vcard,    []},
  {mod_http_bind, []},
  {mod_version,  []}
.......


SNIFF TRACE:

OPTIONS /http-bind/ HTTP/1.1
Host: example.org:5280
Access-Control-Request-Method: POST
Origin: http://example.org
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_7; en-us)
AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19
Content-Type: application/xml
Referer: http://example.org/strophe/basic.html
Access-Control-Request-Headers: Content-Type
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Cookie: __unam=9a43afc-1229ad2ff32-6f6ff114-10;
jiveforums.admin.logviewer=debug.size=0&info.size=0&warn.size=0&error.size=0
Content-Length: 0
Connection: keep-alive

HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=utf-8
Content-Length: 336

<?xml version='1.0'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"><head><meta http-equiv="Content-Type" content="text/html;
charset=utf-8"/></head><body><h1>400 Bad Request</h1></body></html>

Any ideas ?  This is ejabberd 2.0.5

AD


More information about the ejabberd mailing list