<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Using BOSH Service with CUPS 9</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7948549" />
  <subtitle>Using BOSH Service with CUPS 9</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=7948549</id>
  <updated>2013-05-22T16:46:11Z</updated>
  <dc:date>2013-05-22T16:46:11Z</dc:date>
  <entry>
    <title>Using BOSH Service with CUPS 9</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7948548" />
    <author>
      <name>Alex Vishnev</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7948548</id>
    <updated>2012-10-23T00:17:02Z</updated>
    <published>2012-10-23T00:17:02Z</published>
    <summary type="html">I was trying to work with CAXL API using BOSH service while waiting for RESTfull interface. I downloaded CAXL API and tried to work with samples as my first step.

I was playing with sampleclient demo and setup the configuration of BOSH service inside   sampleclient.html in the CAXL download as
var demo_config = {
    domain: "xxx.com",
    maxGraphAge: 5,
    unsecureAllowed: false,
    atSymbolAllowed: false,
    logPersistence: false,
    serviceDiscoveryEnabled: true,
    httpBindingURL: "http://10.1.12.212:7335/httpbinding",
    httpBindingURL_secondary: "http://10.1.12.212:7335/httpbinding"
};

When I enter the same credentials as I do with Jabber, i get the following on the screen. So it appears that service is not working or I am not using it properly. I think one


Log    08:17:56:692    User home node is : undefined
Log    08:17:56:698    _connectSecondaryBindingURL= false
Log    08:17:56:700    Stored home node is : null
Log    08:17:56:702    Stored backup node is : null
Log    08:17:56:704    _connectToNode node is : null
Log    08:17:56:707    Initializing candidate nodes array.
Log    08:17:56:709    Cross site is true.
Log    08:17:56:712    Update _connectToNode = 10.1.12.212
Log    08:17:56:713    Bosh URL is: http://10.1.12.212:7335/httpbinding
Log    08:17:56:807    network timeout retry 1
Log    08:17:57:414    network timeout retry 2
Log    08:17:58:008    network timeout retry 3
Log    08:17:58:620    [Console] Stream closedwith error:Operation failed (&lt;stream:error xmlns:stream="http://etherx.jabber.org/streams"&gt;&lt;xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/&gt;&lt;/stream:error&gt;)
Log    08:17:58:623    closed: &lt;stream:error xmlns:stream="http://etherx.jabber.org/streams"&gt;&lt;xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/&gt;&lt;/stream:error&gt;
Log    08:17:58:625    Failed to connect to SD-Primary Node, binding URL =http://10.1.12.212:7335/httpbinding, and now try the SD-Secondary Node binding URL=http://10.1.12.212:7335/httpbinding
Log    08:17:58:629    Cross site is true.
Log    08:17:58:631    Update _connectToNode = 10.1.12.212
Log    08:17:58:633    Bosh URL is: http://10.1.12.212:7335/httpbinding
Log    08:17:58:728    network timeout retry 1
Log    08:17:59:330    network timeout retry 2
Log    08:17:59:933    network timeout retry 3
Log    08:18:00:544    [Console] Stream closedwith error:Operation failed (&lt;stream:error xmlns:stream="http://etherx.jabber.org/streams"&gt;&lt;xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/&gt;&lt;/stream:error&gt;)
Log    08:18:00:548    closed: &lt;stream:error xmlns:stream="http://etherx.jabber.org/streams"&gt;&lt;xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/&gt;&lt;/stream:error&gt;</summary>
    <dc:creator>Alex Vishnev</dc:creator>
    <dc:date>2012-10-23T00:17:02Z</dc:date>
  </entry>
</feed>

