feldroy / feldroy/django-crash-course

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

Aberta
#367 3 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Shell
Estrelas
142
Forks
30
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

## 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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.