View Single Post
  #2 (permalink)  
Old September 28th, 2010, 02:26 PM
tiracu tiracu is offline
Registered User
Join Date: Sep 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Looking into it more, I'm starting to think that supports pubsub, but something in the SketchCast code might be wrong.

Here's what SketchCast sends (grabbed from the createiq var just before it's sent, with spacing added for clarity):
<iq to=''
<pubsub xmlns=''>
<create node='ThisIsANodeName'/>
Note I'm sending to rather than; as far as I can tell, this is the right destination. can never be found, pinged, anything.

If I send the above stanza through Peek, I get this:

<iq xmlns='jabber:client'
So that's good news; everything's working. Unfortunately, when SketchCast sends the above, I get "SketchCast configuration failed with service-unavailable". Or if I try a second time with the same node name, "SketchCast configuration failed with conflict".

I looked it up, and 'conflict' seems to mean the node already exists - which suggests that the first time should be successful, and it's throwing the error dialog when it shouldn't be.

Am I mistaken here, or is there something wrong with the SketchCast code?

EDIT: Just to clarify, I'm currently using a radio button input to determine whether the intent is to Publish or Subscribe and entering a node name, rather than try to use instant nodes.