【问题标题】:how can fixed this problem: ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine如何解决此问题: ConnectionAbortedError: [WinError 10053] 已建立的连接已被主机中的软件中止
【发布时间】:2020-05-22 01:24:38
【问题描述】:

安装 django 后何时开始在http://127.0.0.1:8000/ 浏览,然后此按摩将显示在 powershell 中。

Exception happened during processing of request from ('127.0.0.1', 3575)
[06/Feb/2020 09:48:03] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1" 200 85876
[06/Feb/2020 09:48:03] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1" 200 85692
[06/Feb/2020 09:48:03] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1" 200 86184
Traceback (most recent call last):
  File "c:\users\fuel\appdata\local\programs\python\python38\Lib\socketserver.py", line 650, in process_request_thread
    self.finish_request(request, client_address)
  File "c:\users\fuel\appdata\local\programs\python\python38\Lib\socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "c:\users\fuel\appdata\local\programs\python\python38\Lib\socketserver.py", line 720, in __init__
    self.handle()
  File "C:\Users\Fuel\.virtualenvs\sample-DQH4k00R\lib\site-packages\django\core\servers\basehttp.py", line 174, in handle
    self.handle_one_request()
  File "C:\Users\Fuel\.virtualenvs\sample-DQH4k00R\lib\site-packages\django\core\servers\basehttp.py", line 182, in handle_one_request
    self.raw_requestline = self.rfile.readline(65537)
  File "c:\users\fuel\appdata\local\programs\python\python38\Lib\socket.py", line 669, in readinto
    return self._sock.recv_into(b)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

这是照片: ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

我该如何解决?

【问题讨论】:

    标签: python django hosting


    【解决方案1】:

    我在另一个堆栈溢出链接上找到了this 链接,您是否可能使用过时的 Python 版本?据python's bugs website报道,它已于 2019 年 7 月 22 日修复

    【讨论】:

      猜你喜欢
      • 2019-01-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-12
      • 2021-02-02
      • 2019-06-25
      • 1970-01-01
      • 2021-11-12
      相关资源
      最近更新 更多