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
----------------------------------------

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
brycenesbitt's avatar
131
brycenesbitt
asked 13 years ago, updated 13 years ago

Comments

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
zheli's avatar
3
zheli
answered 10 years ago
link

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago
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 (13 years ago)

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 (13 years ago)

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 (12 years ago)

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

xaph's avatar xaph (12 years ago)
1

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

Fitoria's avatar Fitoria (12 years ago)
see more comments