First time here? Check out the FAQ!
1

Bug: SocketServer.py timed out errors on console

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
----------------------------------------
brycenesbitt's avatar
131
brycenesbitt
asked 2012-01-25 01:08:39 -0600, updated 2012-01-30 01:53:45 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

You can run development server with werzeug or gunicorn.

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

zheli's avatar
3
zheli
answered 2014-05-15 16:21:06 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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.

Evgeny's avatar
13.2k
Evgeny
answered 2012-01-30 16:07:36 -0600
edit flag offensive 0 remove flag delete link

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's avatar brycenesbitt (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's avatar brycenesbitt (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's avatar esse (2012-11-11 02:13:17 -0600) edit

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

xaph's avatar xaph (2013-04-16 15:56:46 -0600) edit
1

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

Fitoria's avatar Fitoria (2013-04-16 15:59:10 -0600) edit
add a comment see more comments