Python Django Errno 54 ‘Connection reset by peer’

FFS… so dumb. I noticed that it was always resetting after not finding a favicon so I added one… 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 either. weird.
(For completeness) 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="https://stackoverflow.com/questions/57261024/{% static"images/favicon.ico' %}" />
...

Be sure to set your static path correctly in settings.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)