﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18746	Django connection is getting lost intermittently while running application	umits2009@…	nobody	"Hi,
I am running my application and when i am clicking on a link to go to next page,it is able to proceed.But majority of the times the connection is getting lost.Because of that the session variables are going out of scope.
The application still continues to run though.
Following are the logs i am getting in the command prompt:
Traceback (most recent call last):
  File ""C:\Python27\lib\wsgiref\handlers.py"", line 86, in run
    self.finish_response()
  File ""C:\Python27\lib\wsgiref\handlers.py"", line 127, in finish_response
    self.write(data)
  File ""C:\Python27\lib\wsgiref\handlers.py"", line 210, in write
    self.send_headers()
  File ""C:\Python27\lib\wsgiref\handlers.py"", line 266, in send_headers
    self.send_preamble()
  File ""C:\Python27\lib\wsgiref\handlers.py"", line 189, in send_preamble
    self._write('HTTP/%s %s\r\n' % (self.http_version,self.status))
  File ""C:\Python27\lib\wsgiref\handlers.py"", line 387, in _write
    self.stdout.write(data)
  File ""C:\Python27\lib\socket.py"", line 322, in write
    self.flush()
  File ""C:\Python27\lib\socket.py"", line 301, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10054] An existing connection was forcibly closed by the remote ho
st
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 64463)
Traceback (most recent call last):
  File ""C:\Python27\lib\SocketServer.py"", line 582, in process_request_thread
    self.finish_request(request, client_address)
  File ""C:\Python27\lib\SocketServer.py"", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File ""C:\Python27\lib\site-packages\django\core\servers\basehttp.py"", line 139
, in __init__
    super(WSGIRequestHandler, self).__init__(*args, **kwargs)
  File ""C:\Python27\lib\SocketServer.py"", line 641, in __init__
    self.finish()
  File ""C:\Python27\lib\SocketServer.py"", line 694, in finish
    self.wfile.flush()
  File ""C:\Python27\lib\socket.py"", line 301, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10054] An existing connection was forcibly closed by the remote ho
st 

Please let me know the solution for this."	Bug	closed	HTTP handling	1.4	Normal	duplicate	django connectivity		Unreviewed	0	0	0	0	0	0
