Code

Opened 23 months ago

Closed 21 months ago

Last modified 21 months 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 aaugustin)

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

Attachments (0)

Change History (2)

comment:1 Changed 21 months ago by aaugustin

  • Description modified (diff)
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to needsinfo
  • Status changed from new to closed

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 Changed 21 months ago by aaugustin

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.