feldroy / feldroy/django-crash-course

Exception happened during processing of request from ('127.0.0.1', 54766)

未關閉
#367 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Shell
星號
142
分支
30
PR 合併指標
30 天內沒有已合併 PR

描述

## Location within the Book

* Book order number: 11172
* Book build date (Is the date on page 1):BETA CCD-2020-09-16

Daniel Feldroy, Audrey Feldroy. Django Crash Course (Kindle Location 7).
* Book format (PDF, Epub or Mobi): kindle
* Chapter or Appendix: Chapter 22
* Section: 22.1
* Subsection:
* What operating system are you using:

- [x ] MacOS Catalina

Hint: Page numbers change all the time. The best way to report an issue is by chapter, section, and subsection numbers.

## Description

The server stops and starts and I believe is the reason I am not seeing my activation code for signing up a user.

output:

> Exception happened during processing of request from ('127.0.0.1', 54766)
Traceback (most recent call last):
File "/Users/andrewgellene/opt/miniconda3/envs/everycheese/lib/python3.8/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/Users/andrewgellene/opt/miniconda3/envs/everycheese/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/Users/andrewgellene/opt/miniconda3/envs/everycheese/lib/python3.8/socketserver.py", line 720, in __init__
self.handle()
File "/Users/andrewgellene/opt/miniconda3/envs/everycheese/lib/python3.8/site-packages/django/core/servers/basehttp.py", line 174, in handle
self.handle_one_request()
File "/Users/andrewgellene/opt/miniconda3/envs/everycheese/lib/python3.8/site-packages/django/core/servers/basehttp.py", line 182, in handle_one_request
self.raw_requestline = self.rfile.readline(65537)
File "/Users/andrewgellene/opt/miniconda3/envs/everycheese/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 54] Connection reset by peer

however the page is still up:

![image](https://user-images.githubusercontent.com/17893/99761506-4389e800-2ac4-11eb-8774-f8275845bf59.png)

if you click on the home link the server comes back:

> [20/Nov/2020 05:05:52] "GET / HTTP/1.1" 200 14179
[20/Nov/2020 05:05:52] "GET /static/js/project.js HTTP/1.1" 304 0
[20/Nov/2020 05:05:52] "GET /static/css/project.css HTTP/1.1" 304 0
[20/Nov/2020 05:05:52] "GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 304 0
[20/Nov/2020 05:05:53] "GET /static/debug_toolbar/img/ajax-loader.gif HTTP/1.1" 304 0
[20/Nov/2020 05:05:53] "GET /static/debug_toolbar/js/toolbar.js HTTP/1.1" 304 0
[20/Nov/2020 05:05:53] "GET /static/debug_toolbar/css/print.css HTTP/1.1" 304 0
[20/Nov/2020 05:05:54] "GET /about/ HTTP/1.1" 200 14206
[20/Nov/2020 05:05:54] "GET /static/js/project.js HTTP/1.1" 304 0
[20/Nov/2020 05:05:54] "GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 304 0
[20/Nov/2020 05:05:54] "GET /static/css/project.css HTTP/1.1" 304 0
[20/Nov/2020 05:05:54] "GET /static/debug_toolbar/js/toolbar.js HTTP/1.1" 304 0
[20/Nov/2020 05:05:54] "GET /static/debug_toolbar/img/ajax-loader.gif HTTP/1.1" 304 0
[20/Nov/2020 05:05:54] "GET /static/debug_toolbar/css/print.css HTTP/1.1" 304 0
[20/Nov/2020 05:05:56] "GET / HTTP/1.1" 200 14181
[20/Nov/2020 05:05:56] "GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 304 0
[20/Nov/2020 05:05:56] "GET /static/css/project.css HTTP/1.1" 304 0
[20/Nov/2020 05:05:56] "GET /static/js/project.js HTTP/1.1" 304 0
[20/Nov/2020 05:05:56] "GET /static/debug_toolbar/img/ajax-loader.gif HTTP/1.1" 304 0
[20/Nov/2020 05:05:56] "GET /static/debug_toolbar/js/toolbar.js HTTP/1.1" 304 0
[20/Nov/2020 05:05:56] "GET /static/debug_toolbar/css/print.css HTTP/1.1" 304 0

## Possible Solutions
Restarted mac and terminals and now I get the email for signup. Not sure what the issue was but the server seems steady now.
## Your full name so we can provide accurate credit within the book
d

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。