Django

Python Django Errno 54 ‘Connection reset by peer’

Pinterest LinkedIn Tumblr

Python Django Errno 54 ‘Connection reset by peer’

I noticed that it was always resetting after not finding a favicon.

Even though I never explicitly loaded one, django appears to try and load a default one from the root of the project.

This doesn’t happen for any of the other devs working on the project.

If anyone else stumbles upon this i used favicon.io to make a simple text one. Then I loaded it into my html like so:

{% load static %}
<!DOCTYPE html>
<html lang="en">

<head>
  <link rel="shortcut icon" href="{% static 'images/favicon.ico' %}" />