Python Django Errno 54 'Connection reset by peer'

前端 未结 4 1507
失恋的感觉
失恋的感觉 2021-01-07 18:32

Having some trouble debugging this. I get this error always when i first start my app up, then intermittently thereafter. Could someone please help me by throwing out some d

4条回答
  •  时光说笑
    2021-01-07 19:04

    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 %}
    
    
    
    
      
    ...
    

    Be sure to set your static path correctly in settings.

提交回复
热议问题