<?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: Sleepy.Mongoose: A MongoDB REST Interface</title>
	<atom:link href="http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/</link>
	<description>Kristina Chodorow&#039;s Blog</description>
	<lastBuildDate>Sat, 04 Feb 2012 07:29:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Zbasmaji</title>
		<link>http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/comment-page-2/#comment-4400</link>
		<dc:creator>Zbasmaji</dc:creator>
		<pubDate>Wed, 04 Jan 2012 19:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=323#comment-4400</guid>
		<description>It is not actually. It happens under load when i run my tests. If I just run it manually, it works. we have set of tests built on sleepymongoose that gets data and then validates against web service response message.</description>
		<content:encoded><![CDATA[<p>It is not actually. It happens under load when i run my tests. If I just run it manually, it works. we have set of tests built on sleepymongoose that gets data and then validates against web service response message.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/comment-page-2/#comment-4399</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 04 Jan 2012 17:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=323#comment-4399</guid>
		<description>Can you file this at https://github.com/kchodorow/sleepy.mongoose/issues? Definitely an issue, someone did some refactoring and broke this.  </description>
		<content:encoded><![CDATA[<p>Can you file this at <a href="https://github.com/kchodorow/sleepy.mongoose/issues?" rel="nofollow">https://github.com/kchodorow/sleepy.mongoose/issues?</a> Definitely an issue, someone did some refactoring and broke this. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boler Guo</title>
		<link>http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/comment-page-2/#comment-4382</link>
		<dc:creator>Boler Guo</dc:creator>
		<pubDate>Wed, 21 Dec 2011 05:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=323#comment-4382</guid>
		<description>Hi kristina,  

The mongodb is stated but - 
C:&gt;curl --data server=localhost:27017 http://localhost:27080/_connect
{&quot;ok&quot; : 0, &quot;errmsg&quot; : &quot;invalid server uri given&quot;, &quot;server&quot; : &quot;localhost:27017&quot;}</description>
		<content:encoded><![CDATA[<p>Hi kristina,  </p>
<p>The mongodb is stated but - <br />
C:&gt;curl &#8211;data server=localhost:27017 <a href="http://localhost:27080/_connect" rel="nofollow">http://localhost:27080/_connect</a><br />
{&#8220;ok&#8221; : 0, &#8220;errmsg&#8221; : &#8220;invalid server uri given&#8221;, &#8220;server&#8221; : &#8220;localhost:27017&#8243;}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/comment-page-2/#comment-4329</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 26 Oct 2011 17:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=323#comment-4329</guid>
		<description>Mostly because I was implementing it as a side project, I&#039;m not very familiar with Python, and I didn&#039;t immediately find examples of how to handle DELETE and PUT with Python&#039;s HTTPServer package.  If I had realized this would be my most popular blog post ever I would have been a lot more careful!</description>
		<content:encoded><![CDATA[<p>Mostly because I was implementing it as a side project, I&#8217;m not very familiar with Python, and I didn&#8217;t immediately find examples of how to handle DELETE and PUT with Python&#8217;s HTTPServer package.  If I had realized this would be my most popular blog post ever I would have been a lot more careful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Svingen</title>
		<link>http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/comment-page-2/#comment-4328</link>
		<dc:creator>Colin Svingen</dc:creator>
		<pubDate>Wed, 26 Oct 2011 17:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=323#comment-4328</guid>
		<description>To get around the cross domain issue, you can proxy sleepy.mongoose through your web server.  I use nginx.  Here is my config:

   location /database/ {
      proxy_pass      http://sleepy;
   }

  upstream sleepy {
    server 127.0.0.1:27080;
  }

Note that nginx and sleepy are on the same server.  Then just use:

  var request = new XMLHttpRequest();  request.open(&#039;GET&#039;, &#039;/database/collection/_find&#039;, true);  ...  var data = JSON.parse(request.responseText)[&#039;results&#039;];</description>
		<content:encoded><![CDATA[<p>To get around the cross domain issue, you can proxy sleepy.mongoose through your web server.  I use nginx.  Here is my config:</p>
<p>   location /database/ {<br />
      proxy_pass      <a href="http://sleepy" rel="nofollow">http://sleepy</a>;<br />
   }</p>
<p>  upstream sleepy {<br />
    server 127.0.0.1:27080;<br />
  }</p>
<p>Note that nginx and sleepy are on the same server.  Then just use:</p>
<p>  var request = new XMLHttpRequest();  request.open(&#8216;GET&#8217;, &#8216;/database/collection/_find&#8217;, true);  &#8230;  var data = JSON.parse(request.responseText)['results'];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Svingen</title>
		<link>http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/comment-page-2/#comment-4327</link>
		<dc:creator>Colin Svingen</dc:creator>
		<pubDate>Wed, 26 Oct 2011 17:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=323#comment-4327</guid>
		<description>Came here to say what he/she said.  HTTP RPC yes.  REST, not so much.  Not sure why not though.</description>
		<content:encoded><![CDATA[<p>Came here to say what he/she said.  HTTP RPC yes.  REST, not so much.  Not sure why not though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/comment-page-2/#comment-4312</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 18 Oct 2011 00:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=323#comment-4312</guid>
		<description>That sounds like MongoDB is closing the connection.  You can probably just retry the operation and it should reconnect.</description>
		<content:encoded><![CDATA[<p>That sounds like MongoDB is closing the connection.  You can probably just retry the operation and it should reconnect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/comment-page-2/#comment-4311</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 18 Oct 2011 00:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=323#comment-4311</guid>
		<description>What argument(s) are you sending to _connect?  It looks like it&#039;s only getting the port.</description>
		<content:encoded><![CDATA[<p>What argument(s) are you sending to _connect?  It looks like it&#8217;s only getting the port.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zohrab</title>
		<link>http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/comment-page-2/#comment-4309</link>
		<dc:creator>Zohrab</dc:creator>
		<pubDate>Fri, 14 Oct 2011 18:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=323#comment-4309</guid>
		<description> Hey Kristina, I am running into this issue when I run sleepymongoose on our rest service calls. Can you help me out please? 



Exception happened during processing of request from
(&#039;10.182.13.108&#039;, 63921)


Traceback (most recent call last):


  File
&quot;/usr/lib64/python2.5/SocketServer.py&quot;, line 222, in handle_request


    self.process_request(request,
client_address)


  File
&quot;/usr/lib64/python2.5/SocketServer.py&quot;, line 241, in process_request


    self.finish_request(request,
client_address)


  File
&quot;/usr/lib64/python2.5/SocketServer.py&quot;, line 254, in finish_request


    self.RequestHandlerClass(request,
client_address, self)


  File
&quot;/usr/lib64/python2.5/SocketServer.py&quot;, line 522, in __init__


    self.handle()


  File
&quot;/usr/lib64/python2.5/BaseHTTPServer.py&quot;, line 316, in handle


    self.handle_one_request()


  File
&quot;/usr/lib64/python2.5/BaseHTTPServer.py&quot;, line 299, in
handle_one_request


    self.raw_requestline =
self.rfile.readline()


  File &quot;/usr/lib64/python2.5/socket.py&quot;, line
346, in readline


    data = self._sock.recv(self._rbufsize)


error: (104, &#039;Connection reset by peer&#039;)</description>
		<content:encoded><![CDATA[<p> Hey Kristina, I am running into this issue when I run sleepymongoose on our rest service calls. Can you help me out please? </p>
<p>Exception happened during processing of request from<br />
(&#8217;10.182.13.108&#8242;, 63921)</p>
<p>Traceback (most recent call last):</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/SocketServer.py&#8221;, line 222, in handle_request</p>
<p>    self.process_request(request,<br />
client_address)</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/SocketServer.py&#8221;, line 241, in process_request</p>
<p>    self.finish_request(request,<br />
client_address)</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/SocketServer.py&#8221;, line 254, in finish_request</p>
<p>    self.RequestHandlerClass(request,<br />
client_address, self)</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/SocketServer.py&#8221;, line 522, in __init__</p>
<p>    self.handle()</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/BaseHTTPServer.py&#8221;, line 316, in handle</p>
<p>    self.handle_one_request()</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/BaseHTTPServer.py&#8221;, line 299, in<br />
handle_one_request</p>
<p>    self.raw_requestline =<br />
self.rfile.readline()</p>
<p>  File &#8220;/usr/lib64/python2.5/socket.py&#8221;, line<br />
346, in readline</p>
<p>    data = self._sock.recv(self._rbufsize)</p>
<p>error: (104, &#8216;Connection reset by peer&#8217;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zohrab</title>
		<link>http://www.snailinaturtleneck.com/blog/2010/02/22/sleepy-mongoose-a-mongodb-rest-interface/comment-page-2/#comment-4308</link>
		<dc:creator>Zohrab</dc:creator>
		<pubDate>Fri, 14 Oct 2011 18:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.snailinaturtleneck.com/blog/?p=323#comment-4308</guid>
		<description>Hi Kristina, I been using sleepymongoose as our rest interface to get data. I am running into this issue. can you help me out?

 

Exception happened during processing of request from
(&#039;10.182.13.108&#039;, 63921)

Traceback (most recent call last):

  File
&quot;/usr/lib64/python2.5/SocketServer.py&quot;, line 222, in handle_request

    self.process_request(request,
client_address)

  File
&quot;/usr/lib64/python2.5/SocketServer.py&quot;, line 241, in process_request

    self.finish_request(request,
client_address)

  File
&quot;/usr/lib64/python2.5/SocketServer.py&quot;, line 254, in finish_request

    self.RequestHandlerClass(request,
client_address, self)

  File
&quot;/usr/lib64/python2.5/SocketServer.py&quot;, line 522, in __init__

    self.handle()

  File
&quot;/usr/lib64/python2.5/BaseHTTPServer.py&quot;, line 316, in handle

    self.handle_one_request()

  File
&quot;/usr/lib64/python2.5/BaseHTTPServer.py&quot;, line 299, in
handle_one_request

    self.raw_requestline =
self.rfile.readline()

  File &quot;/usr/lib64/python2.5/socket.py&quot;, line
346, in readline

    data = self._sock.recv(self._rbufsize)

error: (104, &#039;Connection reset by peer&#039;)</description>
		<content:encoded><![CDATA[<p>Hi Kristina, I been using sleepymongoose as our rest interface to get data. I am running into this issue. can you help me out?</p>
<p> </p>
<p>Exception happened during processing of request from<br />
(&#8217;10.182.13.108&#8242;, 63921)</p>
<p>Traceback (most recent call last):</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/SocketServer.py&#8221;, line 222, in handle_request</p>
<p>    self.process_request(request,<br />
client_address)</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/SocketServer.py&#8221;, line 241, in process_request</p>
<p>    self.finish_request(request,<br />
client_address)</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/SocketServer.py&#8221;, line 254, in finish_request</p>
<p>    self.RequestHandlerClass(request,<br />
client_address, self)</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/SocketServer.py&#8221;, line 522, in __init__</p>
<p>    self.handle()</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/BaseHTTPServer.py&#8221;, line 316, in handle</p>
<p>    self.handle_one_request()</p>
<p>  File<br />
&#8220;/usr/lib64/python2.5/BaseHTTPServer.py&#8221;, line 299, in<br />
handle_one_request</p>
<p>    self.raw_requestline =<br />
self.rfile.readline()</p>
<p>  File &#8220;/usr/lib64/python2.5/socket.py&#8221;, line<br />
346, in readline</p>
<p>    data = self._sock.recv(self._rbufsize)</p>
<p>error: (104, &#8216;Connection reset by peer&#8217;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

