Ask Your Question
1

Bug: SocketServer.py timed out errors on console

asked 2012-01-25 01:08:39 -0600

brycenesbitt gravatar image

updated 2012-01-30 01:53:45 -0600

When running askbot, I get the dozens of the following. What's up?

[25/Jan/2012 01:06:18] "GET /m/common/media/js/wmd/images/wmd-buttons.png HTTP/1.1" 200 11480
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 37436)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/bnesbitt/PycharmProjects/virtualenvs/dj13/local/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 570, in __init__
    BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
  File "/usr/lib/python2.7/SocketServer.py", line 639, in __init__
    self.handle()
  File "/home/bnesbitt/PycharmProjects/virtualenvs/dj13/local/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 610, in handle
    self.raw_requestline = self.rfile.readline()
  File "/usr/lib/python2.7/socket.py", line 447, in readline
    data = self._sock.recv(self._rbufsize)
timeout: timed out
----------------------------------------
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-05-15 16:21:06 -0600

zheli gravatar image

You can run development server with werzeug or gunicorn.

http://stackoverflow.com/questions/9097058/django-runserver-keeps-timing-out-on-osx-lion

edit flag offensive delete link more
0

answered 2012-01-30 16:07:36 -0600

Evgeny gravatar image

I've never seen these appearing in the production logs, so we are not particularly worried about this issue.

If we find a solution, we'll use it in the code.

edit flag offensive delete link more

Comments

I get it everywhere I run askbot. It appears in the console or on the command line that started askbot -- not the askbot logs.

brycenesbitt gravatar imagebrycenesbitt ( 2012-02-29 01:10:33 -0600 )edit

I get it everywhere I run askbot. It appears in the console or on the command line that started askbot -- not the askbot logs.

brycenesbitt gravatar imagebrycenesbitt ( 2012-02-29 01:10:35 -0600 )edit

I am having the same issue while running it through django server, have not tried to deploy it yet. I am running this on Ubuntu 12.04 with python 2.7.3 and have tried it with both Django 1.3.1 and 1.3.4 and get the same errors.

esse gravatar imageesse ( 2012-11-11 02:13:17 -0600 )edit

I am also having this issue with ubuntu 12.04 & python 2.7

xaph gravatar imagexaph ( 2013-04-16 15:56:46 -0600 )edit
1

This issue happens only with the Django runserver command, nothing to worry about.

Fitoria gravatar imageFitoria ( 2013-04-16 15:59:10 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-01-25 01:08:39 -0600

Seen: 809 times

Last updated: May 15 '14