FYI - Seems to have no effect on that error.  

>From what I see the development server just doesn’t support SSL.

But, here are instructions on setting it up.

https://timonweb.com/django/https-django-development-server-ssl-certificate/ 
<https://timonweb.com/django/https-django-development-server-ssl-certificate/>

I have not yet tested these instructions, and also, I might suggest instead 
taking a look to see if it’s possible to get Let’s Encrypt to work with Django 
dev server?

Actually going further, I see:

https://github.com/teddziuba/django-sslserver 
<https://github.com/teddziuba/django-sslserver>

Which appears to have been updated for Django 3.7 or so, and claims to have no 
outside dependencies, and a bit clearer documentation?
And describes how it could use a Let’s Encrypt key.  

I’m not sure which one I’m going to try…  But it does seem possible that a dev 
server can be updated easily to use SSL.

        - Benjamin



> On Sep 30, 2021, at 6:04 AM, Adeyemi Deji <adeyemide...@gmail.com> wrote:
> 
> Make sure debug is set to True in settings.py file. allowed host should be an 
> empty list
> 
> On Thu, 30 Sep 2021, 10:43 emmanuel odor, <eodo...@gmail.com 
> <mailto:eodo...@gmail.com>> wrote:
> Hi Everyone,
> 
> I tried to run Django micro crm locally on my windows host and  whenever i 
> run this on my browser i get these errors below.
> 
> Starting development server at http://127.0.0.1:8000/ <http://127.0.0.1:8000/>
> Quit the server with CTRL-BREAK.
> [30/Sep/2021 10:40:04] code 400, message Bad request version 
> ('**\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\x93úú\x00\x00\x00\x17\x00\x00ÿ\x01\x
> 00\x01\x00\x00')
> [30/Sep/2021 10:40:04] You're accessing the development server over HTTPS, 
> but it only supports HTTP.
> 
> [30/Sep/2021 10:40:04] code 400, message Bad request version 
> ('úú\x13\x01\x13\x02\x13\x03À+À/À,À0̨̩À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x01\x00\x01\x93ÚÚ\x00\x00\x00\x17\x00\x00ÿ\x01\x
> 00\x01\x00\x00')
> [30/Sep/2021 10:40:04] You're accessing the development server over HTTPS, 
> but it only supports HTTP.
> 
> 
> 
> 
> -- 
> 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 
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/35a1ec5c-3b6e-4a3b-9d10-b3e1f8b48c94n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/django-users/35a1ec5c-3b6e-4a3b-9d10-b3e1f8b48c94n%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 
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAEO1Grojh1%3DVeCxTwFKaFiJrNSgHHJsG4%2BBRdvquw4PqgqSiKg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/django-users/CAEO1Grojh1%3DVeCxTwFKaFiJrNSgHHJsG4%2BBRdvquw4PqgqSiKg%40mail.gmail.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/0F83AD9B-52FA-4C7E-9E8E-1C2A29C6A3AE%40schollnick.net.

Reply via email to