# ERROR bad Request-Line

**URL:** <https://discuss.dradis.com/t/error-bad-request-line/331>\
**Category:** Community Edition\
**Created:** [June 22, 2016, 4:44pm UTC](https://discuss.dradis.com/t/error-bad-request-line/331 "2016-06-22T16:44:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonteale](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/leonteale/32/59_2.png) [@leonteale](https://discuss.dradis.com/u/leonteale)\
**Post date:** [June 22, 2016, 4:44pm UTC](https://discuss.dradis.com/t/error-bad-request-line/331/1 "2016-06-22T16:44:12Z")

</div>

I have just installed dradis on my ubuntu server. but when trying to browse to it it is redirecting me to HTTPS and then i get the below error

[2016-06-22 16:31:14] ERROR bad Request-Line `\x16\x03\x01\x00�\x01\x00\x00�\x03\x03�#�/א�\x0E�X��ɰ\x04;�R�˖�P_��R�e�z�\x00\x00\x1A�+�/̨̩�'. [2016-06-22 16:31:15] ERROR bad Request-Line `\x16\x03\x01\x00�\x01\x00\x00�\x03\x03J$�j�4H��7�\x03I`�QqIA�]\x15&C�E�\x11�v\x00\x00\x1A�+�/̨̩�’.

its a brand new VM i have just created. i have the required nodejs installed

and i have bound the listening address to 0.0.0.0

./dradis-webapp -b 0.0.0.0 && ./dradis-worker

any thoughts how to fix this?

---

<div class="post-metadata">

**Author:** ![etd](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/etd/32/5_2.png) [@etd](https://discuss.dradis.com/u/etd)\
**Post date:** [June 24, 2016, 9:26am UTC](https://discuss.dradis.com/t/error-bad-request-line/331/2 "2016-06-24T09:26:43Z")

</div>

Hi @leonteale,

Yes, I think it’s caused by this line:

> <https://github.com/dradis/dradis-ce/blob/main/config/environments/production.rb#L46>

Which you’ll find in:

`lib/app/config/environments/production.rb`

After toggling the flag, restart the services and you should be good to go.

HTH,  
Daniel

---

<div class="post-metadata">

**Author:** ![leonteale](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/leonteale/32/59_2.png) [@leonteale](https://discuss.dradis.com/u/leonteale)\
**Post date:** [June 24, 2016, 1:21pm UTC](https://discuss.dradis.com/t/error-bad-request-line/331/3 "2016-06-24T13:21:45Z")

</div>

THis worked. sorry it was quite difficult to locate this setting.

thanks!
