Django local host connection aborted

900 views
Skip to first unread message

yazan bader

unread,
Feb 5, 2020, 7:30:58 AM2/5/20
to Django users

 am having new issue when running Django localhost 127.0.0.1:8000 as connection getting aborted ,this is new for me as I am working with Django from 3 month and cant find solution for it.

below is the Exception i got:

Exception happened during processing of request from ('127.0.0.1', 50501)
Traceback (most recent call last):
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 650, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 720, in __init__
    self.handle()
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\servers\basehttp.py", line 174, in handle
    self.handle_one_request()
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\servers\basehttp.py", line 182, in handle_one_request
    self.raw_requestline = self.rfile.readline(65537)
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\socket.py", line 589, in readinto
    return self._sock.recv_into(b)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

any help pls?

Ayser shuhaib

unread,
Feb 5, 2020, 7:35:21 AM2/5/20
to django...@googlegroups.com
Can you send your settings.py file please.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0812e223-c9ed-4836-856f-1406606f1234%40googlegroups.com.

Jorge Gimeno

unread,
Feb 5, 2020, 11:56:26 AM2/5/20
to django...@googlegroups.com

I vaguely remember having this problem on Windows. Are you able to try to run your project under Python 3.8 and see if that helps?

-Jorge


maninder singh Kumar

unread,
Feb 6, 2020, 3:18:28 AM2/6/20
to django...@googlegroups.com
This is straight of the home page ?
   Is the server running ?
   Do you have the apps installed?
   Any other info you could provide !
 
               
 


--

yazan bader

unread,
Feb 6, 2020, 8:17:01 AM2/6/20
to Django users
well thanks for replying my internet was down, issue solved and its cause one static file with .mp4 type is causing the browsers to block connection i remove it and everything works fine.
To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.

yazan bader

unread,
Feb 6, 2020, 8:18:06 AM2/6/20
to Django users
thanks buddy issue was one of my static files .mp4 video i remove it and everything working ok

On Wednesday, February 5, 2020 at 6:56:26 PM UTC+2, jlgimeno71 wrote:


On Wed, Feb 5, 2020, 4:34 AM Ayser shuhaib <embedde...@gmail.com> wrote:
Can you send your settings.py file please.
On Wed, 05 Feb 2020 at 14:30, yazan bader <baderya...@gmail.com> wrote:

 am having new issue when running Django localhost 127.0.0.1:8000 as connection getting aborted ,this is new for me as I am working with Django from 3 month and cant find solution for it.

below is the Exception i got:

Exception happened during processing of request from ('127.0.0.1', 50501)
Traceback (most recent call last):
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 650, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 720, in __init__
    self.handle()
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\servers\basehttp.py", line 174, in handle
    self.handle_one_request()
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\servers\basehttp.py", line 182, in handle_one_request
    self.raw_requestline = self.rfile.readline(65537)
  File "C:\Users\Yazan Bader\AppData\Local\Programs\Python\Python37\lib\socket.py", line 589, in readinto
    return self._sock.recv_into(b)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

any help pls?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.

yazan bader

unread,
Feb 6, 2020, 8:20:22 AM2/6/20
to Django users
thanks buddy issue was one of my static files .mp4 video i remove it and everything working ok

To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.

Advik charde

unread,
Feb 6, 2020, 9:03:47 AM2/6/20
to django...@googlegroups.com, www...@gmail.com, Advik charde
Swj

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages