On Wed, Mar 9, 2011 at 11:19 AM, balu <[email protected]> wrote:
> Hi all :)
>
> I'm trying to include a video into my webpage. The page is loading
> fine and the video I embedded is playing properly.
>
> But... after loading of page, the server unexpectedly stopped working
> and it is showing an error message as below. From then it is not
> serving the requests. Please let me know how to handle this.
>

The django dev server only supports one single connection. Once you
are streaming a video to your browser, that is your single connection,
and any further connections will time out.

In your dev server log you have a number of errors:

error: [Errno 104] Connection reset by peer
  The browser on the other end reset the connection - it got tired of waiting

error: [Errno 32] Broken pipe
  The webserver tried to write to a client that had disconnected

These are to be expected in this sort of scenario. If you want to
support this sort of architecture, use a different hosting solution
for development, eg mod_wsgi, mod_fastcgi etc.

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to