Web API and https timeout

2015-08-07 Thread Greg Keogh
Folks, I've put a Web API project (created by the VS2015 Framework 4.5
wizard) on my server. I've got two applications pointing to the folder with
the app files, one site is http scheme and the other site has a certificate
for https. The app responds and works okay with http, but it times out for
https.

http://www.gregsite.com.au/myapp/v3/blah?p=glop (works)
https://www.gregsite.net.au/myapp/v3/blah?p=glop (times out)

I'm quite disappointed, and I can't find any special config settings or
other tricks and web searches don't help as usual so far. Anyone got a clue?

*Greg K*


Re: Web API and https timeout

2015-08-07 Thread Bec C
Does the https one work on its own (http one removed or disabled)?

On Fri, Aug 7, 2015 at 4:30 PM, Greg Keogh gfke...@gmail.com wrote:

 Folks, I've put a Web API project (created by the VS2015 Framework 4.5
 wizard) on my server. I've got two applications pointing to the folder with
 the app files, one site is http scheme and the other site has a certificate
 for https. The app responds and works okay with http, but it times out for
 https.

 http://www.gregsite.com.au/myapp/v3/blah?p=glop (works)
 https://www.gregsite.net.au/myapp/v3/blah?p=glop (times out)

 I'm quite disappointed, and I can't find any special config settings or
 other tricks and web searches don't help as usual so far. Anyone got a clue?

 *Greg K*



Re: Web API and https timeout

2015-08-07 Thread Bec C
On Fri, Aug 7, 2015 at 5:19 PM, Greg Keogh gfke...@gmail.com wrote:

 Does the https one work on its own (http one removed or disabled)?


 They are completely independent, in different sites and different app
 pools, they only share the executable files folder (and I know the
 permissions are okay). The https one times out under all experiments I've
 run so far. I'm really surprised because REST style services and projects
 are relatively simple compared to WCF services where I've previously had to
 tweak the config file for https or http (which took hours of research!). I
 expected it to just GO! -- *GK*


I'd just start with the https one alone and get that working just to ensure
it has nothing to do with the sharing of files. If it doesn't work alone
then https isn't configured correctly. Sorry not clear if you've already
tried this.
Also I think there is a enableSSL or similar somewhere in the project
properties in case you've missed it.


Re: Web API and https timeout

2015-08-07 Thread Greg Keogh
OK FOLKS! Those of you who are sys admins don't laugh at what I just found,
by accidentally noticing that all of my web sites where slowly vanishing
throughout the afternoon...

Around 11am this morning I finished migrating 6 of my domains from one
provider to another. I set the DNS A records for all domains to point to my
home server's IP address. However, I transposed two digits of the address
and as a result, all domains slowly vanished as the records were propagated
around the globe. That's certainly why my https test failed, then an hour
later the http test failed (as the domain vanished).

At 17:30 all my domains were invisible, so I just put the correct IP back
in all of them. Now I wait and maybe later tonight I'll find that my REST
API is working as I originally expected.

Amazing eh?! -- *Greg K*

On 7 August 2015 at 17:35, Bec C bec.usern...@gmail.com wrote:


 On Fri, Aug 7, 2015 at 5:19 PM, Greg Keogh gfke...@gmail.com wrote:

 Does the https one work on its own (http one removed or disabled)?


 They are completely independent, in different sites and different app
 pools, they only share the executable files folder (and I know the
 permissions are okay). The https one times out under all experiments I've
 run so far. I'm really surprised because REST style services and projects
 are relatively simple compared to WCF services where I've previously had to
 tweak the config file for https or http (which took hours of research!). I
 expected it to just GO! -- *GK*


 I'd just start with the https one alone and get that working just to
 ensure it has nothing to do with the sharing of files. If it doesn't work
 alone then https isn't configured correctly. Sorry not clear if you've
 already tried this.
 Also I think there is a enableSSL or similar somewhere in the project
 properties in case you've missed it.



Re: Web API and https timeout

2015-08-07 Thread Bec C
Haha classic

On Friday, 7 August 2015, Greg Keogh gfke...@gmail.com wrote:

 OK FOLKS! Those of you who are sys admins don't laugh at what I just
 found, by accidentally noticing that all of my web sites where slowly
 vanishing throughout the afternoon...

 Around 11am this morning I finished migrating 6 of my domains from one
 provider to another. I set the DNS A records for all domains to point to my
 home server's IP address. However, I transposed two digits of the address
 and as a result, all domains slowly vanished as the records were propagated
 around the globe. That's certainly why my https test failed, then an hour
 later the http test failed (as the domain vanished).

 At 17:30 all my domains were invisible, so I just put the correct IP back
 in all of them. Now I wait and maybe later tonight I'll find that my REST
 API is working as I originally expected.

 Amazing eh?! -- *Greg K*

 On 7 August 2015 at 17:35, Bec C bec.usern...@gmail.com
 javascript:_e(%7B%7D,'cvml','bec.usern...@gmail.com'); wrote:


 On Fri, Aug 7, 2015 at 5:19 PM, Greg Keogh gfke...@gmail.com
 javascript:_e(%7B%7D,'cvml','gfke...@gmail.com'); wrote:

 Does the https one work on its own (http one removed or disabled)?


 They are completely independent, in different sites and different app
 pools, they only share the executable files folder (and I know the
 permissions are okay). The https one times out under all experiments I've
 run so far. I'm really surprised because REST style services and projects
 are relatively simple compared to WCF services where I've previously had to
 tweak the config file for https or http (which took hours of research!). I
 expected it to just GO! -- *GK*


 I'd just start with the https one alone and get that working just to
 ensure it has nothing to do with the sharing of files. If it doesn't work
 alone then https isn't configured correctly. Sorry not clear if you've
 already tried this.
 Also I think there is a enableSSL or similar somewhere in the project
 properties in case you've missed it.





Re: Web API and https timeout

2015-08-07 Thread Greg Keogh

 Does the https one work on its own (http one removed or disabled)?


They are completely independent, in different sites and different app
pools, they only share the executable files folder (and I know the
permissions are okay). The https one times out under all experiments I've
run so far. I'm really surprised because REST style services and projects
are relatively simple compared to WCF services where I've previously had to
tweak the config file for https or http (which took hours of research!). I
expected it to just GO! -- *GK*


[OT] Preparing Windows 10

2015-08-07 Thread Greg Keogh
This is a Friday thing, but for your possible amusement ... I installed
Windows 10 retail (inside Parallels on a Mac) and I'm trying to use it in
anger for the first time. The first things I did were to disable Windows
Defender, uninstall Flash, unpin or uninstall weather, news, email,
contacts, store, photos, music, pictures (and others I forget). So after
using group policy editor, regedit, elevated command lines, etc I finally
stripped Windows 10 back to a typical development machine. Weirdly enough,
by the time I cleaned up the Start Menu of junk it was empty ... there are
no coloured tiles on my Start fly-out as they were all utterly useless.
What a shame, as I suppose whole departments of people went into designing
and implementing it -- *Greg*