This is probably this error: https://github.com/django/asgiref/issues/251#issuecomment-814337170 - I'm going to switch the error to a warning and we'll see if that helps, then Daphne can have a fix added at a non-emergency pace.
Andrew On Tue, Apr 6, 2021, at 12:19 PM, kradem wrote: > Not sure if I understand you, I'm getting an server error in my browser with > rendered as quoted in the first post here with the following body: > > <html> <head> <title>500 Internal Server Error</title> <style> body { > font-family: sans-serif; margin: 0; padding: 0; } h1 { padding: 0.6em 0 > 0.2em 20px; color: #896868; margin: 0; } p { padding: 0 0 0.3em 20px; > margin: 0; } footer { padding: 1em 0 0.3em 20px; color: #999; font-size: > 80%; font-style: italic; } </style> </head> <body> <h1>500 Internal Server > Error</h1> <p>Exception inside application.</p> <footer>Daphne</footer> > </body> </html> > And as raw: > > HTTP/1.1 500 Internal Server Error > Transfer-Encoding: chunked > Content-Type: text/html; charset=utf-8 > > Dana utorak, 6. travnja 2021. u 18:26:34 UTC+2 korisnik Andrew Godwin napisao > je: >> __ >> The tracebacks are there somewhere, you might have to look at the raw HTTP >> response in the browser to see them. >> >> Andrew >> >> On Tue, Apr 6, 2021, at 10:18 AM, kradem wrote: >>> I'm afraid a "success" was caused by the browser cache or something >>> similar, the 3.3.3 version doesn't fix my problem. :( >>> >>> > Could you get the traceback out of Django that's causing the 500 error >>> > and post it here? >>> >>> That was - kind of - my initial question, the only output I can get is the >>> message from the first post and Django's output like: >>> >>> HTTP GET /static/css/style.css 500 [0.35, 127.0.0.1:37982] >>> HTTP GET /static/js/jquery-2.2.4.min.js 500 [0.35, 127.0.0.1:37988] >>> >>> Dana utorak, 6. travnja 2021. u 18:09:33 UTC+2 korisnik Andrew Godwin >>> napisao je: >>>> __ >>>> Aha, glad to hear it! My apologies that we didn't catch that one before >>>> release yesterday. >>>> >>>> Andrew >>>> >>>> On Tue, Apr 6, 2021, at 10:01 AM, kradem wrote: >>>>> Stop the press!! The 3.3.3 version is published in PyPi and after >>>>> installing it it all works well! :) >>>>> >>>>> Thank you! >>>>> Dana utorak, 6. travnja 2021. u 17:56:44 UTC+2 korisnik kradem napisao je: >>>>>> Thank you very much for a quick response. >>>>>> >>>>>> Yes, that's the problem: >>>>>> >>>>>> asgiref 3.3.2 >>>>>> >>>>>> When I downgrade it to 3.3.1 Django complains ("django 3.2 requires >>>>>> asgiref<4,>=3.3.2, but you have asgiref 3.3.1 which is incompatible."), >>>>>> but static files are served well. >>>>>> >>>>>> I tried with the very last version 3.3.3 (-e >>>>>> git+https://github.com/django/asgiref.git#egg=asgiref), but problem >>>>>> hasn't been fixed that way. >>>>>> >>>>>> >>>>>> Dana utorak, 6. travnja 2021. u 17:46:31 UTC+2 korisnik Andrew Godwin >>>>>> napisao je: >>>>>>> __ >>>>>>> This may be related to https://github.com/django/asgiref/issues/251 - >>>>>>> what version of asgiref are you running? >>>>>>> >>>>>>> Andrew >>>>>>> >>>>>>> On Tue, Apr 6, 2021, at 9:43 AM, kradem wrote: >>>>>>>> > 500 Internal Server Error >>>>>>>> > Exception inside application. >>>>>>>> > Daphne >>>>>>>> >>>>>>>> This error raises every time a file from static folder is accessed. >>>>>>>> >>>>>>>> What would be a proper way for debugging this? I've got "justMyCode": >>>>>>>> false setting in VS Code and that doesn't catch anything. >>>>>>>> >>>>>>>> Python 3.9.2 >>>>>>>> >>>>>>>> channels 3.0.3 >>>>>>>> daphne 3.0.1 >>>>>>>> Django 3.2 >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Django users" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>>>>> an email to django-users...@googlegroups.com. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/django-users/9db2fc19-e87c-4a69-ab9e-6c53ec56d6fcn%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/django-users/9db2fc19-e87c-4a69-ab9e-6c53ec56d6fcn%40googlegroups.com?utm_medium=email&utm_source=footer>. >>>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google Groups >>>>> "Django users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send an >>>>> email to django-users...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/django-users/bd27e80e-de40-4dfd-b215-7855f537b191n%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/django-users/bd27e80e-de40-4dfd-b215-7855f537b191n%40googlegroups.com?utm_medium=email&utm_source=footer>. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to django-users...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/7a5a269b-9099-4bbf-af72-65b6c77bb511n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/django-users/7a5a269b-9099-4bbf-af72-65b6c77bb511n%40googlegroups.com?utm_medium=email&utm_source=footer>. >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/16996aec-33cb-4e3e-972b-effed440bed9n%40googlegroups.com > > <https://groups.google.com/d/msgid/django-users/16996aec-33cb-4e3e-972b-effed440bed9n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7a70710c-fffc-4b71-9720-7628a81a44ff%40www.fastmail.com.