redirect-http-to-https-site-extension icon indicating copy to clipboard operation
redirect-http-to-https-site-extension copied to clipboard

Site extension NOT working

Open bpasham opened this issue 7 years ago • 9 comments

I installed and restarted - tried several times.. it's not redirecting at all. Since there is nothing more I can configure in the extension, I am posting it as an issue, so tat if you can point to a fix.

Great effort to make such a useful feature simple though.

bpasham avatar Aug 17 '17 12:08 bpasham

filters.Add(new RequireHttpsAttribute()); not working on the site either. https is working fine if I explicitly go there

bpasham avatar Aug 17 '17 13:08 bpasham

+1

farlop avatar Aug 24 '17 11:08 farlop

+1

HerrNiklasRaab avatar Sep 28 '17 20:09 HerrNiklasRaab

Sounds similar to #1 and #2 ... did you fully restart the web app?

https://github.com/projectkudu/kudu/wiki/Azure-Site-Extensions#private-extensions

Also, note that the Restart button on the Site Extension Kudu tab only restarts the scm site (by just killing the process). If your xdt effects the Main site, you will need to either kill the non-Scm w3wp.exe in Kudu's Process Explorer, or fully restart the site from the Azure Portal.

gregjhogan avatar Sep 29 '17 00:09 gregjhogan

This strange, 3 weeks ago this extension seemed to work fine, now it stopped working for me, even after fully restarting the app service...

ziriax avatar Oct 03 '17 17:10 ziriax

I just ran into this as well. I first tried putting these rules into my own applicationHost.xdt which didn't work, and then installed this extension which also didn't work. The end result was I had to move my url rewrite rules back into my web.config.

I asked about this in https://github.com/projectkudu/kudu/issues/2598 but for now I'm moving back to the web.config setup since that does work.

A side note, in my case the rules to remove custom & server headers continue to work in the applicationHost.xdt, it's just the url rewriting that's not.

xt0rted avatar Oct 16 '17 20:10 xt0rted

I believe I may have found the issue. See da5e8b2 for more details. No idea why this suddenly broke!

I pushed out a new version of the site extension. Can you try upgrading it on your site and see if it starts working now?

gregjhogan avatar Oct 22 '17 17:10 gregjhogan

I tried Version 1.0.0 but It Still not working for me as well.

ashwanidv100 avatar Oct 27 '17 20:10 ashwanidv100

I didn't try the new version, but the custom applicationHost.xdt I was trying to use was setup the same way and didn't work either. I originally based my file on the sample from the Kudu wiki.

My testing so far has shown that the rewrite rules are not applied to my site at all. I have multiple copies running in multiple subscriptions and none of them apply the settings from applicationHost.xdt.

I've setup a test site, applied the applicationHost.xdt I linked above, and that works. I've yet to be able to track down what's causing this issue though. I'm hoping to have some time over the weekend to look into this more.

xt0rted avatar Oct 27 '17 20:10 xt0rted