[JDEV] Getting a 404 trying to create a chat room with jabber:iq:conference
Jens Alfke
jens at mac.com
Wed May 16 13:37:32 CDT 2001
Still working on implementing chat. Since the 1.4 server how-to document
insists that generic conferencing is implemented via conference.so,
that's what I'm implementing. This is a straight 1.4.1 server and
conference.so running on Solaris with no special setup beyond what's
given in the how-to docs.
Unfortunately when trying to create a new chat room I get an error 404
("not found") back from the server. I'm sending an IQ "set" with the
jabber:iq:conference namespace to create the room, as described in the
Generic Conferencing document. According to the docs, even if the server
doesn't allow creating rooms, it should return 405 instead.
Below is a literal transcript of what's happening. I first query the
room to make sure it doesn't already exist, then when I get the expected
404 I create the room, which results in an unexpected 404. This is
copied directly from my client's XML transcript window, except I've
replaced the actual server address with "myserver". The blue italic
stuff is what my client sends, the black regular text is the server's
reply.
Any suggestions or ideas?
<iq type="get" id="00000003" to="jens_174129 at myserver">
<query xmlns="jabber:iq:conference">
</query>
</iq>
<iq type='error' id='00000003' to='jens at myserver/Work'
from='jens_174129 at myserver'>
<query xmlns='jabber:iq:conference'>
</query>
<error code='404'>Not Found</error></iq>
<iq type="set" id="00000004" to="jens_174129 at myserver">
<query xmlns="jabber:iq:conference">
<nick>jens</nick>
</query>
</iq>
<iq type='error' id='00000004' to='jens at myserver/Work'
from='jens_174129 at myserver'>
<query xmlns='jabber:iq:conference'>
<nick>jens</nick>
</query>
<error code='404'>Not Found</error></iq>
—Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2243 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20010516/94990981/attachment-0002.bin>
More information about the JDev
mailing list