Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#18865 closed Bug (needsinfo)

Django connection getting lost in Interner Explorer

Reported by: umits2009@… Owned by: nobody
Component: Uncategorized Version: 1.4
Severity: Normal Keywords: Django, Internet Explorer
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Aymeric Augustin)

Hi Team,

I ran into an issue while running my application.The connection between django and server is getting lost while I am clicking on a hyperlink.Because of this,session variables are getting out of scope.I am using Django 1.4.Python 2.7.
This issue is coming only for IE.I tried in IE8 and IE9.
PFB the logs for the same:

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', 60681)
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

Thanks,
Umit

Change History (2)

comment:1 by Aymeric Augustin, 12 years ago

Description: modified (diff)
Resolution: needsinfo
Status: newclosed

Fixed formatting (please use preview).


This traceback shows that Internet Explorer is closing the connection. This can happen for a variety of reasons, many of which are unrelated to Django.

Note that the backtrace is fully in Python's standard library. The only frame in Django is django.core.server.basehttp, a thin wrapper around Python's wsgiref module.

I suggest using the support channels and opening a ticket only when you have evidence of a bug in Django. Thanks!

comment:2 by Aymeric Augustin, 12 years ago

I just noticed that you posted the exact same bug report some time ago in #18746.

Don't do that, it's a waste of time for everyone.

Note: See TracTickets for help on using tickets.
Back to Top