logo

The ConnectWise Control forum has moved to ConnectWise University! This forum has been locked and is in read-only mode. Click here for instructions on how to access the new forum.

Welcome Guest! You can not login or register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Mick  
#1 Posted : Friday, January 11, 2019 5:21:54 AM(UTC)
Mick


Rank: Guest

Joined: 1/11/2019(UTC)
Posts: 4
Australia
Location: Townsville

I followed the advice in this post to expose SC running on the default ports via IIS.

Everything works with the exception of login, which times out and returns a 502 error.

Browsing to "https://support.mydomain.com" times out at login.

Browsing to "https://support.mydomain.com:8040" works fine for login.

Once authorised, browsing to "https://support.mydomain.com" works perfectly.

I've tried disabling SSL to simplify the situation but it didn't help with the login time out.

Support told me this was possible but it's not a supported configuration and to ask on the forum.

I have fiddler logs and FRT logs but they're not helping. They do show the rewrites are working but I don't see a response from SC, just the 502 error from IIS.

Does anyone have any suggestions? I'm a little lost.

Mick  
#2 Posted : Sunday, January 13, 2019 7:46:04 AM(UTC)
Mick


Rank: Guest

Joined: 1/11/2019(UTC)
Posts: 4
Australia
Location: Townsville

I never got authentication or downloads to work using the IIS reverse proxy rewrite rules. I had to append port 8040 to the url and bypass IIS for those to work. I'm not entirely convinced it can be done.

After days and days of frustration and it almost but not quite working, I switched to the SSL piggy back technique. Up and running in ten minutes with added bonus of removing port 8040.

I use 301 redirects for "http(s)://support.mydomain.com" and "http://mydomain.com/support" -> "https://mydomain.com/support"

The only change to the web.config is this line. Don't forget the trailing slash.

<add key="WebServerListenUri" value="https://mydomain.com/support/" />

I still needed the bindings and SSL certificate for the subdomain but only to support the original url redirects.

Edited by user Sunday, January 13, 2019 7:49:39 AM(UTC)  | Reason: grammar

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.