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@myserver">
<query xmlns="jabber:iq:conference">
</query>
</iq>
<iq type='error' id='00000003' to='jens@myserver/Work' from='jens_174129@myserver'>
<query xmlns='jabber:iq:conference'>
</query>
<error code='404'>Not Found</error></iq>
<iq type="set" id="00000004" to="jens_174129@myserver">
<query xmlns="jabber:iq:conference">
<nick>jens</nick>
</query>
</iq>
<iq type='error' id='00000004' to='jens@myserver/Work' from='jens_174129@myserver'>
<query xmlns='jabber:iq:conference'>
<nick>jens</nick>
</query>
<error code='404'>Not Found</error></iq>
�Jens
- Re: [JDEV] Getting a 404 trying to create a chat room with ... Jens Alfke
