# Typo or Rails HTTPS =\> HTTP...:443 bug

**URL:** <https://www.ruby-forum.com/t/typo-or-rails-https-http-443-bug/48717>\
**Category:** Rails\
**Created:** [November 23, 2005, 8:12pm UTC](https://www.ruby-forum.com/t/typo-or-rails-https-http-443-bug/48717 "2005-11-23T20:12:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aca169/32.png) [@jamie](https://www.ruby-forum.com/u/jamie)\
**Post date:** [November 23, 2005, 8:12pm UTC](https://www.ruby-forum.com/t/typo-or-rails-https-http-443-bug/48717/1 "2005-11-23T20:12:24Z")

</div>

I recently upgraded to the latest Rails and Typo. Now when I am in  
the admin section of Typo and I submit a form I often get this error:

Bad Request

Your browser sent a request that this server could not understand.  
Reason: You’re speaking plain HTTP to an SSL-enabled server port.  
Instead use the HTTPS scheme to access this URL, please.

Hint: [https://www.example.com/](https://www.example.com/)

I was on this page:  
[https://blog.dang.us/admin/categories/list](https://blog.dang.us/admin/categories/list)

and ended up on this:  
[http://blog.dang.us:443/admin/categories/list](http://blog.dang.us:443/admin/categories/list)

What’s happened is that somewhere in the request, “https” has been  
changed to “http” and the port number 443 has been appended to the  
server address.

I’ve started poking around in the code, but wonder if anyone else has  
encountered this or knows if a fix is already in the works.

Thanks,

Jamie O-H  
[http://blog.dangdev.com](http://blog.dangdev.com)

---

<div class="post-metadata">

**Author:** ![jamie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aca169/32.png) [@jamie](https://www.ruby-forum.com/u/jamie)\
**Post date:** [November 24, 2005, 1:15am UTC](https://www.ruby-forum.com/t/typo-or-rails-https-http-443-bug/48717/2 "2005-11-24T01:15:11Z")

</div>

As a follow-up, I also noticed that if I enter one of my blog’s posts  
using HTTPS, the trackback URL is of the wrong form. Have a look:

[https://blog.dangdev.com/articles/2005/11/22/using-active-record-to-](https://blog.dangdev.com/articles/2005/11/22/using-active-record-to-)  
test-a-sql-server-legacy-db-connection

here’s a tiny url version:  
[http://tinyurl.com/736c9](http://tinyurl.com/736c9)

Jamie
