After following the instruction from this url 
https://github.com/teddziuba/django-sslserver

When i ran the the script i got this 


PS C:\Users\e\Documents\Projects\Crm> python manage.py runsslserver
Validating models...

System check identified no issues (0 silenced).
September 30, 2021 - 12:30:58
Django version 3.2.7, using settings 'crm.settings'
Starting development server at https://127.0.0.1:8000/
Using SSL certificate: 
C:\Users\e\Documents\Projects\Crm\venv\lib\site-packages\sslserver\certs\development.crt
Using SSL key: 
C:\Users\e\Documents\Projects\Crm\venv\lib\site-packages\sslserver\certs\development.key
Quit the server with CTRL-BREAK.
[30/Sep/2021 12:31:30] "GET / HTTP/1.1" 302 0
[30/Sep/2021 12:31:30] "GET /app/ HTTP/1.1" 404 179


On Thursday, September 30, 2021 at 5:30:43 AM UTC-5 emmanuel odor wrote:

> Bad Request (400)
>
> *Emmanuel Odor*    
>
> Phone: *+234-7037-411553* <+234-7037-411553>
> Mobile: *+234-9 <+234-8093-910965>055511066*
> Skype: *Emmanuel Odo <https://mail.google.com/mail/u/0/>r                
>                                *                                          
>     24 Bajulaiye  Road, Shomolu,                                            
>                                             Lagos State.
>
>
>
> On Thu, Sep 30, 2021 at 11:26 AM emmanuel odor <eod...@gmail.com> wrote:
>
>> I got this Invalid HTTP_HOST header: '127.0.0.1:8000'. You may need to 
>> add '127.0.0.1' to ALLOWED_HOSTS.
>> [30/Sep/2021 11:25:53] "GET / HTTP/1.1" 400 143
>>
>> *Emmanuel Odor*    
>>
>> Phone: *+234-7037-411553* <+234-7037-411553>
>> Mobile: *+234-9 <+234-8093-910965>055511066*
>> Skype: *Emmanuel Odo <https://mail.google.com/mail/u/0/>r                
>>                                *                                        
>>       24 Bajulaiye  Road, Shomolu,                                          
>>                                               Lagos State.
>>
>>
>>
>> On Thu, Sep 30, 2021 at 5:05 AM Adeyemi Deji <adeyem...@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, <eod...@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/
>>>> 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...@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...@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/c1d0deb5-db19-443d-b242-b7c1b0f5d441n%40googlegroups.com.

Reply via email to