<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title><![CDATA[Sencha Forum - io: Q&A]]></title>
		<link>http://www.sencha.com/forum/</link>
		<description>Get helpful answers from community members using Sencha:io</description>
		<language>en</language>
		<lastBuildDate>Wed, 22 May 2013 15:58:42 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.sencha.com/forum/images/misc/rss.png</url>
			<title><![CDATA[Sencha Forum - io: Q&A]]></title>
			<link>http://www.sencha.com/forum/</link>
		</image>
		<item>
			<title>sencha.io channel example issue</title>
			<link>http://www.sencha.com/forum/showthread.php?264203-sencha.io-channel-example-issue&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 09:00:37 GMT</pubDate>
			<description><![CDATA[Hi all, 
 
I'm totally exhausted :( 
 
I tested sencha.io channel example yesterday and it worked fine! 
 
after that, i tried to extend some things...]]></description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
I'm totally exhausted :(<br />
<br />
I tested sencha.io channel example yesterday and it worked fine!<br />
<br />
after that, i tried to extend some things and the tragic begin :(<br />
<br />
everything was screwed up, so i made a new project over again but still not working!!!<br />
<br />
First, i'll explain the process i've done<br />
<br />
1. make app with sencha cmd - the name is MyApp<br />
<br />
2. copy sencha.io libs in to MyApp/lib/io<br />
<br />
3. copy-pasted the channel example inside lib/io/examples/channels to MyApp<br />
<br />
4. modified the some code inside app.js<br />
<br />
Ext.Loader.setPath({  <br />
    'Ext': './touch/src',<br />
    'Ext.io': 'lib/io/src/io' // my path to io<br />
});<br />
<br />
<br />
<br />
 io: {<br />
        logLevel: &quot;debug&quot;,<br />
        appId:&quot;my appid that i've gernated in sencha website&quot;<br />
       <br />
    }<br />
<br />
<br />
<br />
All done!<br />
<br />
This had worked at the first time!<br />
<br />
But now it doesn't :(<br />
<br />
if device 1 sends hi, device 2 doesn't recives it.<br />
<br />
it only shows the chat that the device itself sent :(<br />
<br />
<br />
oh and the really weird part is, if i restart the app over and over<br />
<br />
sometimes it shows all the chat queue, all of a sudden.<br />
<br />
really strange....<br />
<br />
ofcourse my network status is perfect, and like i said this worked yesterday!!!<br />
<br />
what will be the problem?<br />
<br />
this is the console debugger<br />
<br />
<br />
<span style="font-family: Consolas">EBUG: App has app id, and device id checking cache for objects. 42eb528f-9082-440d-8611-2adea86b3a65 device-6a9905eb-b085-4e1e-954f-1dde92517111 1f0aafc5-a060-4238-a413-99a0c604e749 <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: using cached app and group <br />
<i>Object {<font color="#881391">_key</font>: <font color="#C41A16">&quot;42eb528f-9082-440d-8611-2adea86b3a65&quot;</font>, <font color="#881391">data</font>: Object, <font color="#881391">id</font>: <font color="#C41A16">&quot;42eb528f-9082-440d-8611-2adea86b3a65&quot;</font>, <font color="#881391">logger</font>: Object, <font color="#881391">relatedIds</font>: Object…}</i><br />
<br />
<br />
 <font color="#808080">null</font> <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">INFO: Transport type  auto <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Transport config <br />
<i>objectClass {<font color="#881391">url</font>: <font color="#C41A16">&quot;https://api.sencha.io&quot;</font>, <font color="#881391">deviceId</font>: <font color="#C41A16">&quot;device-6a9905eb-b085-4e1e-954f-1dde92517111&quot;</font>, <font color="#881391">deviceSid</font>: <font color="#C41A16">&quot;1f0aafc5-a060-4238-a413-99a0c604e749&quot;</font>, <font color="#881391">csUrl</font>: <font color="#C41A16">&quot;https://api.sencha.io&quot;</font>, <font color="#881391">logLevel</font>: <font color="#C41A16">&quot;debug&quot;</font>…}</i><br />
<br />
<br />
 <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: AutoTransport starting <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Starting polling transport <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: websocket connecting to wss://api.sencha.io/ws <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Transport Adding listener for service NamingEventService <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Ext.io.Controller setting auth method sio Ext.io.auth.Base <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Ext.io.Controller setting auth method fb Ext.io.auth.Facebook <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Ext.io.Controller setting auth method twitter Ext.io.auth.Twitter <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Ext.io.Controller setting auth method google Ext.io.auth.Google <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Ext.io.Controller setting auth method github Ext.io.auth.Github <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Transport Adding listener for service ChannelService <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Transport.send {&quot;service&quot;:&quot;ChannelService&quot;,&quot;msg&quot;:{&quot;api&quot;:&quot;subscribe&quot;,&quot;queue&quot;:&quot;42eb528f-9082-440d-8611-2adea86b3a65.test&quot;,&quot;qKey&quot;:&quot;8aa72df6-d591-463e-85da-333810ddb5ab&quot;},&quot;sv&quot;:&quot;0.7&quot;,&quot;from&quot;:&quot;device-6a9905eb-b085-4e1e-954f-1dde92517111&quot;,&quot;deviceSid&quot;:&quot;1f0aafc5-a060-4238-a413-99a0c604e749&quot;} <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Added to outgoing queue, will retry delivery later <br />
<i>[Class]</i><br />
<br />
<br />
 <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas"><font color="#ff0000">ERROR: Ext.io.Controller: Cannot login, application does not have a group. </font><a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow"><font color="#ff0000">Logger.js:132</font></a></span><br />
<span style="font-family: Consolas"><font color="#ff0000">DEBUG: bootup request complete </font><br />
<font color="#ff0000"><i>Object {status: &quot;success&quot;, result: Object}</i></font><br />
<br />
<br />
<a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: AutoTransport already started <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: websocket connected <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: websocket _emit <br />
<i>Object {<font color="#881391">id</font>: <font color="#1C00CF">1</font>, <font color="#881391">kind</font>: <font color="#C41A16">&quot;start&quot;</font>, <font color="#881391">data</font>: Object}</i><br />
<br />
<br />
 <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: websocket got <br />
<i>Object {<font color="#881391">kind</font>: <font color="#C41A16">&quot;settings&quot;</font>, <font color="#881391">data</font>: Object}</i><br />
<br />
<br />
 <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: websocket got settings from server <i>Object {<font color="#881391">heartbeatInterval</font>: <font color="#1C00CF">25000</font>, <font color="#881391">heartbeatTimeout</font>: <font color="#1C00CF">60000</font>}</i> <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: websocket got <i>Object {<font color="#881391">id</font>: <font color="#1C00CF">1</font>, <font color="#881391">kind</font>: <font color="#C41A16">&quot;ack&quot;</font>}</i> <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Transport trying redelivery for outgoing envelopes: <font color="#1C00CF">1</font> <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Transport trying redelivery for outgoing envelope: [object Object] <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Outstanding RPC requests <font color="#1C00CF">0</font> <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: AutoTransport: websocket connection established, switching active transport <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Transport: Delivered outgoing envelope on retry <br />
<i>Class {<font color="#881391">modified</font>: Object, <font color="#881391">raw</font>: Object, <font color="#881391">stores</font>: Array[1], <font color="#881391">data</font>: Object, <font color="#881391">_data</font>: Object…}</i><br />
<br />
<br />
 <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: Transport: All queued outgoing messages delivered  <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">sendMessage <a href="http://localhost/MyApp/app/controller/Main.js?_dc=1369212993348" target="_blank" rel="nofollow">Main.js:92</a></span><br />
<span style="font-family: Consolas">DEBUG: Transport.send {&quot;service&quot;:&quot;ChannelService&quot;,&quot;msg&quot;:{&quot;api&quot;:&quot;publish&quot;,&quot;queue&quot;:&quot;42eb528f-9082-440d-8611-2adea86b3a65.test&quot;,&quot;qKey&quot;:&quot;8aa72df6-d591-463e-85da-333810ddb5ab&quot;,&quot;data&quot;:{&quot;message&quot;:&quot;hihihi (17:56:42)&quot;}},&quot;sv&quot;:&quot;0.7&quot;,&quot;from&quot;:&quot;device-6a9905eb-b085-4e1e-954f-1dde92517111&quot;,&quot;deviceSid&quot;:&quot;1f0aafc5-a060-4238-a413-99a0c604e749&quot;} <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: websocket _emit <br />
<i>Object {<font color="#881391">id</font>: <font color="#1C00CF">2</font>, <font color="#881391">kind</font>: <font color="#C41A16">&quot;data&quot;</font>, <font color="#881391">data</font>: Object}</i><br />
<br />
<br />
 <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas">DEBUG: websocket got <br />
<i>Object {<font color="#881391">id</font>: <font color="#1C00CF">2</font>, <font color="#881391">kind</font>: <font color="#C41A16">&quot;ack&quot;</font>, <font color="#881391">data</font>: Object}</i><br />
<br />
<br />
 <a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow">Logger.js:132</a></span><br />
<span style="font-family: Consolas"><font color="#ff0000">publish callback <i>[null]</i> </font><a href="http://localhost/MyApp/app/controller/Main.js?_dc=1369212993348" target="_blank" rel="nofollow">Main.js:106</a></span><br />
<br />
<br />
I colored the lines that i think it is important.<br />
<br />
I dont know that i had this error before, but now i can see this.<br />
<br />
<font color="#FF0000"><span style="font-family: Consolas">ERROR: Ext.io.Controller: Cannot login, application does not have a group. </span></font><span style="font-family: Consolas"><a href="http://localhost/MyApp/lib/io/src/cf/util/Logger.js?_dc=1369212993487" target="_blank" rel="nofollow"><font color="#FF0000">Logger.js:132<br />
<br />
<br />
</font></a></span><br />
<br />
<font color="#FF0000"><span style="font-family: Consolas">publish callback <i>[null]</i></span></font><font color="#FF0000"><span style="font-family: Consolas"> <br />
</span></font><br />
and this, i can assume the chat server doesn't send the msg to the recievers.<br />
<br />
<br />
Can you help me with this?<br />
<br />
Thank you!<br />
<br />
<br />
==========================================<br />
<br />
OK now i got this sencha.io is very unstable.<br />
<br />
<a href="http://www.sencha.com/forum/attachment.php?attachmentid=43924"  title="Name:  
Views: 
Size:  ">Attachment 43924</a><br />
<br />
as you can see, sometime it gets msg, sometime it doesn't......</div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/jpg.gif" alt="File Type: jpg" />
	<a href="http://www.sencha.com/forum/attachment.php?attachmentid=43924&amp;d=1369215117">11111.jpg&lrm;</a> 
(77.5 KB)
</li> 
			</ul>
			</fieldset>
	

	

	</div>
 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?96-io-Q-amp-A"><![CDATA[io: Q&A]]></category>
			<dc:creator>gigas01</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?264203-sencha.io-channel-example-issue</guid>
		</item>
		<item>
			<title>Accessing Socket.io from a Node JS server</title>
			<link>http://www.sencha.com/forum/showthread.php?262003-Accessing-Socket.io-from-a-Node-JS-server&amp;goto=newpost</link>
			<pubDate>Tue, 23 Apr 2013 04:32:22 GMT</pubDate>
			<description><![CDATA[The particular application I'm working on is going to require importing some data on a server running Node JS and then piping it through to the...]]></description>
			<content:encoded><![CDATA[<div>The particular application I'm working on is going to require importing some data on a server running Node JS and then piping it through to the Socket.io data store.<br />
<br />
My hunch is that it would be technically possible to access the socket.io data from a server running Node since it seems to just be a layer between Socket.io and the Sencha data model. <br />
<br />
I'm wondering if it is possible to do?<br />
 <br />
Does anyone have an example of how sending data to Sencha.io from the server-side would be done?</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?96-io-Q-amp-A"><![CDATA[io: Q&A]]></category>
			<dc:creator>tysoncadenhead</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?262003-Accessing-Socket.io-from-a-Node-JS-server</guid>
		</item>
	</channel>
</rss>
