<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Websockets tutorial/example with pywebsocket</title>
	<atom:link href="http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/feed/" rel="self" type="application/rss+xml" />
	<link>http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/</link>
	<description>Thoughts on technology, skydiving, life, and the universe...</description>
	<lastBuildDate>Wed, 04 Jan 2012 17:34:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: nocivus</title>
		<link>http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/comment-page-1/#comment-27632</link>
		<dc:creator>nocivus</dc:creator>
		<pubDate>Wed, 23 Nov 2011 11:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://diffract.me/?p=634#comment-27632</guid>
		<description>Sorry Andy, unfortunately i haven&#039;t had time to explore pywebsocket further :(                  Hope you manage to find a solution!                  Cheers,--Pedro Assunção                                     &lt;p style=&quot;color: #A0A0A8;&quot;&gt; </description>
		<content:encoded><![CDATA[<p>Sorry Andy, unfortunately i haven&#039;t had time to explore pywebsocket further <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />                   Hope you manage to find a solution!                  Cheers,&#8211;Pedro Assunção                                     &lt;p style=&#8221;color: #A0A0A8;&#8221;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nervebox</title>
		<link>http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/comment-page-1/#comment-27319</link>
		<dc:creator>nervebox</dc:creator>
		<pubDate>Sun, 20 Nov 2011 22:20:37 +0000</pubDate>
		<guid isPermaLink="false">http://diffract.me/?p=634#comment-27319</guid>
		<description>I&#039;ve been trying to get around the same error message.  I&#039;ve checked every aspect of my Apache conf many times already.  And I still get this error when trying to connect the websocket in the litechat.html example. 
 
 
[Sun Nov 20 17:08:47 2011] [info] [client 127.0.0.1] No handler for resource: &#039;/pub/litechat/do&#039; 
[Sun Nov 20 17:08:47 2011] [info] [client 127.0.0.1] Fallback to Apache 
[Sun Nov 20 17:08:47 2011] [error] [client 127.0.0.1] File does not exist:  
 
Did you find a way around this? </description>
		<content:encoded><![CDATA[<p>I&#039;ve been trying to get around the same error message.  I&#039;ve checked every aspect of my Apache conf many times already.  And I still get this error when trying to connect the websocket in the litechat.html example. </p>
<p>[Sun Nov 20 17:08:47 2011] [info] [client 127.0.0.1] No handler for resource: &#039;/pub/litechat/do&#039;<br />
[Sun Nov 20 17:08:47 2011] [info] [client 127.0.0.1] Fallback to Apache<br />
[Sun Nov 20 17:08:47 2011] [error] [client 127.0.0.1] File does not exist:  </p>
<p>Did you find a way around this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nocivus</title>
		<link>http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/comment-page-1/#comment-11473</link>
		<dc:creator>nocivus</dc:creator>
		<pubDate>Tue, 12 Apr 2011 17:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://diffract.me/?p=634#comment-11473</guid>
		<description>Hi Nick, 
 
I would suggest looking into what is available inside the &quot;request&quot; object that is passed to the web_socket_transfer_data function. You can do that by adding &quot;print dir(request)&quot; as the first line of the method. I&#039;m sure you might find interesting information in there. 
 
Even if you don&#039;t, i can imagine you could maintain a list of &quot;request&quot; objects - global to that python module - and use that to communicate with all clients that have ever sent anything to the server. 
 
Hope it helps. </description>
		<content:encoded><![CDATA[<p>Hi Nick, </p>
<p>I would suggest looking into what is available inside the &quot;request&quot; object that is passed to the web_socket_transfer_data function. You can do that by adding &quot;print dir(request)&quot; as the first line of the method. I&#039;m sure you might find interesting information in there. </p>
<p>Even if you don&#039;t, i can imagine you could maintain a list of &quot;request&quot; objects &#8211; global to that python module &#8211; and use that to communicate with all clients that have ever sent anything to the server. </p>
<p>Hope it helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/comment-page-1/#comment-11427</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Tue, 12 Apr 2011 02:20:43 +0000</pubDate>
		<guid isPermaLink="false">http://diffract.me/?p=634#comment-11427</guid>
		<description>Do you know if there&#039;s any way to get a list of all websocket connections currently on the pywebsocket server? I&#039;m trying to have all connected users have access to one file, and when the file is updated, I&#039;d like the server to notify all users of the update. This means I need that list!! haha 
 
thank you :) </description>
		<content:encoded><![CDATA[<p>Do you know if there&#039;s any way to get a list of all websocket connections currently on the pywebsocket server? I&#039;m trying to have all connected users have access to one file, and when the file is updated, I&#039;d like the server to notify all users of the update. This means I need that list!! haha </p>
<p>thank you <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tautvis</title>
		<link>http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/comment-page-1/#comment-8619</link>
		<dc:creator>Tautvis</dc:creator>
		<pubDate>Thu, 03 Feb 2011 11:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://diffract.me/?p=634#comment-8619</guid>
		<description>I think you have wrong python version. Try it with 2.6.5</description>
		<content:encoded><![CDATA[<p>I think you have wrong python version. Try it with 2.6.5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nocivus</title>
		<link>http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/comment-page-1/#comment-7912</link>
		<dc:creator>nocivus</dc:creator>
		<pubDate>Fri, 10 Dec 2010 20:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://diffract.me/?p=634#comment-7912</guid>
		<description>No idea, sorry. And unfortunately i don&#039;t have time to dig into it. Been super busy lately with other projects :( </description>
		<content:encoded><![CDATA[<p>No idea, sorry. And unfortunately i don&#039;t have time to dig into it. Been super busy lately with other projects <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: goldalworming</title>
		<link>http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/comment-page-1/#comment-7417</link>
		<dc:creator>goldalworming</dc:creator>
		<pubDate>Wed, 24 Nov 2010 08:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://diffract.me/?p=634#comment-7417</guid>
		<description>yes, i have change it before with from hashlib import md5 
 
then the   
[2010-11-24 14:32:44,273] [ERROR] mod_pywebsocket.handshake: Handshake error: Header Upgrade is not defined erorr appear 
 
then i use 
sudo python standalone.py --allow-draft75 -p 9998 -w ..... 
(from &lt;a href=&quot;http://code.google.com/p/websocket-sample/updates/list&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/websocket-sample/updates...&lt;/a&gt; ) 
 
but a new error shown 
[2010-11-24 14:49:24,517] [ERROR] mod_pywebsocket.handshake: Handshake error: Sec-WebSocket-Key1 not found 
[2010-11-24 14:49:24,517] [WARNING] mod_pywebsocket.handshake: fallback to old protocol 
[2010-11-24 14:49:24,517] [WARNING] root: mod_pywebsocket: No handler for: &#039;/pub/litechat/do&#039; 
 
do you have any idea?? </description>
		<content:encoded><![CDATA[<p>yes, i have change it before with from hashlib import md5 </p>
<p>then the<br />
[2010-11-24 14:32:44,273] [ERROR] mod_pywebsocket.handshake: Handshake error: Header Upgrade is not defined erorr appear </p>
<p>then i use<br />
sudo python standalone.py &#8211;allow-draft75 -p 9998 -w &#8230;..<br />
(from <a href="http://code.google.com/p/websocket-sample/updates/list" rel="nofollow">http://code.google.com/p/websocket-sample/updates&#8230;</a> ) </p>
<p>but a new error shown<br />
[2010-11-24 14:49:24,517] [ERROR] mod_pywebsocket.handshake: Handshake error: Sec-WebSocket-Key1 not found<br />
[2010-11-24 14:49:24,517] [WARNING] mod_pywebsocket.handshake: fallback to old protocol<br />
[2010-11-24 14:49:24,517] [WARNING] root: mod_pywebsocket: No handler for: &#039;/pub/litechat/do&#039; </p>
<p>do you have any idea??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nocivus</title>
		<link>http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/comment-page-1/#comment-7408</link>
		<dc:creator>nocivus</dc:creator>
		<pubDate>Tue, 23 Nov 2010 17:26:58 +0000</pubDate>
		<guid isPermaLink="false">http://diffract.me/?p=634#comment-7408</guid>
		<description>My quick guess is that the hashlib library will now provide the md5 (and other algorithms&#039;) methods. Do a google search on hashlib and find the appropriate replacement calls for what is being done with the md5 library. </description>
		<content:encoded><![CDATA[<p>My quick guess is that the hashlib library will now provide the md5 (and other algorithms&#039;) methods. Do a google search on hashlib and find the appropriate replacement calls for what is being done with the md5 library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: goldalworming</title>
		<link>http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/comment-page-1/#comment-7407</link>
		<dc:creator>goldalworming</dc:creator>
		<pubDate>Tue, 23 Nov 2010 17:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://diffract.me/?p=634#comment-7407</guid>
		<description>when i tried the code, i got an error  
first :  
DeprecationWarning: the md5 module is deprecated; use hashlib instead 
  from md5 import md5 
 
[2010-11-24 00:18:35,082] [ERROR] mod_pywebsocket.handshake: Handshake error: Header Upgrade is not defined 
 
how to fix it?? </description>
		<content:encoded><![CDATA[<p>when i tried the code, i got an error<br />
first :<br />
DeprecationWarning: the md5 module is deprecated; use hashlib instead<br />
  from md5 import md5 </p>
<p>[2010-11-24 00:18:35,082] [ERROR] mod_pywebsocket.handshake: Handshake error: Header Upgrade is not defined </p>
<p>how to fix it??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nocivus</title>
		<link>http://pedroassuncao.com/2009/12/websockets-tutorialexample-with-pywebsocket/comment-page-1/#comment-6542</link>
		<dc:creator>nocivus</dc:creator>
		<pubDate>Wed, 20 Oct 2010 08:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://diffract.me/?p=634#comment-6542</guid>
		<description>I did try it myself, when i wrote the post but it&#039;s probable that - in the meantime - some things have changed. 
 
Thanks for the update :) </description>
		<content:encoded><![CDATA[<p>I did try it myself, when i wrote the post but it&#039;s probable that &#8211; in the meantime &#8211; some things have changed. </p>
<p>Thanks for the update <img src='http://pedroassuncao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

