# HTTP to HTTPS redirection

**URL:** <https://internals.rust-lang.org/t/http-to-https-redirection/3591>\
**Category:** meta\
**Created:** [June 10, 2016, 1:50pm UTC](https://internals.rust-lang.org/t/http-to-https-redirection/3591 "2016-06-10T13:50:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanxiyn](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/sanxiyn/32/8824_2.png) [@sanxiyn](https://internals.rust-lang.org/u/sanxiyn)\
**Post date:** [June 10, 2016, 1:50pm UTC](https://internals.rust-lang.org/t/http-to-https-redirection/3591/1 "2016-06-10T13:50:04Z")

</div>

[http://internals.rust-lang.org/](http://internals.rust-lang.org/) does not redirect to [https://internals.rust-lang.org/](https://internals.rust-lang.org/) at the moment. (But [users.rust-lang.org](http://users.rust-lang.org) does redirect.) I think this is recent, but perhaps not.

If you try GitHub login on HTTP, you get “Sorry, there was an error authorizing your account. Perhaps you did not approve authorization?”, probably because URL does not match GitHub OAuth authorization.

---

<div class="post-metadata">

**Author:** ![brson](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/brson/32/5197_2.png) [@brson](https://internals.rust-lang.org/u/brson)\
**Post date:** [June 10, 2016, 5:58pm UTC](https://internals.rust-lang.org/t/http-to-https-redirection/3591/2 "2016-06-10T17:58:57Z")

</div>

I see all the things you describe too when not logged in.

When I’m already logged in it does redirect though.

Maybe @neil can help us understand what’s going on.

---

<div class="post-metadata">

**Author:** ![neil](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/neil/32/2_2.png) [@neil](https://internals.rust-lang.org/u/neil)\
**Post date:** [June 13, 2016, 4:08pm UTC](https://internals.rust-lang.org/t/http-to-https-redirection/3591/3 "2016-06-13T16:08:25Z")

</div>

I think I fixed the problem. It should always be redirecting to https now.

---

<div class="post-metadata">

**Author:** ![brson](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/brson/32/5197_2.png) [@brson](https://internals.rust-lang.org/u/brson)\
**Post date:** [June 14, 2016, 8:04am UTC](https://internals.rust-lang.org/t/http-to-https-redirection/3591/4 "2016-06-14T08:04:02Z")

</div>

wfm. Thanks @neil!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [March 25, 2019, 8:26am UTC](https://internals.rust-lang.org/t/http-to-https-redirection/3591/5 "2019-03-25T08:26:19Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
