RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Charlie Arehart
Xiaofeng, when a sched task won’t work but the URL works in a browser, it’s nearly always an issue of the URL being behind a form of authentication that CF can’t support (as a scheduled task or CFHTTP call) but the browser can. As for why it could “no problem” from the browser, it’s usually

[cfaussie] [ANN SYD] Mon 30 Nov: Docker In Depth with Geoff Bowers

2015-11-16 Thread Chris Velevitch
Monday, 30th November, meet at 6pm for 6:30 start (note: the building is locked at 6:30pm) Presenter: Geoff Bowers is the owner of Daemon and President of the Lucee Association Switzerland Geoff will give us an in depth look at Docker and Tutum. Tutum has recently been acquired by Docker.

Re: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Xiaofeng Liu
Hi Charlie, Thanks for offering the tips of testing from "incognito and private window". I tried both and both of them did not prompt me for authentication. So I am able to run the scheduled task even from there without problem. Back to IIS, from the Basic Settings I can see the site is using

Re: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Xiaofeng Liu
Thanks again for all these thoughts. *For C)*, I'm running exactly the same URL from a browser (Chrome) on the server running CF 11 - Production Secure Profile and also tried the Icognito window without any issue. But by clicking the 'Run (play)' button next to the scheduled task in CF admin it

Re: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Xiaofeng Liu
Hi Mark, Thanks for the thoughts. I checked web.config and it does not have the requestFiltering section. Cheers, Xiaofeng On Tue, Nov 17, 2015 at 1:33 PM, Mark King wrote: > Is it possible IIS is blocking requests from unknown user agents? > > > > See >

RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Charlie Arehart
That’s good outside-the-box thinking, there, Mark. :-) That said, I’d note that if Request Filtering were blocking it, it would provide a 404 instead (typically), so I doubt it will be that (he had said he was seeing a 401 in the CF http log), but he should certainly check that and think of

RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Charlie Arehart
Well, I have four thoughts for you to consider: A) Focusing on it first as a scheduled task in CF, if the request works from a browser (including one like an incognito window) and yet it does not work in the scheduled task mechanism—for the exact same URL—then I would think there should be no

RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Mark King
Is it possible IIS is blocking requests from unknown user agents? See http://www.dantor.com/support/misc/web-config-requestFiltering-user-agent.aspx I doubt that is it but it is worth a look maybe. Also what happens if you give the app pool identity full control in IIS (temporarily

RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Charlie Arehart
Sure, and thanks for the confirmation on C. And yes, on D. Though do beware that with IIS 7 and above, when a site points to a webroot, it reads and uses any web.config there for the setup of various IIS settings. So if you create a new site and point to the same webroot, and there is a

RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Charlie Arehart
Do beware that (as I hinted at in my last note, though written after this one), it’s NOT only the web.config that could have request filtering settings for a site. They may also be in the central applicationhost.config file, either at the site level there, or up at the server level (therefore