Did anyone ever get to the bottom of this? Having exactly the same problem here.
Local IP address url calls to another server (Windows 2012 R2) from the browser work as expected. Also urls in my desktop browser (via VPN). When I put the url into a scheduled tasks, I just get 401 every time. Any solution would be appreciated. Regards, Allan On Thursday, November 19, 2015 at 4:53:35 AM UTC+1, charlie arehart wrote: > > Sure, that is curious. If you may ever get to the bottom of things, it > would be interesting to hear. Thanks for the update. > > /charlie > > *From:* [email protected] <javascript:> [mailto: > [email protected] <javascript:>] *On Behalf Of *Xiaofeng Liu > *Sent:* Wednesday, November 18, 2015 5:07 PM > *To:* [email protected] <javascript:> > *Subject:* Re: Re[2]: [cfaussie] CF11 Scheduled Task Not Running - 401 > Unauthorized > > > > Hi Charlie, > > > > I originally was using a URL like " > http://localhost:1981/cron/schedTask.cfm" to run the scheduled task. So > that was the URL I specified in CF Admin. That threw 401 to me. > > > > Also I tested from the browser by accessing the same URL which is " > http://localhost:1981/cron/schedTask.cfm" (normal and icognito mode) and > it is working fine. > > > > So now I have to update the URL to use the server's public IP address in > CF Admin and it works. I don't understand why CF running locally on the > same server has to use the external IP, I mean not the localhost to run the > sched task that is also on the same server? Given that localhost is also in > the host file. > > > > Cheers, > > Xiaofeng > > > -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/cfaussie. For more options, visit https://groups.google.com/d/optout.
